8.3.7.3.10 Transmitter Timeguard

The timeguard feature enables the USART interface with slow remote devices.

The timeguard function enables the transmitter to insert an idle state on the TXD line between two characters. This idle state actually acts as a long stop bit.

The duration of the idle state is programmed in the TG field of the Transmitter Timeguard register (FLEX_US_TTGR). When this field is written to zero, no timeguard is generated. Otherwise, the transmitter holds a high level on TXD after each transmitted byte during the number of bit periods programmed in TG in addition to the number of stop bits.

As illustrated in the following figure, the behavior of the TXRDY and TXEMPTY status bits is modified by the programming of a timeguard. TXRDY rises only when the start bit of the next character is sent, and thus remains to 0 during the timeguard transmission if a character has been written in FLEX_US_THR. TXEMPTY remains low until the timeguard transmission is completed as the timeguard is part of the current character being transmitted.

Figure 8-31. Timeguard Operations

The following table indicates the maximum length of a timeguard period that the transmitter can handle in relation to the function of the baud rate.

Table 8-24. Maximum Timeguard Length Depending on Baud Rate
Baud Rate (bit/s)Bit Time (μs)Timeguard (ms)
1,200833212.50
9,60010426.56
14,40069.417.71
19,20052.113.28
28,80034.78.85
38,400266.63
56,00017.94.55
57,60017.44.43
115,2008.72.21