Full functional uart(DTR,DSR,CD,RI) implementation code

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

Full functional uart(DTR,DSR,CD,RI) implementation code

2,105 Views
naveennaga
Contributor I

We are using P1021 processor in our project. We are using Quick Engine Slow UCC protocol to implement the full functional UART which uses the pins DTR,DSR,RI.

The DTR,DSR,RI are connected through GPIO pins, which has to be controlled by software. As the hardware flow control will take care of the RTS,CST,CD.

I want to know the sequence how to control the above lines using GPIOS in sequence to communicate with DCE. Please help me with useful links or any source code for this.

Labels (1)
0 Kudos
4 Replies

1,599 Views
Pavel
NXP Employee
NXP Employee

Look at the following pages:

http://www.tldp.org/HOWTO/Serial-HOWTO-19.html

http://www.z80.info/1656.htm

http://www.dauniv.ac.in/downloads/EmbsysRevEd_PPTs/Chap_3Lesson04EmsysNew.pdf

http://www.embeddedlinux.org.cn/EmbLinux/ch06lev1sec2.htm


Have a great day,
Pavel

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

1,599 Views
naveennaga
Contributor I

Thanks for the reply.

Is there any source code in linux or  other where the full functional uart is implemented using DTR,DSR,RI as GPIO's ?

0 Kudos

1,599 Views
naveennaga
Contributor I

Any updates on this !

We are using QE UCC in slow protocol to implement full functional UART. Can you guide with any exiting driver code which implemented full functional uart.

0 Kudos

1,599 Views
Pavel
NXP Employee
NXP Employee

Look at the following page:

http://www.freescale.com/infocenter/index.jsp?topic=%2FQORIQSDK%2F2151457.html

This driver can be used as example using additional signals of the RS-232.


Have a great day,
Pavel

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos