Skip to content

Support U[S]ART Inversion on STM32U0 #2669

@ndoo

Description

@ndoo

STM32U0 (and possibly other parts) support level inversion with the following:

huartx.AdvancedInit.AdvFeatureInit = UART_ADVFEATURE_TXINVERT_INIT;
huartx.AdvancedInit.TxPinLevelInvert = UART_ADVFEATURE_TXINV_ENABLE;

Please support these through the Arduino core.

Alternative workarounds include inverting the content before sending, or using an inverting buffer, but supporting this natively would be preferable.

Additional context

This is to support SDI-12 using the single-pin mode of the USART.

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already existsenhancementNew feature or request

    Projects

    Status

    To do

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions