EmbeddedRelated.com
The 2024 Embedded Online Conference

Samples for UART Driver for LPC2103

Started by Tidhar Tsuri in LPC200017 years ago 1 reply

Dear Friends, I working on a problem for couple a days, I can not receive interrupt from UART0, I need some samples code...

Dear Friends, I working on a problem for couple a days, I can not receive interrupt from UART0, I need some samples code for for UART Driver for LPC2103 Thanks, Teddy Regards, Tidhar Tsuri


LPC2103 Uart Problem

Started by adriaanswan in LPC200017 years ago 5 replies

Hi, I am very new to ARM processors, and as a first simple task I just want to dump something a pc can read. I am using Keil uVision 3.5...

Hi, I am very new to ARM processors, and as a first simple task I just want to dump something a pc can read. I am using Keil uVision 3.5 with RealView compiler. The processor is a LPC2103, XTAL 19.6608, CCLK 58.9824, M 3, P 2. I am trying to dump Hello World! to UART0 but nothing. I calculated U0DLL based on the Phillips application note AN10369. Any Ideas? Below is the code I a...


interfacing of lpc2148 with c328r

Started by mathewsheni in LPC200014 years ago 1 reply

hi,has anyone worked on c328r.i m facing problem in synchronizing with camera.i hav connected camera to uart1 port..and simultaneously...

hi,has anyone worked on c328r.i m facing problem in synchronizing with camera.i hav connected camera to uart1 port..and simultaneously checking the camera output from uart0.is any extra caommand need ed wen operating on both the uart's or specifically on uart1. thanks....group. ------------------------------------


LPC2148 and uC/OS-II and UART interrupts

Started by jdauchot in LPC200015 years ago 1 reply

Hi I am writing an application for LPC2148 and uC/OS-II. I am having problems implementing a UART0 interrupt using the example posted On the...

Hi I am writing an application for LPC2148 and uC/OS-II. I am having problems implementing a UART0 interrupt using the example posted On the LPC200 group using uC/OS-II and GCC. The application works OK as long I type the characters on hyperterminal. If I send data via the file transfer, I loose characters. Can anyone help as I have done all the required searches on google etc. Has any...


ISP thru RS485

Started by subb...@gmail.com in LPC200015 years ago 14 replies

Hi, I am building a system using LPC2138. I intend to have RS485 (Full duplex) interface using UART0. I like to use ISP thru RS485. I can?t...

Hi, I am building a system using LPC2138. I intend to have RS485 (Full duplex) interface using UART0. I like to use ISP thru RS485. I can?t have secondary RS232(for ISP purpose at least) interface due to board space constrain. Could some one guide on this. Thanks in advance, Regards ------------------------------------


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 ------------------------------...


LPC2388 -- UART2 and UART3

Started by Carolina in LPC200013 years ago 2 replies

Hello everyone, I am simply trying to use UART2 and UART3 to implement my printf function. I have tested my code with UART1 and UART0 and it...

Hello everyone, I am simply trying to use UART2 and UART3 to implement my printf function. I have tested my code with UART1 and UART0 and it works fine. However, when I change the settings for UART2 or UART3 it doesn't work. I was wondering if maybe in order to use those serial ports I need to add an extra step to my initialization. Please let me know. #include


Programming LPC2292 through UART

Started by Unnati Shah in LPC200015 years ago 7 replies

Hi, I want to know the step by step procedure for programming the LPC2292 chip through the serial port, UART0. Please tell me how to do...

Hi, I want to know the step by step procedure for programming the LPC2292 chip through the serial port, UART0. Please tell me how to do that. Also suggest which programming software is to be used to download the program on to the on chip flash. Unnati Shah __,_._uuuu ------------------------------------


lpc2138 usb modem interface

Started by jignesh in LPC200012 years ago 1 reply

hey can anyone help me out with my project. i want to interface a usb modem with lpc2138 via uart0. please provide me with necessary circuit...

hey can anyone help me out with my project. i want to interface a usb modem with lpc2138 via uart0. please provide me with necessary circuit diagrams.. ------------------------------------


Problems flashing LPC2138

Started by markevans_1 in LPC200019 years ago 2 replies

