UART1 and FIFO Reset (ISSUE)

Started by genie_23432 in LPC200014 years ago

Hello, After much fustration I appear to have solved most of my stability issues (although not all of them). I seem to have an...

Hello, After much fustration I appear to have solved most of my stability issues (although not all of them). I seem to have an undocumented issue with UART1 on the LPC2119 and was wondering if anyone else ran into the same problem. At the very least I figure I would warn people about the potential issue since I couldn't find it in the current er


Help wanted for UART1 configuration LPC2388

Started by neliz_x in LPC200010 years ago 3 replies

Hello everybody, Currently I'm doing some tests with a LPC2388 on the MCB2300 board from KEIL. All of the code is written in Eclipse and...

Hello everybody, Currently I'm doing some tests with a LPC2388 on the MCB2300 board from KEIL. All of the code is written in Eclipse and compiled with the YAGARTO toolchain. I want to display the results of the test in a hyperterminal session using UART1. I've gone through several example programs, but I havent any luck in getting it to work, no characters on appear on the terminal win...


UART0 UART1 interrupt conflict

Started by yunhebian in LPC20009 years ago 2 replies

In a program, timer0, UART0 and UART1 can run separatly without problem. But they only run several minutes if they are enabled together. I noticed...

In a program, timer0, UART0 and UART1 can run separatly without problem. But they only run several minutes if they are enabled together. I noticed there are no interrupt generated when the three failed. Anyone has this experience? Thanks, ------------------------------------


UART0 and UART1 of LPC2148

Started by raju_nem in LPC20009 years ago 1 reply

What is the maximum baudrate (UART0 and UART1) of lpc2148?UART0 DLL AND DLM are 8 bit registers.Thanks...

What is the maximum baudrate (UART0 and UART1) of lpc2148?UART0 DLL AND DLM are 8 bit registers.Thanks inadvance. ------------------------------------


help!about UART0 and UART1 of LPC2148

Started by hbaocr in LPC200010 years ago 4 replies

I want to use both of two UART chanel for my applications.But when I do it!I have some problem! At first I receive data from UART1 then I send...

I want to use both of two UART chanel for my applications.But when I do it!I have some problem! At first I receive data from UART1 then I send data to PC through UART0 !And I have met problem that is:the font of The string I received on PC are wrong!and I can't read anything!Please help me solve that probelm! thanks ------------------------------------


debugging UART1

Started by Andy Zammy in LPC200010 years ago

hi all, i'm trying to get my uart peripheral to work (lpc2368 on MCB2300), and i'm struggling with it. first off, i'm using uart1 - the reason...

hi all, i'm trying to get my uart peripheral to work (lpc2368 on MCB2300), and i'm struggling with it. first off, i'm using uart1 - the reason i'm using 1 is because i'm not 100% sure how i can reprogram with uart0 once i start using it in an application. just so i know, how would i use uart0 in an application and still use it to reprogram? just cycle power? anyway, not the most important part ...


LPC2013 UART1 bootloader

Started by Hanns Tappeiner in LPC200010 years ago

Hi, for several reasons I need a boot loader which talks to UART1 and also uses a diferent protocol than the LPC2103 bootloader sitting in...

Hi, for several reasons I need a boot loader which talks to UART1 and also uses a diferent protocol than the LPC2103 bootloader sitting in ROM. Does anyone have an example of a secondary bootloader for the LPC2103, which can program the rest of the controllers flash? Or is there a reason why that woudlnt work? Thanks alot, Tappo ------------------------------------


LPC2148 and UART with hardware handshaking

Started by Gus in LPC200013 years ago 3 replies

Hello, Is it possible enable TX,RX,CTS and RTS on UART1 on LPC2148 (with HW handshaking) while using the rest of UART1 pins as general...

Hello, Is it possible enable TX,RX,CTS and RTS on UART1 on LPC2148 (with HW handshaking) while using the rest of UART1 pins as general purpose pins? Thanks, Gus


Lost UART1 IRQ?

Started by vajper0 in LPC200014 years ago 9 replies

I'm writing a driver for UART1 on a LPC2138. So far most things seems to work (considering the crappy hardware capabilities). My current ...

I'm writing a driver for UART1 on a LPC2138. So far most things seems to work (considering the crappy hardware capabilities). My current problem is that I loose interrupts when receiving data. I run the UART in 115200bps and my ISR takes care of all IRQs except the modem status ones that are not enabled. If I send a block of a couple of hundreds characters


Problems with UART1 on LPC2132

Started by soren_t_hansen in LPC200014 years ago 16 replies

Hi everybody I want to transmit a number og bytes on UART1 and some of them are 0. When I receive the bytes on the PC, all the 0s are...

Hi everybody I want to transmit a number og bytes on UART1 and some of them are 0. When I receive the bytes on the PC, all the 0s are gone, resulting in an error on that side. I use the following to transmit the bytes: while (!(U1LSR & 0x20)); U1THR = buffer[i]; Isn't possible to transmit a 0? Best Regards


