EmbeddedRelated.com
Memfault Beyond the Launch

how to interface servo motors with lpc2129

Started by aki_...@yahoo.com in LPC200013 years ago 1 reply

hi...can i get some tutorials on interfacing servo motors with lpc2129 using "PWM"... as i m new to tihs field... can i get some sample code to...

hi...can i get some tutorials on interfacing servo motors with lpc2129 using "PWM"... as i m new to tihs field... can i get some sample code to set the PWM for lpc2129 in C.i m using keil uvison3. ------------------------------------


interfacing qwerty keyboard with lpc2129

Started by aki_...@yahoo.com in LPC200013 years ago 6 replies

can anyone help me to get started with interfacing a qwerty keyboard with lpc2129..the development board being used is the lpc2129 kit by...

can anyone help me to get started with interfacing a qwerty keyboard with lpc2129..the development board being used is the lpc2129 kit by NSK.please provide me with some tutorials or related information on this..or some sample codes...and i am using KEIL UVISION 3. ------------------------------------


sample code to interface 128*64 glcd with lpc2129

Started by aki_...@yahoo.com in LPC200013 years ago 2 replies

hi everyone.. i have a problem with interfacing jhd128*64 glcd with lpc2129.i am using keil uvision3 and it does not provide any inbuilt...

hi everyone.. i have a problem with interfacing jhd128*64 glcd with lpc2129.i am using keil uvision3 and it does not provide any inbuilt libraries to interface glcd. can anybody tell me from where can i download this graphic.h header file or inbuilt libraries which supports the interfacing of glcd.. or please provide me a sample code to interface glcd. ------------------------------------


Driver CAN problem olimex LPC2129

Started by zied130187 in LPC200013 years ago 10 replies

after, i have connected : PIN2 CAN1(DB9) to PIN2 CAN2(DB9) and PIN7 CAN1(DB9) to PIN7 CAN2(DB9) i have tested this driver CAN to send data...

after, i have connected : PIN2 CAN1(DB9) to PIN2 CAN2(DB9) and PIN7 CAN1(DB9) to PIN7 CAN2(DB9) i have tested this driver CAN to send data from CAN2 to CAN1 but i don't receive the CAN frame and the program don't enter on the interrupt RXCAN. thank you to help me , to found the problem. in my kit the quartz is 14,7456 MHz i have used 14,7456*(3/4) = 11,0592 MHz to have the error ...


CAN1 to CAN2 interfacing olimex LPC2129

Started by zied130187 in LPC200013 years ago 8 replies

hello, i want to interface the port CAN1(DB9) to port CAN2(DB9) in my kit olimex P2129. thank you to give the number of pins to...

hello, i want to interface the port CAN1(DB9) to port CAN2(DB9) in my kit olimex P2129. thank you to give the number of pins to connect ------------------------------------


LPc2129: UART at a baud of 115200

Started by NARAYANA in LPC200013 years ago 3 replies

HI, I am new to LPC2129, Is it possible to communicate thourgh serial i.e UART at a baud of 1,15,200. I have connected 12Mhz crystal to LPC2129...

HI, I am new to LPC2129, Is it possible to communicate thourgh serial i.e UART at a baud of 1,15,200. I have connected 12Mhz crystal to LPC2129 device. I have searched in our yahoo group, but i could not find any sample code at a baud of 1,15,200. Could please share some sample code for this, if you have any!!! or please guide me how to this using above crystal. I am interested with thi...


LPC2129 CAN bitrate calculation problem

Started by zied130187 in LPC200013 years ago 4 replies

i have found this example of CAN bitrate calculation : CAN clock setting for 100 usec CLK = 14745600 (VPBDIV=0) -> PCLK = CLK/4 ...

i have found this example of CAN bitrate calculation : CAN clock setting for 100 usec CLK = 14745600 (VPBDIV=0) -> PCLK = CLK/4 Example BRP = 0x16 =22 SJW = 0 TSEG1 = 0xC=12 TSEG2 = 1 (BRP+1) * ( (SJW+1)+(TSEG1+1)+(TSEG2+1) ) BIT = ------------------------------------------- PCLK 23 * ( 1+13+2 ) 23*16


problem communication UART LPC2129 to LM400 bluetooth

Started by zied130187 in LPC200013 years ago 37 replies

hello , my friends i have a problem to communicate with LM400 module bluetooth. i have a development kit olimex with MCU LPC2129. i want to...

hello , my friends i have a problem to communicate with LM400 module bluetooth. i have a development kit olimex with MCU LPC2129. i want to send command "AT\r" to test the communication with LM400. i use UART interface to communicate with the module bluetooth. baud rate 19200, 1 bit stop , no parity frequency clock : 14,7456 Mhz CCLK = 58,P824 Mhz PCLK = 14,7456 Mhz divisor bau...


problem UART - LPC2129 - kit olimex

Started by zied130187 in LPC200013 years ago 10 replies

hello, when i send data in U0THR U0THR = 0x41; printf ("U0THR = %X\n",U0THR); IAR display U0THR = FF why U0THR have FF value...

hello, when i send data in U0THR U0THR = 0x41; printf ("U0THR = %X\n",U0THR); IAR display U0THR = FF why U0THR have FF value and don't have 41 value ? this is function of initialization of UART0 void UART0Init(U16 baud) { U16 divisor = getperipheralClockFreq() / (16 * baud); U0LCR_bit.DLAB=1; //Enable DLAB U0LCR_bit.WLS=3; //8 bits U0LCR_bit.SBS=1; //...


IAR LPC2129 TIMER INTERRUPT PROGRAM not work

Started by zied130187 in LPC200013 years ago

/*---------------------------------------------------------------------------------------------- ---------------------------------*/ #include ...

/*---------------------------------------------------------------------------------------------- ---------------------------------*/ #include #include "hardware.h" long timeval=0; __irq __arm void tc0 (void); // Generate Interrupt void init_timer (void); /*---------------------------------------------------------------------------------------------- -------------------


Free RTOS Source code for LPC2129

Started by abhilash krishna in LPC200014 years ago 2 replies

Hi Friends, ??????????? I am new to this groups.I trying to learn RTOS program.So please help how to start to writting program for LPC2129.If u...

Hi Friends, ??????????? I am new to this groups.I trying to learn RTOS program.So please help how to start to writting program for LPC2129.If u have any source code please forward to this mail. ? ? Thaks & Regards T.R.Abhilash The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/


porting rtlinux on lpc2129

Started by Debashis Banerjee in LPC200015 years ago 10 replies

Hi,this is debashis from bangalore,india....I am working with ARM lpc2129 and embedded linux....but I have a serious problem to make the linux...

