EmbeddedRelated.com

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...


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 Interrupt Problem

Started by meepmeep24 in LPC200018 years ago 1 reply

Hi, I am using an LPC2129. My VPBDIV is set to '1'. I have been using EINT2 without a problem. I am able to set EXTPOLAR and EXTMODE...

Hi, I am using an LPC2129. My VPBDIV is set to '1'. I have been using EINT2 without a problem. I am able to set EXTPOLAR and EXTMODE without a problem. I am aware of the known errata about VPBDIV and EXTPOLAR so I set EXTPOLAR like this: SCB_VPBDIV = 0 // first you set VPBDIV to 0 SCB_EXTPOLAR = 0x4; // then set your EXTPOLAR bit SCB_VPBDIV = 1; // now, set VPBDIV back to what it ...


Anyone Help me in interfacing LPC2129 with HDPM01 using I2c

Started by kris...@gmail.com in LPC200014 years ago 3 replies

will pls anyone give some idea regarding this issue ------------------------------------

will pls anyone give some idea regarding this issue ------------------------------------


UART current limits

Started by Andrew Berney in LPC200018 years ago 8 replies

Does anybody know if the UART TX line on the LPC2129 is capable of supplying 2.2mA, as I need it to drive an optocoupler for...

Does anybody know if the UART TX line on the LPC2129 is capable of supplying 2.2mA, as I need it to drive an optocoupler for isolation Cheers Andy


Storing variable data in FLASH

Started by Greg Esmond in LPC200017 years ago 10 replies

I'm working on a project using an LPC2129 (IAR / Olimex kit), and I need to store some variables in non-volatile memory. I've looked through the...

I'm working on a project using an LPC2129 (IAR / Olimex kit), and I need to store some variables in non-volatile memory. I've looked through the documentation, but can't find what I'm looking for. Any suggestions? Thanks, Greg


JTAG and clock

Started by Nick Alexeev in LPC200015 years ago 6 replies

Colleagues, Here's a quick newbie question (I've searched the documents but didn't find the answer). Does the ARM (LPC2129) have to have...

Colleagues, Here's a quick newbie question (I've searched the documents but didn't find the answer). Does the ARM (LPC2129) have to have the main clock (XTAL1) running to be recognized by ULINK2? - Nick ------------------------------------


pclk speed

Started by jase_ko in LPC200019 years ago 4 replies

hey guys, how would i find out/set the speed of the pclk on a philips lpc2129 with keil tools? thanks Jason ...

hey guys, how would i find out/set the speed of the pclk on a philips lpc2129 with keil tools? thanks Jason


Error compiling FullCAN example

Started by ronald_smeets in LPC200017 years ago 6 replies

Hello all, I working on a PCB with 2 LPC2129 controllers and want them to communicate with each other using CAN. I have the simple, no...

Hello all, I working on a PCB with 2 LPC2129 controllers and want them to communicate with each other using CAN. I have the simple, no acceptance filter enabled example described in the "LPC Insiders Guide" working, therefore I know the electrical part is OK ;-) Today I wanted to try the LPC2_CANFull_V110 example (d/l from Keil site, but also available here at the Files section), bu...


LPC2129 IAP problem solved, sorta.

Started by yamppman in LPC200019 years ago 7 replies

After about a year on Prozac and Valium since my last encounter with the Philips LPC series, I'm on it again, using it in a new...

After about a year on Prozac and Valium since my last encounter with the Philips LPC series, I'm on it again, using it in a new project. And I need to use the IAP functionality ofcourse. And after spending several hours trying all kinds of variants on the apparently n


Re: J1939 stacks for the LPC2xxx's?

Started by andr...@... in LPC200018 years ago 15 replies

Anybody already found some J1939 code? I am working on my little hobby project to fool a trucks' speed limiter and I would...

