Description
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
Type
Projects
Status
To do