LPC2468 uart 2 and 3 not running

Started by Martijn Broens in LPC20009 years ago 2 replies

Hi All, I'm trying to get all the uarts on the 2468 running. Uart 0 and 1 are running. Uart 1 and 2 not. I execute the same code for all 4...

Hi All, I'm trying to get all the uarts on the 2468 running. Uart 0 and 1 are running. Uart 1 and 2 not. I execute the same code for all 4 uart channels. With the exeption off course that the registers are different in number (U0LCR becomes U2LCR etc). I've set the pinmode register to diable pullups see below. But still not running. If I halt the cpu I can see that its waiting for : ...


LPC23xx UART Issue :Disable Uart Interupts and reenable it again

Started by prab...@yahoo.co.in in LPC20008 years ago 4 replies

Hi all, I am using LPC2364 processor and implemented UART ISR.Its working fine.I have to disable UART interrupts before go to Powerdown...

Hi all, I am using LPC2364 processor and implemented UART ISR.Its working fine.I have to disable UART interrupts before go to Powerdown mode and reenable it again after wake up from powerdown mode.For that i am using following code Disable: Clear UART bit in PCONP then UxIER = ox00; ClrInterruptSource = UxIIR | UXRBR |UxLSR; Leave VIC Interrupt se...


Embedded Artists LPC2106 UART#1

Started by xploredteam in LPC200010 years ago

Hi all, this is my first post :-) I am developing a robot controller based on a LPC2106. I have started with an Embedded Artists LPC2106 RS232...

Hi all, this is my first post :-) I am developing a robot controller based on a LPC2106. I have started with an Embedded Artists LPC2106 RS232 QuickStartBoard. Actually I can use with success UART#0 that is interfaced with a GPS receiver, but I need to control an actuator via UART#1 (TTL) that (I think) is on P.0 and P.1. Could I use the startup code provided for UART#0 ? I have some ...


LPC2468 UART port not working

