EmbeddedRelated.com

LPC2124 help needed

Started by MAYURESH M in LPC200014 years ago 5 replies

Hello all. I am working with microcontroller board based on LPC2124. To test the board i made a test code using KEIL uVision 3 and programmed the...

Hello all. I am working with microcontroller board based on LPC2124. To test the board i made a test code using KEIL uVision 3 and programmed the board using RS232 and flash magic. The prgramming process is completed but the code doesn't run. Here is the code and the basic overview of the schematic. #include int main() { IO0DIR = 0x00000000; while(1) { IO0CLR = 0x00


Wiggler with LPC2124

Started by yekai1k in LPC200019 years ago 9 replies

Hi I made a wiggler board according to the Wiggler Schematic posted in the Files folders, but it can not work properly with my...

Hi I made a wiggler board according to the Wiggler Schematic posted in the Files folders, but it can not work properly with my LPC2124 chips. I'v tried many RDI software like BanyanII( http://armdebug.27h.com/ ) ARMJtagDebugFinal 1.5.1 ( http://armjtag.27h.com ) and some other


LPC2124's PLL working with 3.68Mhz fosc??

Started by unity0724 in LPC200017 years ago 13 replies

Hi, I need to fix the reset problem on some older LPC2124, and need a very low freq crystal oscillator. Did anybody try running the PLL with...

