Skip to main content
Bhushan
Associate
March 26, 2019
Question

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

  • March 26, 2019
  • 4 replies
  • 1199 views

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.

This topic has been closed for replies.

4 replies

Tesla DeLorean
Guru
March 26, 2019

>>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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
Alex R
Associate II
March 26, 2019

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
BhushanAuthor
Associate
March 27, 2019

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

Alex R
Associate II
March 27, 2019

That is correct