baud rate calculation

Started by patilrohit103 in comp.arch.embedded9 years ago 1 reply

I am having a problem calculating the baud rate of 9600 bauds for ARM7 (LPC2148) at 12MHZ crystal. I have figured out a value of : ...

I am having a problem calculating the baud rate of 9600 bauds for ARM7 (LPC2148) at 12MHZ crystal. I have figured out a value of : U1DLM=0x00; U1DLL=0x62; following is my UART1 initialization code: void init_UART1() { PINSEL0=0x00050000; // FOR UART1 U1LCR=0x83; U1DLM=0x00; U1DLL=0x62; U1LCR=0x03; U1FCR=0x01; } please help me if there is any other...


Unable to get the timer working correctly in LPC2148

Started by shankariamma in comp.arch.embedded5 years ago 4 replies

I have written code for delay using timer in LPC2148. But I am not able to get the desired time delay. 1 Sec delay if I give, it looks like...

I have written code for delay using timer in LPC2148. But I am not able to get the desired time delay. 1 Sec delay if I give, it looks like 100 msec (Ddd not calculate correctly). Somewhere something is wrong it looks. Anybody can help? I have written code comments and I hope it is good enough. Also is it good idea to disable and enable timer as in delayus() or allow timer to run continuously ins...


Unable to send data to host on UART1 in LPC2148

Started by shankariamma in comp.arch.embedded5 years ago

I am trying to send the data to UART1 in LP2148. Given below is the code. But the data displayed is only some junk (mainly ???? is displayed)....

I am trying to send the data to UART1 in LP2148. Given below is the code. But the data displayed is only some junk (mainly ???? is displayed). I am not able to makeout the problem. The terminal software is configured at 9600 baud. pclk is 15 MHz. Here is the code: #include //Includes LPC2148 register definitions #define Fosc 12000000 #define Fcclk (Fosc * 5) #define Fcco


LPC2188 current?

Started by Eric Smith in comp.arch.embedded12 years ago 7 replies

I'm considering using the LPC2188 for a hand-held device, and am intrigued by the claim that its internal DC/DC converter can be powered from a...

I'm considering using the LPC2188 for a hand-held device, and am intrigued by the claim that its internal DC/DC converter can be powered from a single battery. The data sheet is, however, remarkably free of details of that. They don't spec a voltage range for Vdcdc_vbat, and the Ibat spec (at Vdcdc_vbat=1.2V) is " ", as are all of the other current specs. Does anyone know what the ac


eCos on Phillips LPC2000/LPC2194

Started by Ian McDonnell in comp.arch.embedded15 years ago 1 reply

I about to embark on porting eCos to the ARM-based Phillips LPC2194 controller. Does anyone know if this (or similar) has been done...

I about to embark on porting eCos to the ARM-based Phillips LPC2194 controller. Does anyone know if this (or similar) has been done already? This message was sent using the comp.arch.embedded web interface o www.EmbeddedRelated.com


LPC2194 Getting started

Started by Max00007 in comp.arch.embedded12 years ago 6 replies

Hi everyone, I´m student and everything about embedded systems & my LPC is completley new for me.(I am using an LPC 2194 with ECO-arm /...

Hi everyone, I´m student and everything about embedded systems & my LPC is completley new for me.(I am using an LPC 2194 with ECO-arm / WIN-arm compiler.) I´ve got some programming experience but it seems: not enough. (VBA= rather good; C= total beginner). So I would also appreciate every hint to good tutorials and other help. Besides these probs the most urgent is: Getting the SPI to wor...


ARM-s : RAVEN with rtck release (LPC21xx)

Started by laurent gauch in comp.arch.embedded16 years ago 3 replies

Hi all, Amontec just released a new configuration of the RAVEN on the Chameleon POD. This configuration enables the use of the rtck (return...

Hi all, Amontec just released a new configuration of the RAVEN on the Chameleon POD. This configuration enables the use of the rtck (return clock) for all ARM -s series. In fact, the ARM7TDMI-s ( and other ARM -s ), like Philips LPC21xx, use the rtck signal to control the baudrate of the JTAG. This means you can debug software running at very low frequency, but this means too that ...


which low price develop tools have C compiler?

Started by yong in comp.arch.embedded16 years ago 15 replies

I want to learn microcontroller. I want to get low price (

I want to learn microcontroller. I want to get low price (


problem with jtag/ETM on Philips LPC21xx

Started by Maciej Kaczkowski in comp.arch.embedded16 years ago 4 replies

How can I use JTAG mode without ETM port on Philips LPC 210x? I pull up DBGSEL and RTCK during RESET, processor starts using jtag but also...

How can I use JTAG mode without ETM port on Philips LPC 210x? I pull up DBGSEL and RTCK during RESET, processor starts using jtag but also ETM port is enabled (I can`t use ETM pins as GPIO). I am also using LPC 212x - it is posible to turn on jtag without ETM port. Thank You


eCos and ucOS memory footprint

Started by Ozone Hole near South Pole in comp.arch.embedded16 years ago 3 replies

Hi, I am thinking about putting either eCos or ucOS into the just released Philips ARM7 LPC21xx chip. It has something like 16kB of RAM,...

Hi, I am thinking about putting either eCos or ucOS into the just released Philips ARM7 LPC21xx chip. It has something like 16kB of RAM, 128kB (or 256kB depending on the part) of FLASH on-chip, with no external memory bus. Before going ahead, I would like to have a sanity check: can the porting of eCos or ucOS be done with the resources? It aims to be my hobby project. Just want to try...


ARM7/LPC21xx debugging capabilities

Started by Oliver Betz in comp.arch.embedded15 years ago 4 replies

Hello All, reading some of the specs I'm still not completely sure about the debugging capabilities of a LPC21xx. Can I access memory "non...

Hello All, reading some of the specs I'm still not completely sure about the debugging capabilities of a LPC21xx. Can I access memory "non intrusive" while the program is executing (like BDM in the 68HC(S)12 or the HCS08?)? Or does a memory read always interrupt program execution for some cycles? If "non intrusive" is possible: is this a standard feature of debuggers? Any genera...


TCP/IP stack for GPRS

Started by Jesper in comp.arch.embedded15 years ago 5 replies

Hey Any of you had any experience with running tcp/ip stack on 8051 for GPRS purpose?? Which 8051 uC and TCP/IP stack did you use?? Free...

Hey Any of you had any experience with running tcp/ip stack on 8051 for GPRS purpose?? Which 8051 uC and TCP/IP stack did you use?? Free ones preferred :-) Or should I use a different uC like AVR ATMega128 og an ARM7 like Phillips LPC21XX. I've only got experience with 8051 uC.... It's my first GPRS project, any suggestions on my choice of TCP/IP stack?? Regards Jesper Denmark ...


GPS modules ?

Started by Alex Gibson in comp.arch.embedded15 years ago 32 replies

Could someone recommend a gps module suitable for use in embedded projects (pic and lpc21xx) , robotics and hooking up to a (laptop/pc with...

Could someone recommend a gps module suitable for use in embedded projects (pic and lpc21xx) , robotics and hooking up to a (laptop/pc with windows and osx drivers). Either 3V or 5V powered, ASCI output via rs232 or i2c or spi - (NMEA 0183) and under 10cm by 10cm (5cm by 5cm or under would be better). Start up time isn't a concern , up to a couple of minutes is fine Quite a few out th...


LPC21xx newbie questions

Started by Sagaert Johan in comp.arch.embedded14 years ago 6 replies

Hi I decided to choose LPC21xx ARM devices as my microcontroller for small applications. I still havent found out what the cheapest and...

Hi I decided to choose LPC21xx ARM devices as my microcontroller for small applications. I still havent found out what the cheapest and easiest way is to develop and debug. Are there any free or low cost solutions that allow jtag graphical debugging (win or linux ) ? Is there a low cost alternative to keil-ARM tools ? (The Keil Ulink Jtag and their LPC21xx based boards look a good s...


Software DTMF /tone detection

Started by Sagaert Johan in comp.arch.embedded14 years ago 15 replies

Hi Is it possible to do some software DTMF /Tone detection on an ARM (LPC21xx) ? I need some links to existing code to implement this kind...

Hi Is it possible to do some software DTMF /Tone detection on an ARM (LPC21xx) ? I need some links to existing code to implement this kind of DSP techniques. (i am no expert in DSP techniques ) if this type of controller can handle this. Johan


Parallax Propeller

Started by Peter Jakacki in comp.arch.embedded13 years ago 8 replies

I haven't heard anyone talking about the Propeller since earlier in the year when it had just been released so I'd like to share my impression...

I haven't heard anyone talking about the Propeller since earlier in the year when it had just been released so I'd like to share my impression of it with anyone who is interested. BTW, I have been heavily into LPC21xx ARM chips the last year or so and this is something completely different. I received a Parallax Propeller eval board last week and I have been hooked on it since. At the...


Is it possible to config GPIO pins in LPC21XX ARM to be in/out?

Started by jetq88 in comp.arch.embedded13 years ago 12 replies

in 8051, GPIO pins can be configed as both input and output buy putting pins in high-impedance state,then this pin can be read and write as...

in 8051, GPIO pins can be configed as both input and output buy putting pins in high-impedance state,then this pin can be read and write as input or output(like bus), in LPC21xx, a pin is either input or output, there is no high-impedance state, can I make one GPIO pin as input/output in LPC21xx? thanks jet


LPC21xx IAP erase time too long

Started by Elde...@yahoo.com in comp.arch.embedded11 years ago 7 replies

I have measured the time it takes for the IAP to erase one 4kB sector and it was 400ms. The processor is being clocked with a 14.74MHz chrystal,...

I have measured the time it takes for the IAP to erase one 4kB sector and it was 400ms. The processor is being clocked with a 14.74MHz chrystal, 1x multiplier, no MAM. No interrupts whatsoever. Activating the PLL and MAM made no difference. I configured the CCLK to 4x and then the delay dropped to 100ms (note: the CCLK argument to IAP was changed accordingly). Then I changed the CCLK argum...