Want to use UART1 for RS485

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

Want to use UART1 for RS485

763 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Vishal Rana on Mon Oct 14 22:54:20 MST 2013
Hello Friends,

                      I am new to LPC controllers. I want to use UART1 of LPC1768 for RS485. Can anyone help me please.
                    

      Thanks  :)
Labels (1)
0 Kudos
2 Replies

468 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kpkirankp on Mon Dec 01 06:35:24 MST 2014
Hi ,

Me too doing the same. Can anyone help me with a sample program to make the RS485 up and running on the LPC1769 (OM11083 base board)? I tried couple of sample programs but nothing worked :(. I am trying to communicate between the baseboard RS485 terminal and my laptop. I am using a RS485-USB converter cable for testing this.
0 Kudos

470 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Alex on Thu Oct 17 05:05:02 MST 2013
Hi,

you have to enable the direction control in the RS485 control register. Then configure the corresponding pin for UART direction control function and connect to the RS485 transceiver.

Thats all for RS485. The rest is just normal UART operation.
0 Kudos