2019-03-26 07:40 AM
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.
2019-03-26 07:50 AM
>>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.
2019-03-26 09:03 AM
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.
2019-03-26 10:32 PM
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
2019-03-27 10:13 AM
That is correct