i.Max RT1176 UART Hardware Flow control CTS RTS enabling and using

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

i.Max RT1176 UART Hardware Flow control CTS RTS enabling and using

ソリューションへジャンプ
227件の閲覧回数
MN19000
Contributor III

I am using i.MX RT1170 UART10 CTS RTS enabled. 

    // Enable RX, TX
    config.enableTx     = true;
    config.enableRx     = true;
 
    // Enable RTS, CTS
config.enableRxRTS  = true;
    config.enableTxCTS  = true;

 

Does lpuart driver automatically changes the polarity of CTS/RTS, or do need to do it manually ?

If yes, what are the commands. 

Thanks,

 

タグ(1)
0 件の賞賛
1 解決策
189件の閲覧回数
MN19000
Contributor III

Thank you Kerry.

That solved my problem.

 

Please close this case.

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
203件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @MN19000 ,

  If you want to the hardware flow control,  and enable the related register, then the UART IP will automatically change the CTS RTS, you don't need to use other other code to control the polarity.

I highly recommend you to read this application note:

https://www.nxp.com/docs/en/application-note/AN12679.pdf

This is the related software:

https://www.nxp.com/docs/en/application-note-software/AN12679SW.zip

 

Then you will know the details.

Wish it helps you!

If you still have question about it, please kindly let me know.

If your question is solved, please help me to mark the correct answer, just to close this case, thanks.

Any new issues, welcome to create the new case.

Best Regards,

Kerry

 

0 件の賞賛
190件の閲覧回数
MN19000
Contributor III

Thank you Kerry.

That solved my problem.

 

Please close this case.

0 件の賞賛