How to design fully functional uart?

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

How to design fully functional uart?

998 Views
陳冠儒
Contributor IV

hi,all:

I want to design fully functional Uart(COM),So i want to design fully functional uart contains RS-232, RS-422, RS-485 function, it is necessary to TX, RX, CTS, RTS, DSR, DTR, DCD, RI signal,How do I write in this area code?

(中譯: 我想要設計全功能性的uart(COM) 包含 RS-232、RS-422、RS-485的功能,所以需要TX、RX、CTS、RTS、DSR、DTR、DCD、RI的信號控制,我該如何撰寫這方面的code?)

Please help me ,everyone.

Labels (4)
2 Replies

861 Views
igorpadykov
NXP Employee
NXP Employee

HI 陳 冠儒

one can start with solution given on link below, adding support for

other signals, as it was done for RTS/CTS

How to enable BT on board imx6q_sabresd RevC.

patch for rs485 :

https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/drivers/tty/serial/imx.c?id=...

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

861 Views
陳冠儒
Contributor IV

hi,igorpadykov:

Thank u answer.

I read the website,If there is a problem,I go to ask you.

thanks for your help.

(中譯:感謝您的回答,我去閱讀您提供的網站後,若是還有問題,我再請教於您。

         感謝您的幫忙。

)

0 Kudos
Reply