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

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

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

跳至解决方案
1,745 次查看
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 解答
1,707 次查看
MN19000
Contributor III

Thank you Kerry.

That solved my problem.

 

Please close this case.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,721 次查看
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 项奖励
回复
1,708 次查看
MN19000
Contributor III

Thank you Kerry.

That solved my problem.

 

Please close this case.

0 项奖励
回复