Forums Search for: LPC21xx
How to capture 25ms, Infrared (TSOP1138)?
inDear 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 ------------------------------...
URGENT HELP NEEDED!!
inDear 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. ...
LPC2124 help needed
inHello 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
Simulation in Proteus
inHello 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(); ??? }
LPC2129 CAN examples?
inDoes anyone have an example program yet for using the CAN interfaces on the LPC2129? FullCAN mode is what I am trying to use. I...
Does anyone have an example program yet for using the CAN interfaces on the LPC2129? FullCAN mode is what I am trying to use. I have a simple example going, but reception seems to stops as soon as I increase bandwidth :-( Peter
LPC2129 PWM
inI'm using the Keil uVision IDE tool and the LPC2129. My question is about setting up single edge hardware PWMs. Someone previously ...
I'm using the Keil uVision IDE tool and the LPC2129. My question is about setting up single edge hardware PWMs. Someone previously posted the following code: REG(PWM0_PR)=0x0000; //no prescaler - one cpu clk is one PWM clk REG(PWM0_MCR)=0x0002; //Reset timer counter register
A/D converter of LPC2129
inHi everyone, I'm having some problems with using the A/D converter of the LPC2129 ARM board. I'm interfacing the board with an...
Hi everyone, I'm having some problems with using the A/D converter of the LPC2129 ARM board. I'm interfacing the board with an LM35DZ temperature sensor which has an output voltage proportional to the required temperature (eg 0.68V is equal to 68 degrees C). I
IAR, JLINK and PLL problems
inHi We are using the IAR workbench and Jlink to develop code for the LPC2129. I must use the PLL and debug from FLASH as my timing...
Hi We are using the IAR workbench and Jlink to develop code for the LPC2129. I must use the PLL and debug from FLASH as my timing is criticle but the use of the PLL is preventing the Jlink connecting. The only way around this is to use the Philips Flash utility to erase the
IAP command problems
inCould anyone help me to run the IAP commands on KEIL MCB2100 (LPC2129)? I am working with the ARM RVDS tools (& RV ICE) and...
Could anyone help me to run the IAP commands on KEIL MCB2100 (LPC2129)? I am working with the ARM RVDS tools (& RV ICE) and tried to run a small sample calling the IAP commands (program runs from iRAM). Most time I get a "memory access violation" several
Re: freeRTOS for LPC2129
inI am interested in this too. -----Original Message----- From: [mailto:] Sent: Friday, November 12, 2004 11:27 AM To: ...
I am interested in this too. -----Original Message----- From: [mailto:] Sent: Friday, November 12, 2004 11:27 AM To: Subject: [lpc2000] freeRTOS for LPC2129 Hello, anyone already implemented the freeRTOS in LPC2129, if yes, can supply
__ram attribute in Keil CA compiler
inI 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
Philips Flash Utility V2.2.0 (max baud rate = 38400???)
inHi, Why can't the flash utility sync up faster than 38.4 kbps even you can select 57.6 and 115.2 kbps within the utility? ...
Hi, Why can't the flash utility sync up faster than 38.4 kbps even you can select 57.6 and 115.2 kbps within the utility? I tried it on an LPC2214 as well as an LPC2129, both with 12MHz xtals. Thanks Jane
CAN controller 2 on the LPC2129
inHi everyone, I'm having some problems using the 2nd CAN controller network on the LPC2129 ARM board. So far I have...
Hi everyone, I'm having some problems using the 2nd CAN controller network on the LPC2129 ARM board. So far I have successfully used the 1st CAN controller and I'm now trying to incoorporate the 2nd one. I'm using the same code as the 1st one except that I have chang
CAN baudrate setting
inDear all, I am using two LPC2129 boards having 12 MHz clock, with CCLK and PCLK set to 60 MHz. They are connected via a CAN...
Dear all, I am using two LPC2129 boards having 12 MHz clock, with CCLK and PCLK set to 60 MHz. They are connected via a CAN link. I am trying to set the bus timing register C1BTR to run the CAN at the baudrate of 1 Mbit/s. The value I tried is : C1BTR =
LPC2129 - Capture help requested :)
inHi all I'm sitting with the MCB2100 from Keil trying to get the capture input CAP1,0 & CAP1,1 to work (P0.10 and P0.11) I...
Hi all I'm sitting with the MCB2100 from Keil trying to get the capture input CAP1,0 & CAP1,1 to work (P0.10 and P0.11) I have used the following code to make the inputs capture friendly... PINSEL0&=0xFFAFFFFF; T1CCR=0x1B; // I would like to captur
LPC2129 power up problem
inI'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...
VPBDIV Setting Changes
inHi 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...
Where can I find LPC2129.h?
inI 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 ------------------------------...
TCP/IP over serial port on Keil MCB2100 (lpc2129)
inI 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 -------...
difference in execution time(Keil, LPC2129)
inHi 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...