Hi, I need to fix the reset problem on some older LPC2124, and need a very low freq crystal oscillator. Did anybody try running the PLL with Crystal/Osc Fosc around 3.68Mhz?? Is PLL stable at that range?? The datasheet and application note say PLL only working in the 10-25MHz Fosc range. (Note: I can get around with the 10Mhz-25Mhz fosc requirement for ISP. Only checking if PLL...


Capture pin inconsistencies

Started by jase_ko in LPC200018 years ago 11 replies

Hi guys, We are after a bit of help with the LPC2124. We are trying to use the capture pin (CAP 0.2) to determine the speed of a vehicle...

Hi guys, We are after a bit of help with the LPC2124. We are trying to use the capture pin (CAP 0.2) to determine the speed of a vehicle based on the number of pulses we receive. We find that we are getting consistant stray outliers. Below is the source code we are using and the results we are getting to a terminal program. Any help would be ace. void main() { // init tick timer T0


How to capture 25ms, Infrared (TSOP1138)?

Started by serg...@yahoo.com in LPC200015 years ago 9 replies

Dear friends, I use WinARM and need your help. I have a LPC2124 have connected the TSOP data output to GPIO P0.8 and to CAP P.30. I will...

Dear friends, I use WinARM and need your help. I have a LPC2124 have connected the TSOP data output to GPIO P0.8 and to CAP P.30. I will capture in 1us resolution and will output it after the 25ms are complete via UART0 to the terminal. I know these are 25000 samples. Who can give me an example to solve this big problem for me. Thanks in advanced. BR, Sergej ------------------------------...


EINT2 Problems on LPC2124

Started by fbpmania in LPC200019 years ago 6 replies

Hello everyone, i?ve got a problem with the configuration of the external interrupt EINT2(P0.15). The controller hangs up after ...

Hello everyone, i?ve got a problem with the configuration of the external interrupt EINT2(P0.15). The controller hangs up after "VICIntEnable = (1<


EINT3 external interrupt problem

Started by lokesh_17 in LPC200018 years ago 2 replies

Hello all, I herewith facing some problem in external interrupt, see if anybody can suggest me to overrule the difficulty. Hence...

Hello all, I herewith facing some problem in external interrupt, see if anybody can suggest me to overrule the difficulty. Hence follows the problem description when i configure my LPC2124 as EXTMODE = 0x08; ... VICIntEnable = (1<


URGENT HELP NEEDED!!

Started by MAYURESH M in LPC200014 years ago 6 replies

Dear all, I have built a microcontroller development board for LPC2124 and have used a USB interface for programming the device since my PC...

Dear all, I have built a microcontroller development board for LPC2124 and have used a USB interface for programming the device since my PC and laptop both dont have any COM port connector. I have used FTDI's FT232BL chip for the purpose. When connected to the USB port the PC detects it as a USB to Serial converter and treats it as a virtual com port and assigns it a COM port number. ...


Device IDs update for all LPC2000 devices

Started by philips_apps in LPC200019 years ago 1 reply

Device ID LPC2106 0xFFF0FF32 LPC2105 0xFFF0FF22 LPC2104 0xFFF0FF12 LPC2114 0x0101FF12 LPC2119 0x0201FF12 LPC2124 0x0101FF13 ...

Device ID LPC2106 0xFFF0FF32 LPC2105 0xFFF0FF22 LPC2104 0xFFF0FF12 LPC2114 0x0101FF12 LPC2119 0x0201FF12 LPC2124 0x0101FF13 LPC2129 0x0201FF13 LPC2194 0x0301FF13 LPC22x0 0x0301FF12 LPC2212 0x0401FF12 LPC2214 0x0601FF13 LPC2292 0x0401FF13 LPC2294 0x0501FF13 LPC2131 0x0002FF01 LPC2132 0x0002FF11 LPC2


Re: LPC2131 SPI problem

Started by Michael Johnson in LPC200019 years ago

Hi Dave, It seems that S0SPCR has sprouted extra bits on the LPC213x and LPC214x. The CrossWorks LPC21xx header file was generated from...

Hi Dave, It seems that S0SPCR has sprouted extra bits on the LPC213x and LPC214x. The CrossWorks LPC21xx header file was generated from the register description of an LPC2124 which doesn't have these extra bits. The next release of CrossWorks has header files for each LPC device to avoid these problems. For the time being can you modify your copy of LP


uIP checksum problem (LPC2378)

Started by Tim Mitchell in LPC200015 years ago 4 replies

I'm still struggling with getting uIP to work on LPC2378 (Olimex LPC2378STK board). I have got ARP working, but when I send a TCP packet the PC...

I'm still struggling with getting uIP to work on LPC2378 (Olimex LPC2378STK board). I have got ARP working, but when I send a TCP packet the PC shows a checksum error. I've gone through Paul's code for LPC2124 which helped with some structure packing issues, but unfortunately I started with the latest version of uIP which has changed quite a bit from that. I have checked with the FreeRTOS ...


Question about interrupts and the ARM interupt registers.

Started by Mark Gross in LPC200020 years ago 2 replies

This may be, perhaps, a bit off topic. I'm trying to make sense of the IRQ modle of the ARM core on the lpc2124. My ...

This may be, perhaps, a bit off topic. I'm trying to make sense of the IRQ modle of the ARM core on the lpc2124. My understanding of how this works is based on the ARM port to Linux, and the ARM refrence manual. I'm a bit confused. On IRQ interrupt (not


SD card problem!

Started by Atanas Tulbenski in LPC200019 years ago 14 replies

I'm using SD card with LPC2124. At first I used software SPI and everything was fine. When I start using hardware SPI got...

I'm using SD card with LPC2124. At first I used software SPI and everything was fine. When I start using hardware SPI got problem. The SD card initializes, I can read serial numbers, but I cant read data using CMD17. The card returns error code 0x04 "ilegal command". An


UART transmit problem with GNU

Started by jesperkr123 in LPC200019 years ago 3 replies

Hey I'm trying to get the UART0 and UART1 working on my LPC2124 Olimex board. I use the WINARM GNU toolchain. I've wrote a simple...

Hey I'm trying to get the UART0 and UART1 working on my LPC2124 Olimex board. I use the WINARM GNU toolchain. I've wrote a simple code to test the UART. But when i send a byte to my PC, the received byte is wrong. This is my test program: void SetUART(int baud){ unsigned int divisor = pCF / (16 * baud); PINSEL0 |= 0


Simulation in Proteus

Started by anish kumar in LPC200014 years ago 2 replies

Hello everyone i have written a simple led code for LPC2124 in keil. It is not simulating in Proteus. Please help as i have practical exams on...

Hello everyone i have written a simple led code for LPC2124 in keil. It is not simulating in Proteus. Please help as i have practical exams on it. Below is source code :- #include void delay(void); int main() { ??? IODIR0 = 0xFFFFFFFF; ??? IOCLR0 = 0x00000000; ??? while(1) ??? { ??? IOSET0 = 0xFFFFFFFF; ??? delay(); ??? IOCLR0 = 0x00000000; ??? delay(); ??? }


MCB 2140 board

Started by sandip chudasama in LPC200017 years ago 1 reply

hi all. If I am using lpc2000 flash utility device geting detected and massage shown below. *"C:\Program Files\Philips...

hi all. If I am using lpc2000 flash utility device geting detected and massage shown below. *"C:\Program Files\Philips Semiconductors\Philips Flash Utility\LPC210x_ISP.exe" "D:\Keil\ARM\Examples\Blinky\Obj\Blinky.HEX" 12000 LPC2124 COM1: 9600 1 * But while using the Flash magic software, the MCB2140 is getting connected @ 9600 baud rate but not getting programmed. The following message...


Open OCD Issues

Started by Richard in LPC200017 years ago 2 replies

I finally have Open OCD (Running through eclipse) functioning on an IAR Kickstart board (LPC2106). Yea! I am unable to get it to run on a...

I finally have Open OCD (Running through eclipse) functioning on an IAR Kickstart board (LPC2106). Yea! I am unable to get it to run on a Keil board, the MCB2100 (LPC2124). The debugger APPEARS to program the micro but then it just hangs while the "launching" progress bar runs, forever. The console output when I start the debugger: (gdb) target state: halted target halted in ARM st...


JTAG problems with Olimex LPC2106

Started by dave_albert in LPC200020 years ago 15 replies

I'm having trouble getting my JTAG Wiggler to work with an Olimex LPC-P1 (2106 based prototype board). It works fine with my...

I'm having trouble getting my JTAG Wiggler to work with an Olimex LPC-P1 (2106 based prototype board). It works fine with my Olimex LPC2124 based prototype board, but always gives me a "cable disconnected" or "cannot enter debug mode" error. The board resets


How to setup a second timer interupt callback function?

Started by cyril_dunand in LPC200018 years ago 1 reply

Dear lpc2000 Group, I have setup an interupt fonction with the timer0 of an lpc2124 witch work fine. The callback fonction is use on each...

Dear lpc2000 Group, I have setup an interupt fonction with the timer0 of an lpc2124 witch work fine. The callback fonction is use on each timer0 interupt. When I try to had a second timer interupt callback fonction it doesnt work. Is anybody can help me to solve my error code. The code for init timer0 is: void Init_Timer0(void) { REG(TIMER0_TCR) = 2; REG(TIMER0_PR) =...