2014-07-03 02:35 AM
Hi,
I'm working on STM32 Discovery Board (stm32f4xx mcu) and I'm using an UART with flow control enabled; since I use the CubeMx code, I'd like to check the CTS level to know if transmit is enabled or not, because the HAL UART drivers not have nothing to do this. I'd like to make my function to check this level, passing only the UART object, but I can't get the GPIO pin assigned to CTS UART, from the UART object. Please, can anyone suggest me a possible solution ? Regards Davide Urbano2014-07-05 05:26 PM
Until you get help with CubeMx code you could go ''out of band'' and read the CTS level in a status register....