IS it possible to change the polarity of the USART CTS/RTS pins on STM32F334
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-03-24 12:57 AM
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
Labels:
- Labels:
-
GPIO-EXTI
-
Interrupt
-
UART-USART
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-03-24 3:16 AM
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..
Up vote any posts that you find helpful, it shows what's working..
