EmbeddedRelated.com
The 2024 Embedded Online Conference

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


LPC2129 power up problem

Started by Dave Ashton in LPC200018 years ago 2 replies

I'm hoping someone can shed some light on the following intermittent LPC2129 power-up problem: Power is applied; V18, V3, V18A and V3A...

I'm hoping someone can shed some light on the following intermittent LPC2129 power-up problem: Power is applied; V18, V3, V18A and V3A become stable within 600us, the clock stabilises 1ms later. After a further 250ms nRESET is taken high, but the code doesn't appear to run. Once in this state I can stop execution using a JTAG debugger and examine the PC & other register contents. Somet...


difference in execution time(Keil, LPC2129)

Started by ayman ghaly in LPC200018 years ago 5 replies

Hi all I measured the execution time of the code shown below using break point= s in the keil simulator and it was approximately 500...

Hi all I measured the execution time of the code shown below using break point= s in the keil simulator and it was approximately 500 micro seconds.=20 But when I measured the execution time of the same code from the Philips = ARM board LPC2129 it was about 3000 micro seconds. Do you have any idea about the cause of this difference? =20=20=20 Note that I used the following adju...


TCP/IP over serial port on Keil MCB2100 (lpc2129)

Started by a_s_...@yahoo.com in LPC200018 years ago 4 replies

I guess a tcp/ip stack hasn\'t ever been ported on the keil mcb2100, particularly running on the philips lpc2129 processor. Badly need...

I guess a tcp/ip stack hasn\'t ever been ported on the keil mcb2100, particularly running on the philips lpc2129 processor. Badly need documentation and/or source for porting a tcp/ip stack, running on any OS... FreeRTOS, eCOS, whatever.... but over the serial port of the keil motherboard. Any help appreciated. http://dudafunk.myvnc.com ------------------------ Yahoo! Groups Sponsor -------...


Where can I find LPC2129.h?

Started by David Fowler in LPC200018 years ago 4 replies

I am looking for a version of LPC2129.h done by Phillips. I would like to include the file with some source for the GNU ARM tools and...

I am looking for a version of LPC2129.h done by Phillips. I would like to include the file with some source for the GNU ARM tools and figure it's not a good idea to use a header file with IAR or Keil copyrights. Right now I am using LPC214x.h from Phillips. Anyone know where I can get this file with the basic #defines for the I/O registers of the 2129? David ------------------------------...


VPBDIV Setting Changes

Started by scottkelsall in LPC200018 years ago 3 replies

Hi I am trying to verify that my LPC2129 is running at 60MHz. I am simply using the IOPIN command to toggle a GPIO pin.However the pin...

Hi I am trying to verify that my LPC2129 is running at 60MHz. I am simply using the IOPIN command to toggle a GPIO pin.However the pin stays high for 100ns not the expected 16.666ns. I have set the VPDIV setting to 0x01; therefore PCLK is running at the same frequency as the CCLK, and the mul and div settings are correct to multiply up to 60M from an Oscillator of 20M I have noti...


swi and gcc

Started by alberto in LPC200018 years ago 1 reply

Hy guys, I'm developing a can repeater with lpc2129.I'm testing interrupts and primitives before starting with high level. Has someone an...

Hy guys, I'm developing a can repeater with lpc2129.I'm testing interrupts and primitives before starting with high level. Has someone an exemple of swi using under gcc compiler? I just tried with post search but I see only the first page. thanks in advance Alberto ------------------------ Yahoo! Groups Sponsor --------------------~--> Yahoo! Groups gets a make over. See the new


Problem with LPC2129, simple delay function

Started by madid87 in LPC200018 years ago 4 replies

Here is the program code: -------------------------------------------------------------- //Header datoteke #include //Prototipi...

Here is the program code: -------------------------------------------------------------- //Header datoteke #include //Prototipi funkcija void delay(int msec); int main() { IODIR1 = 0xFF0000; // LEDice izlazne IOCLR1 = 0xFF0000; // Ugasi ih T1IR=0x0F; while(1) { IOSET1=0xFF0000; delay(2001); IOCLR1=0xFF0000; delay(2000); } return 0; } void d


LPC2129 watchdog reset

Started by "t.herbi" in LPC200018 years ago 4 replies

Hello, im designing a project with the lpc2129 and need to reset the controller by software after i have received a command over uart. To...

Hello, im designing a project with the lpc2129 and need to reset the controller by software after i have received a command over uart. To realice this i set and start the watchdog and wait till the wd period is over. But after the reset occoured the uC doesn't come back to live. When i'm debugging this problem i see that the boot vector at adress 0x00 is overwritten with 0xFF. But that ...


CAN communication between 2 LPC2129 microcontrollers

Started by ronald_smeets in LPC200018 years ago 12 replies

Dear all, I'm working on a project with 2 LPC2129 microcontrollers. I want them to communicate with eachother using CAN. The hardware setup...

Dear all, I'm working on a project with 2 LPC2129 microcontrollers. I want them to communicate with eachother using CAN. The hardware setup of both controllers is 'adapted' from the MCB2100 Evaluation board (so with the same CAN driver IC's etc). The microcontrollers run on a 16Mhz crystal, with PLL multiplier set to 4 and VPBDIV also to 4. Now I want to transmit data from CAN1 on uC...


1-wire protocol functions -Dont work, why ?

Started by madid87 in LPC200018 years ago 11 replies

I have two 1-wire devices. Both termo sensors. DS1820 and DS18B20. They will be used in LPC2129 projects. But for some reason something is...

