EmbeddedRelated.com
The 2024 Embedded Online Conference

LPC2132 not starting up. Always in ISP.

Started by jona...@gmail.com in LPC200016 years ago 3 replies

Hi, First unit to be repaired of a new design has been sent to me. As It's the first one, I'm more interesting in identifying what happened...

Hi, First unit to be repaired of a new design has been sent to me. As It's the first one, I'm more interesting in identifying what happened than in repairing it, in order to know if it's necessary to change something in HW or SW for future supplies or if it's ok as it is and it's just a common reparation. LPC2132 in the not working board is not starting up. If I debug using JTAG I can see th...


Code read protection LPC2132

Started by "andreas.jurk" in LPC200016 years ago 1 reply

Hello, actually I'm working with the LPC2132 uC and with the development software uvision3 from Keil. I'd like to protect my source code by...

Hello, actually I'm working with the LPC2132 uC and with the development software uvision3 from Keil. I'd like to protect my source code by enabling the code read protection. Through the datasheet I know that I have to write the constant 0x87654321 to adress 0x1FC. When I look into the Flash after programming the uC(Code read protection isn't enabled yet) I can see that at the adress ...


lpc2132 startup problem

Started by Adem in LPC200016 years ago 1 reply

hello; After a couple of year on PIC uCs ,recently I started working on LPC2132 Arm microcontroller.I use Keil Real View uc development kit...

hello; After a couple of year on PIC uCs ,recently I started working on LPC2132 Arm microcontroller.I use Keil Real View uc development kit to compile and H-JTAG to flash. I've compiled a few project and they worked well, however I couldn't figure out how to arrange startup.s file. I have been working on a simple uart program explaining in AN10369 paper. But, what i see at output is just...


LPC2132 Serial Communication

Started by Ryan Dawson in LPC200015 years ago 11 replies

Ok guys, I feel dumb asking y'all for help, but I am borderline going crazy. What I am trying to do is send numbers 0 through 20 over a...

Ok guys, I feel dumb asking y'all for help, but I am borderline going crazy. What I am trying to do is send numbers 0 through 20 over a serial cable to hyperterm (running on XP). I have the phillips lpc2132. I provided the code below. What I am not looking for a direct solution. I am looking for some hints for when this code may go wrong (why it isn't sending to hyperterm). ...


Working around LPC flash updates and endurance

Started by Girish Pundlik in LPC200015 years ago 9 replies

Hello, I am using a LPC2132 controller for a project. I need to update last event logs to non-volatile memory at least 300 times a day. To...

Hello, I am using a LPC2132 controller for a project. I need to update last event logs to non-volatile memory at least 300 times a day. To reduce cost, I am planning to use half of the the onchip program flash memory. However, I am concerned about longevity of this module, as 10K erase cycles gives us only 333 days of reliable memory. Actually, the data to be logged is not more than 256 b...


LPC2132/01 ISP issue

Started by gmpundlik in LPC200015 years ago 12 replies

Hello, I am developing a LPC2132/01 based system. I just received the assembled PCBs and I tried to put in a test program. But the LPC2132...

Hello, I am developing a LPC2132/01 based system. I just received the assembled PCBs and I tried to put in a test program. But the LPC2132 won't go into ISP mode. Pin P0.31 is left unconnected, and pin P0.14 is used exclusively for ISP mode select, with a pull-up of 10K. I used LPC Flash Utility v2.2.3, tried baud rates of 4800, 9600, 19200 and 38400 but none of them could detect the device ...


LPC2134 without bootloader?

Started by Ignacio in LPC200015 years ago 2 replies

