...the world's most energy friendly microcontrollers
2016-04-28 - Giant Gecko Family - d0053_Rev1.20
462
www.silabs.com
Figure 17.9. USART Transmission of Large Frames
Writ e CTRL
Writ e CTRL
Writ e CTRL
TX buffer elem ent 1
TX buffer elem ent 0
Shift regist er
Peripheral Bus
0
1
2
3
4
5
6
7
0
1
2
0
1
2
0
1
2
3
4
5
6
7
As shown in Figure 17.9 (p. 462) , frame transmission control bits are taken from the second element
in FIFO.
The two buffer elements can be written at the same time using the USARTn_TXDOUBLE or
USARTn_TXDOUBLEX register. The TXDATAX0 bitfield then refers to buffer element 0, and
TXDATAX1 refers to buffer element 1.
Figure 17.10. USART Transmission of Large Frames, MSBF
TX buffer elem ent 1
TX buffer elem ent 0
Shift regist er
Peripheral Bus
2
1
0
7
6
5
4
3
2
1
0
0
1
2
3
4
5
6
7
0
1
2
Figure 17.10 (p. 462) illustrates the order of the transmitted bits when an 11 bit frame is transmitted
with MSBF set. If MSBF is set and the frame is smaller than 10 bits, only the contents of transmit buffer
0 will be transmitted.
When receiving a large frame, BYTESWAP in USARTn_CTRL determines the order the way the large
frame is split into the two buffer elements. If BYTESWAP is cleared, the least significant 8 bits of the
received frame are loaded into the first element of the receive buffer, and the remaining bits are loaded
into the second element, as shown in Figure 17.11 (p. 463) . The first byte read from the buffer thus
contains the 8 least significant bits. Set BYTESWAP to reverse the order.
The status bits are loaded into both elements of the receive buffer. The frame is not moved from the
receive shift register before there are two free spaces in the receive buffer.
Summary of Contents for Giant Gecko EFM32GG
Page 842: ......