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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

2,569 次查看
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.

标签 (1)
标记 (4)
0 项奖励
回复
4 回复数

2,063 次查看
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 项奖励
回复

2,063 次查看
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 项奖励
回复

2,063 次查看
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 项奖励
回复

2,063 次查看
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 项奖励
回复