Hi I have a LPC2138 soldered onto my own board. I have a USB-serial bridge IC attached to UART0. I am using a 12MHz crystal (I have also ...

Hi I have a LPC2138 soldered onto my own board. I have a USB-serial bridge IC attached to UART0. I am using a 12MHz crystal (I have also tryed 16MHz) I have no 32kHz crystal attached. Using Phillips flash utility I can read device ID: 196389, Boot loader ID: 2.0. I can successfully erase and blank check. However when I attempt to Upload


LPC2148 UART0 failure to receive

Started by mlcchemtrac in LPC200016 years ago 12 replies

We need to be able to disconnect and reconnect our serial communications without causing a system upset. Here is the kicker... The UART...

We need to be able to disconnect and reconnect our serial communications without causing a system upset. Here is the kicker... The UART operates correctly, RS232 9600 baud. However, when the RS232 cable is disconnected then at some later time reconnected the UART will not receive any data. I have scoped the signal through the MAX3232 and it looks as I expect. In my code the processor i...


MCI protocol for SD CARD with lpc2368

Started by filipepferraz in LPC200014 years ago 1 reply

I'm new to arm programming, with books and examples found on the Internet I goota some of the microcontroler functions to work like: use of fic,...

I'm new to arm programming, with books and examples found on the Internet I goota some of the microcontroler functions to work like: use of fic, irq, uart0, rtc, gp/io, lcd mod, a/d. I'm really lost now, i'm trying to communicate with the SD CARD to initially write a block and record a variable for example. And in a futher use a Fat32 filesystem. I'm using Yagarto compiler. I found some exa...


LPC2148 - DAbt_Handler

Started by Sutton Mehaffey in LPC200011 years ago 2 replies

We have a new system inhouse that uses a LPC2148 and every few days (it's really random), the system locks up and requires a hard reset. I...

We have a new system inhouse that uses a LPC2148 and every few days (it's really random), the system locks up and requires a hard reset. I have a serial RX tied to UART0 getting packets of info. I got it to fail on my debugger with much effort and noticed that the code aborts to location 0x00000040. Is this the DAbt_Handler? I don't have any code mapped to any of these handlers? Any...


hi, why can not read device signature (lpc 2364)

Started by myn0601 in LPC200016 years ago 1 reply

hi, good afternoon, everybody, I am using LPC2364, SSD1926 and the Touch screen LCD together to show something on the LCD, but now the...

hi, good afternoon, everybody, I am using LPC2364, SSD1926 and the Touch screen LCD together to show something on the LCD, but now the LPC2364 and SSD1926 all do not have short circuit any more, the 3 power supplier levels 5v , 3.3v , 1.8 v all there stable. the MCU is connected to PC through UART0, max232 also powered correctly, this part of circuitry refer to the MCB2300 evaluati...


Not returning from, or getting stuck in interrupts (maybe)

Started by kd7vn in LPC200017 years ago 5 replies

I'm new to arm and the tools, but have done some PIC in the past, and I could use some help. I have a OLIMEX board with a lpc2103, and doing...

I'm new to arm and the tools, but have done some PIC in the past, and I could use some help. I have a OLIMEX board with a lpc2103, and doing the developement with the GNU ARM tools. I have made two interrupt routines. One turns on an LED when I get a Uart0 interrupt, and the other prints "Philips" to the serial port when the button gets pushed (extint2). Both interrupt routines get...


UART0 and UART1 baud rate calculations

Started by dodge1955 in LPC200018 years ago 13 replies

Has anyone ever done some type of spreadsheet on the different UxDLL and UxDLM values along with MULVAL and DIVVAL for the most...

Has anyone ever done some type of spreadsheet on the different UxDLL and UxDLM values along with MULVAL and DIVVAL for the most popular crystals to make the baud rate come out perfect (like 9600, 19200, etc). The manual has the examples for 20Mhz, but it would be nice to have some appendix that has a table of values that come out even for a variety of commonly used crystals. 11.059Mhz is o


LPC2138 UART1 problem

Started by wirelessisgood in LPC200018 years ago 5 replies

Has anyone come across this problem? UART0 and UART1 are set up identically. 115Kbaud, 8,N,1. No modem features. Both works, but after about...

Has anyone come across this problem? UART0 and UART1 are set up identically. 115Kbaud, 8,N,1. No modem features. Both works, but after about 1 hour, UART1 stops receiving. UART1 still transmits properly. Resetting IC does not get UART1 to work again. Power Cycling does not get UART1 to work again. Replacing the IC, however, does get UART1 to work again, but only for a brief time. Th...


LPC2294 UART Interrupt problem

Started by bahadir_armagan in LPC200017 years ago 1 reply

Hi All, I recognized that I have an interrupt problem. I can't get into the vector both after receive or transmit. I checked all the...

Hi All, I recognized that I have an interrupt problem. I can't get into the vector both after receive or transmit. I checked all the initialized VIC registers I couldn'T find the error. Please help. Here is the Init: /*INIT*/ void serial_init (void) { // PINSEL0 = 0x00050000; /* Enable RxD1 and TxD1 */ PINSEL0 |= 0x00000005; /// UART0 ...


square wave generation

Started by arun in LPC200011 years ago 12 replies

Hi, I am using LPC2368 to generate 16 square waves of independent frequency. The program works well in simulation but there are no square waves...

Hi, I am using LPC2368 to generate 16 square waves of independent frequency. The program works well in simulation but there are no square waves generated in hardware. UART0 is used to get values which determines frequency of each wave. Please help. I'll upload the program file named 4timers.c ------------------------------------


LPC1769 timer issue

Started by r_goncalves2000 in LPC200012 years ago 4 replies

Hello I'm using an LPC1769 and CMSISv2p00_LPC17xx. I use a 12MHz crystal and the CPU is running at 120MHZ. In my board I use the UART0, I2C,...

Hello I'm using an LPC1769 and CMSISv2p00_LPC17xx. I use a 12MHz crystal and the CPU is running at 120MHZ. In my board I use the UART0, I2C, watchdog, LCD, etc.. I also have timer 0 running. Sometimes after a reset it seens like the timer is running without the correct value but much more slower. Everything else seems to work ok (UART, E2PROM access, LCD, etc...) This problem seens to b...



The 2024 Embedded Online Conference