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

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

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

Jump to solution
202 Views
MN19000
Contributor II

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,

 

Tags (1)
0 Kudos
1 Solution
164 Views
MN19000
Contributor II

Thank you Kerry.

That solved my problem.

 

Please close this case.

View solution in original post

0 Kudos
2 Replies
178 Views
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 Kudos
165 Views
MN19000
Contributor II

Thank you Kerry.

That solved my problem.

 

Please close this case.

0 Kudos