Hello, I am using S32K146 and want to implement UART with flow control (RTS and CTS). I understand that I have to configure these 2 pin for same with UART pin based on pinout MUX sheet. I want to understand does the control for these pin auto taken care by hardware based on usual function call like LPUART_DRV_ReceiveData() and LPUART_DRV_SendData() or anything extra needs to be done in application software.
Thanks
@VaneB I already checked that example. In same, standard SDK function are not used, direct registers are used in setLpuartHardFlowCtrl().
Also can you answer this " I understand that I have to configure these 2 pin for same with UART pin based on pinout MUX sheet. I want to understand does the control for these pin auto taken care by hardware based on usual function call like LPUART_DRV_ReceiveData() and LPUART_DRV_SendData() or anything extra needs to be done in application software"
Hi @chandan_uv
As I mentioned before, the SDK does not support hardware flow control.
Hi @chandan_uv
Unfortunately, the LPUART SDK driver does not support hardware flow control. But at S32K Knowledge Base, you can find an example to run on the S32K144EVB board with RTM 3.0.0.
S32K LPUART hardware flow control
Also, refer to sections 53.4.3.2 and 53.4.4.3 of the S32K1xx Series Reference Manual.
B.R.
VaneB
@VaneB In that example, CTS<-> RTS andCTS<-> RTS but generally they are , CTS<-> CTS and RTS<-> RTS connected. In that case, what should be changed in the code?