Started by vasanth` raj in LPC200010 years ago 1 reply

Hi, I had worked with LPC2148 prototype board with ARM GDB open OCD and its fine. Now I am using the same configrations of LPC2148 and...

Hi, I had worked with LPC2148 prototype board with ARM GDB open OCD and its fine. Now I am using the same configrations of LPC2148 and Script files for LPC2468 and try to configure the UART port with the samples available , i had burnt the code to the device flash but I could not see any prints in the terminal. I had configures for UART 0 and UART 1. I dosn't know were i go wrong. I env...


Re: LPC2368 UART Query

Started by siover2001 in LPC200010 years ago

--- In l...@yahoogroups.com, "Kiran" wrote: > > Hi, > > It is regarding UART in the LPC2368. > UART1 has full modem control pins. >...

--- In l...@yahoogroups.com, "Kiran" wrote: > > 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 > > > no you cann't use like this. uart ter


GNUARM Eclipse Problems (Philips LPC2103)

Started by Richard in LPC200011 years ago 5 replies

Toolset assemnbled ala Lynch tutorial. I am starting to add UART code to blinky. I have added a uart.c and uart.h. uart.c added to...

Toolset assemnbled ala Lynch tutorial. I am starting to add UART code to blinky. I have added a uart.c and uart.h. uart.c added to Makefile. In uart.h I have declared: void uart0Putch(unsigned char byte_out); In main.c I call: uart0Putch(0xAA); This results in a "undefined reference" error at this line. I add a void to get: void uart0Putch(0xAA); and I get the errors: "parse error...


LPC2368 UART IRQ wrong data

Started by gaRek in LPC20005 years ago 4 replies

Hello ? I have a painfull problem with UART running @ LPC2368. Global scope is that I'm doing echo_test and receiving different data than send....

Hello ? I have a painfull problem with UART running @ LPC2368. Global scope is that I'm doing echo_test and receiving different data than send. First thing that should be checked are clocks, thats ok - checked. But I've observed weird behaviour recently: ? 1) Making uart implementation in the same file which contains main function, PLL initialization - works fine! 2) Making uart in ../libuart...


uart tx overrun

Started by shwouchk in LPC200010 years ago 2 replies

Hi, I am writing code for handling uart right now, and I became concerned with the size of the Tx fifo and of overrunning it. I thought...

Hi, I am writing code for handling uart right now, and I became concerned with the size of the Tx fifo and of overrunning it. I thought about using the scratch register to count how many chars were sent and each time it gets to 16 to wait for a THRE interrupt to clear it. I think this method would be highly inefficient in terms of uart transmission rates. What would you recommend for ...


LPC21XX 3rd UART Example needed

Started by radim100 in LPC200012 years ago 1 reply

Hi, I need 3rd UART in my project so software UART implementation is obvious . I have transmitting part but does anybody has some...

Hi, I need 3rd UART in my project so software UART implementation is obvious . I have transmitting part but does anybody has some interrupt driven receiver site of code ( ANSI C or ASM is OK ). My baud rates should be bellow 19200Bd. Thanks radim.


UART Test w/ Blinky Lights - Updated

Started by Bill Knight in LPC200013 years ago

Based upon the recent discussions concerning the UART TX FIFO, I have updated my UART Test w/ Blinky Lights program in the files section....

Based upon the recent discussions concerning the UART TX FIFO, I have updated my UART Test w/ Blinky Lights program in the files section. The new (totally undescriptive) name is UT050418A.zip. The ISR code now checks if the FIFO is enabled when servicing a THRE interrupt. If so, 16 characters are loaded into the UART. If not, only a single character is load


Re: LPC2000 UART drops characters silently?

Started by jayasooriah in LPC200011 years ago 48 replies

System is LPC2292; XTAL = 14.7456 MHz; PLL disabled; MAM disabled; VPBDIV = 1; UART = 8-data, 1-stop, no-parity, FIFO enabled. Symptom are...

System is LPC2292; XTAL = 14.7456 MHz; PLL disabled; MAM disabled; VPBDIV = 1; UART = 8-data, 1-stop, no-parity, FIFO enabled. Symptom are that for certain (low) baud rates, UART silently drops characters on Rx channel when saturated. There is no indication of this in the LSR and none of the error bits (OE|PE|FE|BI|RXFE) are set when this happens. It appears that UART logic is failing t...


from ARM uart port to multiple outputs to devices..

Started by Mukadder Ceyhan in LPC200012 years ago 2 replies

Hi all! I am designing an ARM based embedded control board which has two uart port. One port is dedicated to an external standalone...

Hi all! I am designing an ARM based embedded control board which has two uart port. One port is dedicated to an external standalone device, and the other uart port will be used for many IO devices, such as printer, RF radio, POS terminal etc..The problem is to make this single uart port availeble to these multiple devices, multiplexing maybe?


Help need : I need more than 2 UARTs

Started by Christophe in LPC200011 years ago 4 replies

Hello, I'am trying to set up an application with an Xbee module and an graphical display, both with an serial interface. As far as...

Hello, I'am trying to set up an application with an Xbee module and an graphical display, both with an serial interface. As far as I understand, there are only 2 uarts on my LPC2138 board. I would like to keep UART 0 for programing and communication with the module, so I need one more uart. What is the best way to achieve that ? SPI to UART converter like the MAX3100, or perhaps a I2C to U...


Drive UART with CMSIS Library

Started by Mohammad in LPC20005 years ago 3 replies

Hi I can drive the UART simply by my code but I want to use CMSIS and work with them. I don't know where to start and learn to write a code with...

Hi I can drive the UART simply by my code but I want to use CMSIS and work with them. I don't know where to start and learn to write a code with the library? Actually as I told you I'm trying to drive my UART port but I can't. Firstly I initialized my UART port and define it and then I change the pins function and send a char. but nothing happen. here is the code: UART_CFG_Type U...


IAP with UART

Started by sig5534 in LPC200012 years ago

I want to be able to update our LPC2104 firmware with a UART interface. It seems like the UART is setup to rely on INTs for transfer....

I want to be able to update our LPC2104 firmware with a UART interface. It seems like the UART is setup to rely on INTs for transfer. Given that the code must be executed in RAM, I suppose the INTs for the UART must be setup in RAM as well. Are there any example files around of this kind of RAM code setup for moving the INTs into RAM. I see it talked a


Can't read UART Status Registers

Started by djflexdex in LPC200011 years ago 2 replies

Hi, I'm having a problem reading the UART status reg.(UxLSR) and UART Interrupt source reg.(UxIIR) When I enter my ISR, the regs. are...

Hi, I'm having a problem reading the UART status reg.(UxLSR) and UART Interrupt source reg.(UxIIR) When I enter my ISR, the regs. are set correctly, but as soon as I read them they are cleared, therefore I can't make sense of which type of UART interrupt (Receive Line, Receive Data Available, Character Time-out or THRE Interrupt) caused the interrupt, I've include my code below...please help...


missing interrupts.

Started by diwilru in LPC200012 years ago

Hi fellows, I got a question concerning uart in lpc2148. If I disable tx interrupts then restore it and if tx interrupt occurs within...

Hi fellows, I got a question concerning uart in lpc2148. If I disable tx interrupts then restore it and if tx interrupt occurs within this time will be this UART interrupt missed in uart's interrupt identification register? Thanks in avance, Dmitry.


Re: UART Code

Started by fabi...@tekel.it in LPC200011 years ago 2 replies

> > > > I've done a couple of changes to the Blinky Lights / UART code > and uploaded the new version. The major change is adding...

> > > > I've done a couple of changes to the Blinky Lights / UART code > and uploaded the new version. The major change is adding code > to initialize the VIC when UART1 is used in interrupt mode. > UT040803A - Uart Test (20)04 (/) 08 (/) 03 A (1st of the day) > > -Bill Knight > theARMPatch > > > Where I can looking for this source, I've look into the yahoo group


Re: Troubles with UART scanf - CROSSWORKS

Started by "zarko.nikolic" in LPC200010 years ago

Thank you for your fast reply, but I still dont get it how to link _getchar with UART. I am experimenting with CROSSWORKS uart.c example for...

Thank you for your fast reply, but I still dont get it how to link _getchar with UART. I am experimenting with CROSSWORKS uart.c example for Keil MCB2140. Could you be more specific. --- In l...@yahoogroups.com, "Paul Curtis" wrote: > > // Pseudocode: > > int __getchar(void) > { > if (end-of-file) > return EOF; > else > { > wait for a character to


Uart 0, getting started

Started by hellika2003 in LPC200014 years ago 3 replies

Hi, I have the Keil MCB2100 (www.keil.com/MCB2100) using the 2129. I have spent nearly 2 days trying to get the UART 0 to do...

Hi, I have the Keil MCB2100 (www.keil.com/MCB2100) using the 2129. I have spent nearly 2 days trying to get the UART 0 to do something. I have got everything looking nice using the uVison3 Uart 0 peripheral to help. However, when i attempt to connect the serial cable to display a cha