Forums Search for: UART
What is the UART CTI Interrupt?
inHi, 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
LPC1768 UART Interrupt question
inDoes 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
inI 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?
inWhat 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
lpc2292 uart interrupt
inHello 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...
LPC2148 UART0 failure to receive
inWe 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...
lpc2138 5V tolerant is not really tolerant!
inOn my board I have LPC2138 connected to MAX232 running at 5V. I had problems with UART until I added a 4.7K resistor in series. and the...
On my board I have LPC2138 connected to MAX232 running at 5V. I had problems with UART until I added a 4.7K resistor in series. and the voltage high on it now is 2.3V Are the pins real 5V tolerant? The data sheet says UART RX is 5V tolerant!!! Thanks in advance Gus
UART, SPI and SSP max speed ???
inHello all ! I'm working on the LPC214x family MCU and I need to know the different max speed, throughput for their embedded UART, SPI and SSP...
Hello all ! I'm working on the LPC214x family MCU and I need to know the different max speed, throughput for their embedded UART, SPI and SSP because I was not able to find them on the user manual ... Thanks a lot!
UART stuck waiting for THRE
inThis should work but it doesn't. I'm just running the simple blinky.c example, but my UART 0 gets stuck waiting for the tranmit hold register...
This should work but it doesn't. I'm just running the simple blinky.c example, but my UART 0 gets stuck waiting for the tranmit hold register empty bit to set: //------------------------------------------------------------------- #include void init_serial (void) { PINSEL0 = 0x00000005; UxLCR = 0x83; UxDLL = (VPB_CLOCK/16/BAUD_RATE) & 0xFF
Missing UART interrupts on 2103
inHello all, Okay so ive been racking my brain over this problem for about 3-4 days now and its driving me insane, ive searched this forum high...
Hello all, Okay so ive been racking my brain over this problem for about 3-4 days now and its driving me insane, ive searched this forum high and low and tried lots of different solutions and i still get the same problems! Basically what im trying to do is setup a simple interrupt driven uart that uses a circular buffer. The method im using is as follows: I fill the circular buffer, th...
Olimex LPC2148 and IAR UART example
inHi, Has anyone gotten the Olimex LPC2148 development board and IAR Uart example working for the LPC214X? I can see something with ...
Hi, Has anyone gotten the Olimex LPC2148 development board and IAR Uart example working for the LPC214X? I can see something with hyperterminal, however it is just junk characters. I have tried all available baud rates. Is this code possibly for a specific dev board? This is an initial test to get running, what I really need to do is get FAT16 talking to an sd/MM
UART CTI ( Character time out indicator) Interrupt
inHi, I am using MODBUS serial communication through UART on LPC2138. My transmission works fine, but for some reason during reception, I never...
Hi, I am using MODBUS serial communication through UART on LPC2138. My transmission works fine, but for some reason during reception, I never seem to get the RDA interrupt and always get the CTI instead. I have enabled only the RBR interrupt and disabled the THRE and RX line status interrupts. Anyone has faced any similar problems? Suggestions and tips are welcome Thanks, Swetha
max baud rate with UART ?
inhello, I need to interface someLPC with Lantronix Xport (UART to ethernet gateway in an single RJ45 connector). The max...
hello, I need to interface someLPC with Lantronix Xport (UART to ethernet gateway in an single RJ45 connector). The max baudrate for the Xport is 900000kbaud/s. Can I obtain it with LPC ??(I don't find the max in the user manual :( ) thanks in advance.
Getting lnewlib-lpc (Ver 5a) uart1 interrupts to work with WINARM
inHello, 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 */...
UART THRE interrupt not working
inI've been stuck on this for a few days now. I was using the UART tx in a polled fashion, but it was wasting too much processing time. So I'm...
I've been stuck on this for a few days now. I was using the UART tx in a polled fashion, but it was wasting too much processing time. So I'm trying to set up an interrupt for txing. Rx works fine for the record. Basically what I have is whenever I want to print something using printf, I use putchar to put the data into a buffer. The THRE interrupt is supposed to fire to pull data out o...
Problem getting simple UART working on LPC2148
inHello, I am having some problem getting the UART working on the PLC2148. I am trying to send a character to the PC, but all I got was junk. ...
Hello, I am having some problem getting the UART working on the PLC2148. I am trying to send a character to the PC, but all I got was junk. Can some one look over my code to see what's going on? thanks, --------------- #include void init (void) { U0IER = 0x00; //-disable all interrupts U0IIR; //-clear interrupt ID U0RBR; //-clear receive register U0LSR; /
interrupting an I2C transaction with a UART interrupt using LPC2148
inIf during an I2C transaction (writing to a I2C display), I get a UART interrupt that has a possible I2C transaction itself (writing 2 bytes to...
If during an I2C transaction (writing to a I2C display), I get a UART interrupt that has a possible I2C transaction itself (writing 2 bytes to I2C RAM), how do I handle that? Is the display transaction lost? Does the UART I2C transaction get locked because the display has control of the I2C bus just before the interrupt? Does the display's I2C transaction time out, drop the bus, and t...
software uart for lpc21xx
inHello I am fairly new to arm. I have to code a software driven uart for a sample application. I checked out some previous posts regarding...
Hello I am fairly new to arm. I have to code a software driven uart for a sample application. I checked out some previous posts regarding the same, but code samples were posted. Any code samples for arm or any help in any other form will be appreciated. Thanks Ankur
Uart receive timeout Interrupt?
inHi, I am migrating a serial communications interface (Modbus) to a LPC2138 processor. The Modbus spec defines that an end of message...
Hi, I am migrating a serial communications interface (Modbus) to a LPC2138 processor. The Modbus spec defines that an end of message has occurred when a period equal to 3.5 characters has passed since the last character has been received. The LPC uart can generate an interrupt if the receive buffer has characters in it and no charac
Questions on the UART Interface
inJust for clarification on the UART Block Diagram (see UM)... 1. Do U0TSR & U0RSR actually representthe Tx & Rx FIFO buffers? I ...
Just for clarification on the UART Block Diagram (see UM)... 1. Do U0TSR & U0RSR actually representthe Tx & Rx FIFO buffers? I only see U0TSR & U0RSR illustrated here and I can't find any other documentation for it. Now concerning U0THR & U0RBR (data r