UART loopback LPC2368UART.c

Started by suni in LPC20009 years ago

Hi everybody, I am new bie in this field. Bought MCB2360(LPC2368)and trying for UART loopback code.I could see output in simulator only when I...

Hi everybody, I am new bie in this field. Bought MCB2360(LPC2368)and trying for UART loopback code.I could see output in simulator only when I give input from the Command Window but not in Hyper terminal.Please help me what I am missing in my code.Below is the given code. ------------------------------------


Use the UART within a transmit interrupt

Started by riccardoventrella in LPC200012 years ago

Hi, I'm modifying the BlinkyCAN project, in order to add a sniffer for seeing the transmitted or received messages using the UART and the...

Hi, I'm modifying the BlinkyCAN project, in order to add a sniffer for seeing the transmitted or received messages using the UART and the hyperterminal. I?ve discarded to use the official printf from the runtime, 'cause linking it raises too much the code size, so I've decided to write a small "myprintf" I'll use for this purpose, and works quite well. The problem arises when I try ...


LPC2364 ISP - Uart port

Started by rina13in in LPC200012 years ago 2 replies

Hi, We want to use LPC2364 and want it to be programmed through ISP. I could not clearly find in the user manual which UART (0/1/2/3)...

Hi, We want to use LPC2364 and want it to be programmed through ISP. I could not clearly find in the user manual which UART (0/1/2/3) is used for ISP Handling? Can anyone help with this information ? Thanks, Rina


LPC UART RX with DMA

Started by "b.gottfried" in LPC20008 years ago 1 reply

Hi All, I'm working on LPC17xx, but maybe somebody can answer. I'm using GPDMA driver for the UART RX. I always receive the same number of...

Hi All, I'm working on LPC17xx, but maybe somebody can answer. I'm using GPDMA driver for the UART RX. I always receive the same number of characters, which I send. I see that sometimes single character is lost, but then I get additional one, after a short time. I've implemented RX ringbuffer. The DMA stops on DMA IRQ (GPDMA_STAT_INTTC), does the wrap around to the buffer, and reloads the...


LPC2119 uart work detail

Started by "map...@yahoo.com [lpc2000]" in LPC20004 years ago 1 reply

HELP!  Thanks! I donot know the usage difference of LPC119uart between "Receive Data Available(RDA)" and "Receiver Data Ready (RDR)", I donot...

HELP!  Thanks! I donot know the usage difference of LPC119uart between "Receive Data Available(RDA)" and "Receiver Data Ready (RDR)", I donot know how uart woks in detail. I need your help. 


Need UART code using ringbuffer

Started by elvis_seventy_seven in LPC200015 years ago 1 reply

Is there any example uart code for the LPC2129, which uses a tx/rx ringbuffer in RAM? I'm using MCB2100 with the Keil tools. ...

Is there any example uart code for the LPC2129, which uses a tx/rx ringbuffer in RAM? I'm using MCB2100 with the Keil tools. Regards, elvis_seventy_seven


Samples for UART Driver for LPC2103

Started by Tidhar Tsuri in LPC200012 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


CTI interrupt

Started by dave...@dgtech.com in LPC20009 years ago 6 replies

Hello All, I think I have found a quirk in the LPC2292. I want to bounce this off the great minds of this forum to assure me that I...

Hello All, I think I have found a quirk in the LPC2292. I want to bounce this off the great minds of this forum to assure me that I understand this correctly. I have the UART connected to 2 physical layers via a mux. When I switch from one to the other, I sometimes get a CTI interrupt. My understanding of this interrupt is if the UART has received some bytes, but not enough to meet t...


About UART registers

Started by francesco bartoli in LPC200011 years ago

Dear All, I am experiencing with LPC2138 and I have some doubts about the UART registers. I see that in file "lpc2138.h" some registers...

Dear All, I am experiencing with LPC2138 and I have some doubts about the UART registers. I see that in file "lpc2138.h" some registers (such as U0FCR, U0THCR, U0LSR and others, as well as all the registers of the UART1) are missing. Why? Should I manually insert them like in the files relative to other families (lpc2129.h, for example). thanks in advance ----------------------...


Timer Interrupt And UART Interrupt

Started by rijan Shrestha in LPC20006 years ago 2 replies

I am having problem in understanding timer interrupts and its use? I mean ,= how it can be more useful than the delays we generaly use...

I am having problem in understanding timer interrupts and its use? I mean ,= how it can be more useful than the delays we generaly use as {while(int i=3D0;i


What is the UART CTI Interrupt?

Started by Robert Davis in LPC200015 years ago 3 replies

Hi, I am working with the UART1 of the LPC2106 using the UARTecho sample program with the KickStart board from IAR. The UART...

Hi, I am working with the UART1 of the LPC2106 using the UARTecho sample program with the KickStart board from IAR. The UART keeps generating the character time-out indicator interrupt. I have looked through all of the documentation from Philips and I cannot find an explanation of what actually


Disable UART RDA on command?

Started by lpcstein in LPC200013 years ago

Hi Group Is there any way to disable the UART rda without disabling transmission? I want to ignore all rx activity on command. Now I know...

Hi Group Is there any way to disable the UART rda without disabling transmission? I want to ignore all rx activity on command. Now I know that I could probably just throw rx bytes away, but I'm looking for a cleaner method if available. I am also aware of the potential spurrious interrupts and will handle that matter. Thanks, Tomas


LPC2114/01 user manual

Started by Kerem Or in LPC200012 years ago 1 reply

Can anyone tell me where to get an updated user manual of lpc2114/01? This new version, according to datasheet, has fractional baud generator...

Can anyone tell me where to get an updated user manual of lpc2114/01? This new version, according to datasheet, has fractional baud generator in its uart. No address and information given though. If I assume it's similar to lpc2368 and initialize it accordingly, the uart receives many framing errors. Thanks, Kerem


UART0 Eclipse

Started by sam kim in LPC200010 years ago 1 reply

Hi friends, My question to the forum is that I am facing the UART interrupt problem,well I was successful enough in displaying a string of...

Hi friends, My question to the forum is that I am facing the UART interrupt problem,well I was successful enough in displaying a string of characters, now I wanted to try the same UART(Keil) example under ECLIPSE platform having made necessary changes,am not able to echo the characters on the terminal.Could anyone please tell the solution to this problem.Thank You. ---------------------...


LPC1768 UART Interrupt question

Started by Ron in LPC20009 years ago 1 reply

Does the 1768 have any sort of Transmission Complete interrupt? I see that there is a flag (TEMT) in the UART Line Status Register, but it...

Does the 1768 have any sort of Transmission Complete interrupt? I see that there is a flag (TEMT) in the UART Line Status Register, but it doesn't appear to trip an interrupt. I wanted to make sure I searched for everything before implimenting a polling solution for identifying transmissions being complete. ------------------------------------


UART in LPC2138

Started by Vijay Kumar in LPC20007 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 ------------------------------------


Max Baud Rate of LPCxxxx UART?

Started by Chris Graham in LPC200014 years ago 3 replies

What is the maximum baud rate that the uart of these devices can support? I'm interested in driving an RS485 link at up to 1 mbps. ...

What is the maximum baud rate that the uart of these devices can support? I'm interested in driving an RS485 link at up to 1 mbps. - Chris


More UART woes

Started by vajper0 in LPC200014 years ago 5 replies

Still working on my UART driver for the LPC2138. Now I'm having problems with lost Tx data from the LPC to a PC. I don't have a clue about...

Still working on my UART driver for the LPC2138. Now I'm having problems with lost Tx data from the LPC to a PC. I don't have a clue about what I'm doing wrong and I haven't found anything on the web indicating this is a common problem. The problem is that sometimes one or a few bytes that I write to the THR don't show up at the PC. If there is data to be


Hi All,

Started by aditya_i4u in LPC200013 years ago

I am new to this group... Actually I need a c code for UART for LPC 2124 that can run on any IDE also can some tell me how to configure the...

I am new to this group... Actually I need a c code for UART for LPC 2124 that can run on any IDE also can some tell me how to configure the uart and debug terminal.. Thanks Aditya ------------------------ Yahoo! Groups Sponsor --------------------~--> Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/dN_tlB/TM -----


lpc2292 uart interrupt

Started by kooroshhajiani in LPC200012 years ago 13 replies

Hello every one, I'm having a peculiar issue with uart Rx unterrupt. I'm running at 9600bps and keep recieving streams of bytes sent to me...

Hello every one, I'm having a peculiar issue with uart Rx unterrupt. I'm running at 9600bps and keep recieving streams of bytes sent to me via an RS232 port, so far so good however for every 240 bytes(char)I miss 4 bytes or so every time and this is like clockwork.I thought maybe some other higher priority interrupt preempts this one so I killed all the other ones. then I configured my...