DAVE TIP of the day: How to invert the transmit line of UART?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
The polarity of the transmit output signal can be inverted by setting SCTR.DOCFG = 01B.

For example, in main.c
USIC0_CH0 -> SCTR |= USIC_CH_SCTR_DOCFG_Msk


The line will keep "Low" during idle.
0 Likes
0 Replies