Hi,this is debashis from bangalore,india....I am working with ARM lpc2129 and embedded linux....but I have a serious problem to make the linux 2.4x kernel as embedded linux...can anybody pls help me on how to make linux kernel a real time os and how to port it in arm lpc2129....and also is it possible to port the kernel to nxp made P89V51RD2 80c51 based controller????....pls reply....[image: ...


LPC2129 CAN Bus Values for Keil uVision

Started by codinglikeits1999 in LPC200015 years ago 1 reply

I'm new to ARM development. I'm using the Keil uVision3 IDE and the Keil MCP2100 Dev Board with LPC 2129. I need to know the values to set...

I'm new to ARM development. I'm using the Keil uVision3 IDE and the Keil MCP2100 Dev Board with LPC 2129. I need to know the values to set in order to make the CAN bus work at 500k. Below are the values for 125k and 250k as provided in the Keil demo example. I'm not sure for what tSEG and SJW these values were calculated. // Keil Demo Common CAN bit rates #define CANBitrate125k_12MHz...


RTC in LPC2129

Started by anilupretidae in LPC200015 years ago 6 replies

Hi all I was just wondering why there is no VBAT pin and Crystal inputs in LPC2129. If there in RTC on chip then Battery backup and crystal is a...

Hi all I was just wondering why there is no VBAT pin and Crystal inputs in LPC2129. If there in RTC on chip then Battery backup and crystal is a must. Can you pls help me understand what is the matter. I am tired searching the topic in user manuals, errata sheets and datasheets of LPC21XX. thanks Anil ------------------------------------


supporting files for lpc2129

Started by raju in LPC200014 years ago 17 replies

i started to work on lpc2129(previously i was with lpc2148) to exploring CAN.Initially i am testing my LPC2129 UART.UART code is...

i started to work on lpc2129(previously i was with lpc2148) to exploring CAN.Initially i am testing my LPC2129 UART.UART code is fine(compatable to lpc2148).i think no changes will done in startup file and linkerscript files.i am using GNU ARM gcc compiler with windows xp as O.S.i am posting the statup file(which is general for all arm7 boards),linker script(just changing the memory sizes of l...


OS_CPU_SR_Save

Started by "shariff.javeed" in LPC200014 years ago

Hi, I'm trying to port uCOSIIv276 on LPC2129 uC. I've got the source code for uCOSIIv2.76 from...

Hi, I'm trying to port uCOSIIv276 on LPC2129 uC. I've got the source code for uCOSIIv2.76 from http://read.pudn.com/downloads75/sourcecode/embed/278358/uCOSKeil276/Port/os_cpu_a.s__.htm Here is the explanation: 1. During uCOSII initialization, Idle task is being created using OSTaskCreateExt. 2. While creating this task, OS_ENTER_CRITICAL(); ALL the interrupts are disabled and then ...


eeprom in LPC2129 ?

Started by tomi in LPC200014 years ago 7 replies

I want to use flash memory as eeprom in LPC2129, I have code "LPC2000 onchip Flash as EEPROM demo" from NXP. In demo code I have defined...

I want to use flash memory as eeprom in LPC2129, I have code "LPC2000 onchip Flash as EEPROM demo" from NXP. In demo code I have defined first sector for eeprom array in LPC2k_ee.H: #define EE_SEC_L 0 //Flash sector where EEPROM begins (see UM for details) #define EE_SEC_H 1 //Flash sector where EEPROM ends (see UM for details) #define EE_ADDR_L 0x0...


LPC2129 UART Help Needed

Started by rtos2010 in LPC200014 years ago 5 replies

I'm using the Keil MCB2100 Demo Board. LPC2129, 12MHZ crystal and PLLCFG_Val = 0x00000024 I'm using this UART demo code from " raju_nem ...

I'm using the Keil MCB2100 Demo Board. LPC2129, 12MHZ crystal and PLLCFG_Val = 0x00000024 I'm using this UART demo code from " raju_nem " at the following user group link/ It says "testing" near the code so I;m not sure it is fully working correctly? http://tech.groups.yahoo.com/group/lpc2000/files/LPC2129_UART/


problem with .ICF FILE of IAR EWARM 5.4

Started by zied130187 in LPC200014 years ago 1 reply

I begin to develop a program for LPC2129 with IAR EWARM 5.4 I found that there is a file. ICF when I must to configure for that the linker to the...

I begin to develop a program for LPC2129 with IAR EWARM 5.4 I found that there is a file. ICF when I must to configure for that the linker to the IAR generates. hex specific to my application. i have problem to understand how i can configure its parameters. i found an example of file .ICF in an example of project with IAR. program_in_flash.icf file in leds example provided with iar contain...


Anyone Help me in interfacing LPC2129 with HDPM01(Digital Compass) using I2c

Started by kris...@gmail.com in LPC200014 years ago 1 reply

Refer data sheet : www.hoperf.com/upfile/hdpm01.pdf Here is my sample program for interfacing HDPM01 with LPC2129 with I2C.. Pls Help me ...

Refer data sheet : www.hoperf.com/upfile/hdpm01.pdf Here is my sample program for interfacing HDPM01 with LPC2129 with I2C.. Pls Help me further to get data from compass how should i calulate the direction from that data......... ************************************************************************************/ #include #include #define C_SET 1 #define C_RESET



Memfault Beyond the Launch