cancel
Showing results for 
Search instead for 
Did you mean: 

IS it possible to change the polarity of the USART CTS/RTS pins on STM32F334

sina_sw
Associate
Posted on March 24, 2016 at 08:57

I am wondering how can I figure out the correct way of defining STM32F334 USART Hardware Flowcontrol pins (CTS/RTS) in StdPeriLib.

They should be PullUp/PullDown/NoPushPull or ....

Or better to say what should be the minimum commands set of commands for configuring the CTS/RTS pins for USART1.

I have to interface the MCU with a board which its CTS is active level is Low, In addition I can also set the board's CTS/RTS pins to PullUP/PullDown or Floating.

Is it possible to change the polarity of the CTS/RTS pins in the MCU?

Thnx 

#gpiod #stm32 #uart #interrupt #cts
1 REPLY 1
Posted on March 24, 2016 at 11:16

The USART outputs at CMOS levels, not RS232 ones, the level converters invert the signals.

If your requirements are still reversed, consider using manually as GPIO

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