interrupt UART3

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

interrupt UART3

397 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by hoanvu1990 on Sat Nov 03 19:46:22 MST 2012
hey every body !
in the time , I'm building a source code about receive data from Tera tearm to LPC expresso board LPC 1769 through UART connection use interrupt UART3.
But i don't find interrupt UART flag to enable and disable it for reciever data.
who can help me fix it ... hic
i have known IIR register for identifer interrupt uart state. BUT it is a only read register.
0 Kudos
Reply
2 Replies

347 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Sun Nov 04 07:15:03 MST 2012

Quote: hoanvu1990
...who can help me fix it ...



Help yourself and use supplied UART3 sample ;)

<install_dir>\lpcxpresso\Examples\NXP\LPC1000\LPC17xx\examples.lpc17xx.new.zip\uart
0 Kudos
Reply

347 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MikeSimmonds on Sun Nov 04 04:31:57 MST 2012
[FONT=Tahoma][SIZE=1]The receiver is eanabled or disabled by bit 1 (RXDIS) in the RS485CTRL register (offset 50 hex).

If it is the [I]interrupt[/I] for received characters look at bit 0 (RBRIE) in the interurrupt enable register.
(IER, offset 04 hex).

It's all there in the user manual -- you just have to read it carefully.

Cheers, Mike

[/SIZE][/FONT]
0 Kudos
Reply