Hi folks, I am experiencing a strange situation: I recently purchased some LPC2134 parts; I added them to a board that I know to work (I...

Hi folks, I am experiencing a strange situation: I recently purchased some LPC2134 parts; I added them to a board that I know to work (I usually put LPC2132 on it and they work without problems), so when I connect the flashmagic tool or the lpc2000 flash utility, i can not read the device id/device signature (and of course I can not program them). I checked with an osciloscope and the clock is ...


Dead time insertion - LPC213XX PWM

Started by Mukund Deshmukh in LPC200016 years ago 26 replies

Dear All, I have created 3 PWM sine wave outputs on LPC2136. Any idea how to create 3 more complimentary output with dead time insertion from...

Dear All, I have created 3 PWM sine wave outputs on LPC2136. Any idea how to create 3 more complimentary output with dead time insertion from driving a 3 phase MOSFET bridge? Warm Regards, Mukund Deshmukh, Beta Computronics Pvt Ltd. 10/1 IT Park, Parsodi, Nagpur -440022 India. Web site - http://betacomp.com Meet us at Booth I102, Taipei PLAS 2008, Sept 18-22 , Taiwan. ----------...


LPC2136 fractional divider for UART problem

Started by maxmatveev in LPC200017 years ago 4 replies

Hi! I have a problem using fractional baudrate divider on LPC2136. When i'm not using FDR i get baudrate (for example crystal is 14.318 MHz,...

Hi! I have a problem using fractional baudrate divider on LPC2136. When i'm not using FDR i get baudrate (for example crystal is 14.318 MHz, PCLK = 14.318 MHz)FDR = 0x10, DLL = 0x10, DLM = 0x00. baudrate = 55930, error about 3% from 57600. Everything is seems to be ok, UART errors with this setting are very rare. But when i using FDR to set baudrate more accurately - FDR = 0xB8, DLL = 0x...


LPC2136/01 UART1 serial driver

Started by m_jamet in LPC200017 years ago 1 reply

Hi buddies, I'm need to develop a full serial driver for the enhanced UART1 (LPC2136/01 device). This includes flow control, which can be...

Hi buddies, I'm need to develop a full serial driver for the enhanced UART1 (LPC2136/01 device). This includes flow control, which can be softtware (XON/XOFF), hardware (RTS/CTS or DTR/DSR) or none. I have found many examples of simple uart drivers not using flow control but NONE using flow control. Can anyone may help me with this issue, since I have no idea how to write a serial dri...


Problem-Entering ISP mode after POWER-ON of board-Plz help group.

Started by Saurabh Arora in LPC200017 years ago 3 replies

Hi Group, I have built a code using LPC2136 & it runs successfully giving desired outputs.I have a problem reg. the entering of LPC in ISP...

Hi Group, I have built a code using LPC2136 & it runs successfully giving desired outputs.I have a problem reg. the entering of LPC in ISP mode when I switch on my board.I have made a circuitry for ISP giving 22k pull up on pin p0.41.When once I program my chip(giving logic 0 on pin p0.41 after reset-through u-link jumper-connected to 1K pull down resistor),the chip is programmed properly....


LPC2136 problems receiving at high baudrates

Started by Mike Harrison in LPC200016 years ago 3 replies

I'm having problems getting reliable UART receive operation at baudrates of 1mbit/sec & above. PCLK is 60MHz, and baudrate is definitely set...

I'm having problems getting reliable UART receive operation at baudrates of 1mbit/sec & above. PCLK is 60MHz, and baudrate is definitely set correctly as verified by looking at TX data on scope, and the sent data is also correct ( coming from an FT232R). What seems to be happenning is that the UART gets into a state where it appears to be receiving data ( correct number of bytes) , but the...


LPC2136 big code crash problem

Started by Aleksandar Zivkovic in LPC200016 years ago 10 replies

Hello, I have a problem that gives me a headache for some time. I am working on an LPC2136 based platform on a project that was developed...

Hello, I have a problem that gives me a headache for some time. I am working on an LPC2136 based platform on a project that was developed on Rowley Crossworks before me. The platform includes different kind of devices such as: serial flash, bluetooth module, LCD graphic display , etc... Last months I moved that code to KEIL development environment.I was translating C code step by step and a...


UART communication @ 1 Mbps or more

Started by Richard Duits in LPC200016 years ago 11 replies

Hallo All, I am trying to let two boards communicate over a RS485 link at 3 megabits per second. One board has a LPC2368 and the other has a...

Hallo All, I am trying to let two boards communicate over a RS485 link at 3 megabits per second. One board has a LPC2368 and the other has a LPC2136/01. Both the LPC2368 and the LPC2136/01 have a 12 MHz crystal and are using the PLL to run at 48 MHz. The RS485 tranceivers are capable of 12 Mbps. Everything goes fine up to 500 kbps, but at 1 Mbps or higher the transmission has a una...


IAP Reinvoke ISP command - yet another omissions from documentation

Started by Mike Harrison in LPC200016 years ago 1 reply

Just tracked down another issue with "reinvoke ISP" that I just wasted another few hours finding, further to my post below a while ago........

Just tracked down another issue with "reinvoke ISP" that I just wasted another few hours finding, further to my post below a while ago..... This is on LPC2136/01 but probably applies to many other parts The "Reinvoke ISP" IAP command does not reinitialise the SP (R13) to a place that makes sense for use when ISP is active, so if you enter with SP in an unfortunate place ( like ISP workspace...


3 phase AC drive using LPC2136

Started by Mukund Deshmukh in LPC200016 years ago 18 replies

Dear All, Just wondering if LPC2136 has any issues for 3 phase 1/2 HP ac drive application. Any comments? Any one used it? Warm...

Dear All, Just wondering if LPC2136 has any issues for 3 phase 1/2 HP ac drive application. Any comments? Any one used it? Warm Regards, Mukund Deshmukh, Beta Computronics Pvt Ltd. 10/1 IT Park, Parsodi, Nagpur -440022 India. Web site - http://betacomp.com ------------------------------------


LPC2138: Strange SSP Behavior

Started by tah2k in LPC200019 years ago 7 replies

I'm writing the driver for the LPC2138 SSP block and I am encountering some strange behavior: First of all, the user manual...

I'm writing the driver for the LPC2138 SSP block and I am encountering some strange behavior: First of all, the user manual states SSPCR1, SSPCPSR, and SSPIMSC are all reset to 0x0 upon powerup. I am finding the following values in these registers after reset:


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


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


LPC 2138 programmer - LINUX

Started by Sara Fonseca in LPC200019 years ago 2 replies

Hi, I am looking for a LPC2138 serial programmer based on Linux. Do you know about anyone?

Hi, I am looking for a LPC2138 serial programmer based on Linux. Do you know about anyone?



The 2024 Embedded Online Conference