I have two 1-wire devices. Both termo sensors. DS1820 and DS18B20. They will be used in LPC2129 projects. But for some reason something is wrong with my function to communicate with 1-wire devices. I'm trying to fix them for 2 days now and nothing so far :( So if someone have some experiance with 1-wire protocol please take a peak at my C functions. For communication I use P0.0 (do I ha...


uip arm port for lpc2129

Started by Jonathan Dumaresq in LPC200018 years ago 4 replies

Hi all, I just finish to make uip and a lpc2129 (olimex LPC-E2129). This sample is build from 2 or 3 different port that as be done by someone...

Hi all, I just finish to make uip and a lpc2129 (olimex LPC-E2129). This sample is build from 2 or 3 different port that as be done by someone else than me. I use part of the Paul rowley port, and part of the Martin Maurer arm port. I post here the zip file to test it. I only have 1 problem, is the optimization need to be off to get it work. I have not find why, And i don't know how to ...


Code help: Interrupts with LPC2129 and GCC

Started by Baldur Gislason in LPC200018 years ago 1 reply

I'm having a bit of a problem getting started in using interrupts in C with LPC2129 and GCC. The search function seems to be broken at this...

I'm having a bit of a problem getting started in using interrupts in C with LPC2129 and GCC. The search function seems to be broken at this moment so I'm starting a new thread. My problem is, there are so many interrupt sources, how can I tell from within the IRQ or FIQ routine where my interrupts are originating from? Would be great to see some example of interrupt code that uses multip...


LPC2129 UART ISR Problem

Started by lehighuboy in LPC200018 years ago 10 replies

I'm using the LPC2129 and Keil Tools. The purpose of the code is to interrupt on the receipt of a single byte of data and assign data to its...

I'm using the LPC2129 and Keil Tools. The purpose of the code is to interrupt on the receipt of a single byte of data and assign data to its value. The interrupt seems to work however data isn't the right value. Please help, Thanks. #include /* prototype declarations for I/O functions */ #include /* LPC21xx definitions */ void U1ISR(void) __irq; //Declare UA


Interrupt not serviced when using two capture pins on the same timer on LPC2132

Started by "gab...@yahoo.it [lpc2000]" in LPC20008 years ago

Hello, I have problems on my board trying to use two capture pins on the same timer. My purpose is to use CAP0.2 (PIN0.28) and CAP0.3...

Hello, I have problems on my board trying to use two capture pins on the same timer. My purpose is to use CAP0.2 (PIN0.28) and CAP0.3 (PIN0.29) on Timer0 in order to generate two interrupt. CAP0.2 is set to generate an interrupt on a Rising Edge and CAP0.3 on a falling edge. The problem is that if I use only CAP0.3 I have the Interrupt serviced and handled correctly, If I add also CAP0.2, ...


changing PLL multiplier on fly - PLLCFG (MSEL)

Started by Vimal Amin in LPC200018 years ago 6 replies

I need LPC2132 to run @32MHz for 2mSec (my time measurement periode) and then drop speed to 4MHz for 100mSec. This cycle continues forever. ...

I need LPC2132 to run @32MHz for 2mSec (my time measurement periode) and then drop speed to 4MHz for 100mSec. This cycle continues forever. Is it possible to change MSEL while running? I am afraid of Capture range, Locking range and stabilizing period etc. Anybody experianced with this? Vimal Amin


UART0, TC0, PWM & ADC at once on LPC2132

Started by soren_t_hansen in LPC200018 years ago 3 replies

Hi there Im making a system where I'm using all the above mentioned interrupts. I have had the TC0, PWM and the ADC running nicely until...

Hi there Im making a system where I'm using all the above mentioned interrupts. I have had the TC0, PWM and the ADC running nicely until now, but when I add the UART0 the TC0 goes dead (it's running a 1 Khz clock) I want the UART0 to give me interrupts when it receives a byte and only when that occours. When I send data I don't want to receive any


Flash Utility ISP on LPC2138

Started by radim100 in LPC200019 years ago 2 replies

Hi I have a board with LPC2132 MCU . ISP Version 2.2.2. works fine at all speeds . When I switch on the same board to LPC2138 ( same ...

Hi I have a board with LPC2132 MCU . ISP Version 2.2.2. works fine at all speeds . When I switch on the same board to LPC2138 ( same crystal 14.7456MHz , same board ) I am having download file problems . Switching back and to LPC2132 works fine . After putting LPC2138 ( different piece of chip ) on again it has similar download problems ( even at slow speed li


Setting up LPC2132 ADC in Hardware mode

Started by soren_t_hansen in LPC200019 years ago 2 replies

I followed the example from the Insiders guide from Hitex, but it seems if it is designed only for the Keil ARM compiler. Also I suspect it...

I followed the example from the Insiders guide from Hitex, but it seems if it is designed only for the Keil ARM compiler. Also I suspect it to have an error where ADCR should be ADDR. Anyway the interrupt function doesn't get called, and I have no clue why not. In the Keil example they make a change in the startup.s, but doing that didn't solve the problem


Bootloader - main apllication shared variables

Started by John van Beurden in LPC200015 years ago 2 replies

Hi, I'm working with an LPC2131 in the Keil compiler. I've made two projects, a bootloader project and a main application. I want to make use...

Hi, I'm working with an LPC2131 in the Keil compiler. I've made two projects, a bootloader project and a main application. I want to make use of a shared variables to have the two apps communicate with each other. I'm able to create a variable on a fixed address using the following code: TE_SHARED shared __attribute__((section(".ARM.__at_0x40000000"))); So both applications read an...



The 2024 Embedded Online Conference