Anybody already found some J1939 code? I am working on my little hobby project to fool a trucks' speed limiter and I would really appreciate it if anybody could give some help to start up with a LPC2129. I do have pretty much knowledge of SAE J1939, but my knowledge about embedded programming is not (yet) enough. Regards, Andr? The Neterla


Eagle Schematics : LPC 2119/2129

Started by "davidj.vpac" in LPC200016 years ago 3 replies

Are there any schematics available for heh Eagle Schematics software for a LPC2129/2119 board? I see the CPU libraries files are...

Are there any schematics available for heh Eagle Schematics software for a LPC2129/2119 board? I see the CPU libraries files are available. Thax ------------------------------------


GCC/gnude can't use libc.a?

Started by Mike Pijl in LPC200011 years ago 13 replies

I can't quite believe i'm having this problem! i'm a professional software/hardware developer but not in the GCC/Arm world. I'm a real newbie...

I can't quite believe i'm having this problem! i'm a professional software/hardware developer but not in the GCC/Arm world. I'm a real newbie in GCC but have C experience on other platforms. I'm so stuck...but I suspect it must be something very simple. I have a very basic GCC program that can't access any of the standard functions. I'm targeting a philips LPC2129 ARM7 processor. I ri...


initializing I2C problem

Started by neptunus1000 in LPC200019 years ago 9 replies

Hello, I use an olimex evaboard (LPC2129) and crossStudio. I would like to use the I2C interface but it won't work. ARM should be...

Hello, I use an olimex evaboard (LPC2129) and crossStudio. I would like to use the I2C interface but it won't work. ARM should be the master. First I tried to code it on my own with the datasheet. Then I found some example code on the group. The methode InitI2C() is working fine. Only the methode SendSlaveAdress(unsigned char Addr_S)


__ram attribute in Keil CA compiler

Started by varuzhandanielyan in LPC200019 years ago 1 reply

I have written very simple code just to evaluate the LPC2129 speed for the Keil MCB2100 board: void Meander(void) { ...

I have written very simple code just to evaluate the LPC2129 speed for the Keil MCB2100 board: void Meander(void) { unsigned int n; n = 0x00010000; while (1) { IOSET1 = n; IOCLR1 = n; } } It works well and I can s


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); /*---------------------------------------------------------------------------------------------- -------------------


Re: Cannot jump into ADC's VIC (LPC2129,2138 on MCB2100 board)

Started by Aalt Lokhorst in LPC200019 years ago

Hello J?rgen I think you need to use VICIntEnable = 0x00040000 instead of VICIntEnable = 0x00004000 Or even more readable if...

Hello J?rgen I think you need to use VICIntEnable = 0x00040000 instead of VICIntEnable = 0x00004000 Or even more readable if you try to set bit 18: VICIntEnable = (1<<18); If you don't want to rely on the default value of VICIntSelect then it is better to clear bit 18 in this register (to be sure the ADC interrupt wel


Freertos and Lpc23xx

Started by sashi ono in LPC200017 years ago 6 replies

I'm have a really heck of a time trying to get freertos to run on the lpc23xx series. I've ported it the lpc2129, lpc2148 parts without...

I'm have a really heck of a time trying to get freertos to run on the lpc23xx series. I've ported it the lpc2129, lpc2148 parts without a problem. Is there something I should be aware with on the lpc2300 series. It seems to treat interrupts differently. Any insight would be great. I'm using gcc. tried it with gcc 3 and 4.


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 ...


Using external DAC with IAR / Olimex LPC2129 Kickstart board

Started by gernby2002 in LPC200018 years ago 1 reply

I'm a newbie to this platform and group, so hello! I'm curious if any of you have used this particular evaluation board for parallel I/O. ...

I'm a newbie to this platform and group, so hello! I'm curious if any of you have used this particular evaluation board for parallel I/O. The documentation that came with the board really blows, so I can't tell if there is a way for me to connect a DAC to it. Any help is appreciated. BTW, the board that I have is at: http://www.lpctools.com/index.asp?PageAction=VIEWPROD&ProdID=77 ...