EmbeddedRelated.com

IAP example and usage on lpc2138

Started by mucko in LPC200018 years ago 2 replies

Hi, I want to store some data to the on chip flash of lpc2138, so, is there an example how this is done? thanks... ...

Hi, I want to store some data to the on chip flash of lpc2138, so, is there an example how this is done? thanks... __________________________________________ Yahoo! DSL ? Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com


lpc2138

Started by jignesh in LPC200012 years ago 1 reply

hey friends can anybody help me out with my project...i need to interface a gsm module sim300 with lpc2138 via UART...can anyone help me out with...

hey friends can anybody help me out with my project...i need to interface a gsm module sim300 with lpc2138 via UART...can anyone help me out with the codes to generate interrupt when a msg is received by gsm module also read the same through the controller.... ------------------------------------


LPC2138 - reading RXD0 Receiver input for UART0 to hyper terminal

Started by priyankvmaiya2 in LPC200014 years ago 4 replies

Hi, I have an external device(board) which gives data at the rate of 240 bytes = per second. This data is sent at a baud rate of 4800 baud, 8...

Hi, I have an external device(board) which gives data at the rate of 240 bytes = per second. This data is sent at a baud rate of 4800 baud, 8 bits, 1 stop b= it, and no parity. I need to collect this data into my lpc2138 board and print it to hyperterm= inal via UART0 To print some sample string from the lpc2138 board to the hyperterminal via= UART0, I had to set the baud rate to 9600 (i...


Is LPC2138 UART levels OK for a 5V part?

Started by fredrikssonjohan in LPC200018 years ago 20 replies

Hi! Sorry if this is a stupid question, but I haven't found any good info about the UART levels so I better ask! Need to connect a...

Hi! Sorry if this is a stupid question, but I haven't found any good info about the UART levels so I better ask! Need to connect a LPC2138 to a Maxim (Dallas) DS2480B which is on 5V. Can they talk as it is or do I need a 3.3 to 5V buffer between? Thanks for any help! Cheers /Johan


LPC2138 Slave SPI

Started by phlpcmicro in LPC200018 years ago

Hi All, I am seeking clarification of the SPI slave operation for the LPC2138 When an LPC2138 is configured as a slave. Please assume the SPI...

Hi All, I am seeking clarification of the SPI slave operation for the LPC2138 When an LPC2138 is configured as a slave. Please assume the SPI control register has been configured correctly for slave eg: bit2 BitEnable= 0 (SPI set to 8bit size) bit3 CPHA (set same as master) bit4 CPOL (set same as master) bit5 MSTR = 0 (set as slave) bit6 LSBF (set same as master) b


LPC2138 performance timer question

Started by hus_kalydonios in LPC200017 years ago 6 replies

Hi, I'd like to measure the performance of some code I'm using, but this doesn't seem very easy to do with the LPC2138. (using freeRTOS and...

Hi, I'd like to measure the performance of some code I'm using, but this doesn't seem very easy to do with the LPC2138. (using freeRTOS and Rowley). In windows I'd use QueryPerformanceCounter() to get a time stamp before and after. Is there an way to do this with the LPC? Or do I need to set up a timer interrupt every 1?s or something to increment a counter? Thanks.


LPC2148 errata

Started by Joel Winarske in LPC200018 years ago 4 replies

Can Phillips apps confirm if the errata for the LPC2148 is identical to the LPC2138? This link downloads the errata sheet for the LPC2138: ...

Can Phillips apps confirm if the errata for the LPC2148 is identical to the LPC2138? This link downloads the errata sheet for the LPC2138: http://semicondu ctors.philips.com/acrobat_download/erratasheets/2148.pdf This document only refers to the LPC2138. I don't feel comfortable assuming


Using SSP with 24bit transfers

Started by wittrockjeff in LPC200019 years ago 7 replies

Hello All, I have not used any of the LPCxxx devices before. I am considering using an LPC2138 in an application which must...

Hello All, I have not used any of the LPCxxx devices before. I am considering using an LPC2138 in an application which must read data from an ADS1271 24bit A/D using an SPI interface. In looking at the SSP specification for the LPC2138, it can handle a m


IAR compiler and the LPC2131

Started by Lowry, Jeff in LPC200019 years ago 7 replies

Been working with LPC2138 with IAR just fine. Trying to move to smaller LPC2131. When I download the same app it won't run to main. Anybody...

Been working with LPC2138 with IAR just fine. Trying to move to smaller LPC2131. When I download the same app it won't run to main. Anybody do this yet? I think I'm looking for the equivalent LPC2138.i79 and iolpc2138.ddf (device description file) for the 2131. Anything else? Thanks, Jeff


UART LPC2138

Started by dsourgen in LPC200018 years ago 2 replies

Hello, I am new at LPC2000. I have downloaded eval version of KEIL =B5vision3. I will have to=20 develop an application with LPC2138. After...

Hello, I am new at LPC2000. I have downloaded eval version of KEIL =B5vision3. I will have to=20 develop an application with LPC2138. After studying examples, I am trying to create a simple project that=20 displays a character on serial 2 of the simulator (This is very=20 close to the "Hello" example). The program should display a single character once only. Here is the code (very simple...


LPC2138 MIPS

Started by rggmns in LPC200018 years ago 1 reply

Hello, I use a LPC2138 microcontroller with a 25MHz xtal. I set the pll multiplier at 2 and de devider =2 (in the startup code of...

Hello, I use a LPC2138 microcontroller with a 25MHz xtal. I set the pll multiplier at 2 and de devider =2 (in the startup code of KEIL). This gives 50MHZ CPU clock. This works out fine, in determining the speed for the UART (baud rate is ok). But when I run a very small program, toggeling the LED's, I only get 16 MIPS out of the controller. The


LPC21xx SSP controller as SPI master and slave

Started by ashwin athani in LPC200016 years ago

Hi all, We have been trying to use the SSP controller on the LPC2148 (master) and LPC2138 (slave) as SPI. The hardware design is...

Hi all, We have been trying to use the SSP controller on the LPC2148 (master) and LPC2138 (slave) as SPI. The hardware design is such that LPC2148 and LPC2138 are connected over the SSP interface. There are some sensors connected to the LPC2138 and the LPC2148 has to read these sensor values over SPI. Typically while developing the driver for any interface you would have t...


LPC2138 Eagle Library

Started by Richard in LPC200019 years ago 1 reply

Added to the files section Richard Re: LPC2138 Eagle Library

Added to the files section Richard Re: LPC2138 Eagle Library


lpc2138 with IAR

Started by Viren Dobariya in LPC200015 years ago 1 reply

hi, i am new user of IAR. i install IAR kick start 5.30. how can i develop code for lpc2138 using IAR?? Thanks Bring your gang...

hi, i am new user of IAR. i install IAR kick start 5.30. how can i develop code for lpc2138 using IAR?? Thanks Bring your gang together. Do your thing. Find your favourite Yahoo! group at http://in.promos.yahoo.com/groups/ ------------------------------------


LPC214x vs LPC213x

Started by mgra...@ess-us.com in LPC200018 years ago 2 replies

I'm working on a design with an LPC2148. However, the LPC2148 has a long lead-time in the US. So I'm going to use a LPC2138 until the LPC2148...

I'm working on a design with an LPC2148. However, the LPC2148 has a long lead-time in the US. So I'm going to use a LPC2138 until the LPC2148 is ready. The obvious difference is the loss of the USB interface. The rest of the device appears to be electrically and software wise the same. (The LPC2138 does have two 10-bit DACs instead of one on the LPC2148). Any other problems or issues ...


LPC2138 with P0.11 not working

Started by nmitech in LPC200019 years ago 2 replies

Does anyone have problem to use P0.11 as GPIO? I built two prototypes, and both have the same problem on the port, P0.11 . I ...

Does anyone have problem to use P0.11 as GPIO? I built two prototypes, and both have the same problem on the port, P0.11 . I checked my circuit there is no short, nor broken trace from the CPU. I can toggle any port, except P0.11. Maybe my LPC2138 samples are bad? Any info


LPC2138 on 2-layer board with EagleCad?

Started by mattwoolsey in LPC200017 years ago 9 replies

For a hobby project I'm trying to use the LPC2138 LQFP-64 package on a 2-layer board with most of the pins connected. Has anyone ever done a...

For a hobby project I'm trying to use the LPC2138 LQFP-64 package on a 2-layer board with most of the pins connected. Has anyone ever done a layout on a 2-layer board in Eagle CAD? I'm wondering what settings you use to successfully lay it out and get it routed. Thanks


IAR with LPC2138

Started by tkreyche in LPC200019 years ago 4 replies

I'm working on getting the IAR IDE working with the LPC2138...startup files, etc. If anyone wants to collaborate please let me...

I'm working on getting the IAR IDE working with the LPC2138...startup files, etc. If anyone wants to collaborate please let me know. IAR is supposed to be coming out with a 2138 kit in a month or two but my project can't wait. thanks, Tom


LPC2138 RTC Crystal Connections

Started by dharmaBum in LPC200019 years ago 3 replies

If anyone has successfully used a 32 KHz crystal with the LPC2138, please explain how to connect the crystal. I saw an...

If anyone has successfully used a 32 KHz crystal with the LPC2138, please explain how to connect the crystal. I saw an example on the Keil eval board where a resistor was connected in series with the crystal. I don't understand how that circuit operates.


UART in LPC2138

Started by Vijay Kumar in LPC200012 years ago 1 reply

I am looking for tutorial for Uart communication in LPC2138. Please Help ------------------------------------

I am looking for tutorial for Uart communication in LPC2138. Please Help ------------------------------------