interfacing of lpc2148 with c328r

Started by mathewsheni in LPC20009 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. ------------------------------------


lpc2138 uart1 drops interrupts

Started by adrianunderwater in LPC200011 years ago 1 reply

Hi I have a following problem that I just can't get my head around. I wonder if anyone else experiences this or if I have not stumbled...

Hi I have a following problem that I just can't get my head around. I wonder if anyone else experiences this or if I have not stumbled upon the right errata sheet.... Most of the code is written in Assembly There are 4 IRQ interrupt sources; priority 0 = timer0 priority 1 = timer1 priority 10 = uart0 priority 11 = uart1 uart0 is only used for debugging and interacting with the b...


LPC2368 UART Query

Started by Kiran in LPC200011 years ago 2 replies

Hi, It is regarding UART in the LPC2368. UART1 has full modem control pins. If UART1 is enabled & only Tx, Rx, CTS & RTS are used for UART...

Hi, It is regarding UART in the LPC2368. UART1 has full modem control pins. If UART1 is enabled & only Tx, Rx, CTS & RTS are used for UART communications, whether remaining pins (RI, DCD etc.) can be used for other application (as port pin)? Regards, Kiran


UART1 RX LPC2148

Started by Sutton Mehaffey in LPC200012 years ago 14 replies

I have a problem where my code locks up on receiving a RX interrupt on UART1. I have been transmitting data to a serial display with...

I have a problem where my code locks up on receiving a RX interrupt on UART1. I have been transmitting data to a serial display with no problems, although with interrupts disabled. Anybody see any omissions or problems with this? I didn't include code such as PLL setup, because a lot of other features work. But if anyone needs it, I'll post it. Thanks. Sutton - dodge55 Notes on code ...


LPC2148 UART0 vs. UART1

Started by Sutton Mehaffey in LPC200012 years ago

I have been using UART1 for quite a while reading in raw sensor values. It's worked very well. No problems. Recently, I converted my sensor...

I have been using UART1 for quite a while reading in raw sensor values. It's worked very well. No problems. Recently, I converted my sensor readings over to UART0, but I'm having a little problem getting it to work properly. I thought it would be a straight conversion, and it still looks like it should be. I changed my troubleshooting to isolate the problem. Running my code to uti...


Uart0 and uart1

Started by Pankaj in LPC20009 years ago 6 replies

I am using lpc2148, and uart0 is at 115200 buad rate. i have to use uart0 and uart1 at same point of time, and I am struggling in code. please...

I am using lpc2148, and uart0 is at 115200 buad rate. i have to use uart0 and uart1 at same point of time, and I am struggling in code. please can someone forward me code for both uart at different baud rate ------------------------------------


UART1 - lpc2106

Started by vidya_srinivas2000 in LPC200015 years ago 4 replies

hello all v have a lpc2106 board from nohau. i was trying to use both UART0 & 1 when my board stopped working. i was writing to...

hello all v have a lpc2106 board from nohau. i was trying to use both UART0 & 1 when my board stopped working. i was writing to UART0 and also to UART1 i am not able to download my program now with the ISP. all the voltages seem to be right and most of all my program still


Getting lnewlib-lpc (Ver 5a) uart1 interrupts to work with WINARM

Started by ocnek1 in LPC200013 years ago 3 replies

Hello, Using the "polled" mode for uart1 works without any problems at all. But now I would like to make the uart interrupt driven. Now when...

Hello, Using the "polled" mode for uart1 works without any problems at all. But now I would like to make the uart interrupt driven. Now when I change the device table to the following, the uart only transmitts ONE character and then hangs... (NOTE: added _int to each of the com1's) const struct device_table_entry *device_table[] = { &com1_int, /* stdin */ &com1_int, /* stdout */...


RS485 and UART1

Started by varuzhandanielyan in LPC200013 years ago 4 replies

I use UART1 to connect to RS485. For it I need to enable RS485 transmitter before sending and again desible it when sending is over. Below is...

I use UART1 to connect to RS485. For it I need to enable RS485 transmitter before sending and again desible it when sending is over. Below is my code: void Transmit1(int ch) { U32 enabled_interrupts; // wait for transmission completed while (!(U1LSR & TEMT)); enabled_interrupts = VICIntEnable; //disable all interrupts VICIntEnClr = enabled_interrupts; U1THR = ch; /


FIQ Newbie Help needed

Started by dba008nz in LPC200010 years ago 6 replies

I'm trying to get FIQ interrupt to work on a LPC2148 using Winarm. Uart1 receives ASCII caharcters from a GPS at 19200 baud, and I am trying to...

I'm trying to get FIQ interrupt to work on a LPC2148 using Winarm. Uart1 receives ASCII caharcters from a GPS at 19200 baud, and I am trying to get the FIQ interrupt to run every time there is a data comming into Uart1, but it does not work. I think the problem maybe to do with the FIQ vector address, and I don't know how to point it to 0x0000001C from where the FIQ jumps to. Any help would be gra...