cancel
Showing results for 
Search instead for 
Did you mean: 

Can we control RTS/CTS signle for Hardware flow control support for LPUART of Stm32l4r5?

Bhushan
Associate II

Hi,

We are using LPUART port of the STM32L4R5 controller for communication with BLE for that we would like to use RTS/CTS signal.

How can i control/check the RTS/CTS signal?

Is it possible to control/check the RTS/CTS signal through the software?

Please provide the solution for same.

Thank you.

4 REPLIES 4

>>Is it possible to control/check the RTS/CTS signal through the software?

They can be used as GPIO, you can manage this entirely in software if you want.

The input pins are readable via GPIOx->IDR in all cases.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Alex R
Senior

The RTS/CTS signals are controlled by the hardware to implement the flow control (if enabled).

The status of the CTS signal (level and edge) can be detected via interrupts.

Bhushan
Associate II

Thank you.

So I can monitor the CTS signal using this API "LL_USART_IsActiveFlag_CTS", Please confirm.

Or else please suggest any other method

That is correct