Skip to content

HardwareSerial setTxInvert does not change the idle state on STM32G4xx #2942

Closed

Description

@0x0fe

So apparently setTxInvert does not change the idle state on STM32G4xx, (tested on G473VET6).
I would expect the idle stat to be low when setTxInvert is enabled. Is there another bit to change the idle state?

without setTxInvert
Image

with setTxInvert
Image

The specific port i used is PD8 and the baudrate is 8M

Activity

  1. changed the title [-]HardwareSerial setTxInvert does not work on STM32G4xx[/-] [+]HardwareSerial setTxInvert does not chang ethe idle state on STM32G4xx[/+] on Mar 25, 2026
  2. changed the title [-]HardwareSerial setTxInvert does not chang ethe idle state on STM32G4xx[/-] [+]HardwareSerial setTxInvert does not change the idle state on STM32G4xx[/+] on Mar 25, 2026
  3. locked and limited conversation to collaborators on Mar 25, 2026
  4. converted this issue into a discussion #2943 on Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions