Skip to main content
enrico239955_st
Associate III
August 17, 2014
Question

inverted uart input

  • August 17, 2014
  • 1 reply
  • 1651 views
Posted on August 17, 2014 at 02:04

Hi, I have a device which is sending an inverted UART on the line. The startbit is 1, the stopbits are 0. The whole line is inverted, but the other syntax of uart is right. So is there e possibility for receiving this stream with an stm32f4? I found no option for ''inverted line'' or something. Is this really that bad? I dont want to add extra hardware for inverting the line on my device :(

    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    August 17, 2014
    Posted on August 17, 2014 at 02:26

    Well the STM32 can't receive RS232 level signalling directly, the converters for that typically invert the signal. Other than that you'd need to add an inverter circuit, either with a single line 74 series type component, or a transistor.

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