English
Language : 

EFM32WG Datasheet, PDF (458/834 Pages) List of Unclassifed Manufacturers – The EFM32WG Wonder Gecko is the ideal choice for demanding 8-, 16-, and 32-bit energy sensitive applications.
...the world's most energy friendly microcontrollers
Figure 17.10. USART Transmission of Large Frames, MSBF
Peripheral Bus
TX buffer elem ent 1 0 1 2
TX buffer elem ent 0 0 1 2 3 4 5 6 7
21076543 21 0
Shift regist er
Figure 17.10 (p. 458) 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. 458) . 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.
Figure 17.11. USART Reception of Large Frames
Peripheral Bus
RX buffer elem ent 0
St at us
01 2 3 4 5 6 7
RX buffer elem ent 1
St at us
01 2
St at us
Shift regist er
01234567 01 2
The two buffer elements can be read at the same time using the USARTn_RXDOUBLE or
USARTn_RXDOUBLEX register. RXDATA0 then refers to buffer element 0 and RXDATA1 refers to
buffer element 1.
Large frames can be used in both asynchronous and synchronous modes.
17.3.2.8 Multi-Processor Mode
To simplify communication between multiple processors, the USART supports a special multi-processor
mode. In this mode the 9th data bit in each frame is used to indicate whether the content of the remaining
8 bits is data or an address.
When multi-processor mode is enabled, an incoming 9-bit frame with the 9th bit equal to the value of
MPAB in USARTn_CTRL is identified as an address frame. When an address frame is detected, the
2013-05-08 - Wonder Gecko Family - d0233_Rev0.50
458
www.energymicro.com