English
Language : 

EFM32WG Datasheet, PDF (449/834 Pages) List of Unclassifed Manufacturers – The EFM32WG Wonder Gecko is the ideal choice for demanding 8-, 16-, and 32-bit energy sensitive applications.
Table 17.5. USART Parity Bits
STOP BITS [1:0]
00
01
10
11
...the world's most energy friendly microcontrollers
Description
No parity bit (Default)
Reserved
Even parity
Odd parity
17.3.2.2 Clock Generation
The USART clock defines the transmission and reception data rate. When operating in asynchronous
mode, the baud rate (bit-rate) is given by Equation 17.1 (p. 449)
USART Baud Rate
br = fHFPERCLK/(oversample x (1 + USARTn_CLKDIV/256))
(17.1)
where fHFPERCLK is the peripheral clock (HFPERCLKUSARTn) frequency and oversample is the
oversampling rate as defined by OVS in USARTn_CTRL, see Table 17.6 (p. 449) .
Table 17.6. USART Oversampling
OVS [1:0]
00
01
10
11
oversample
16
8
6
4
The USART has a fractional clock divider to allow the USART clock to be controlled more accurately
than what is possible with a standard integral divider.
The clock divider used in the USART is a 15-bit value, with a 13-bit integral part and a 2-bit fractional
part. The fractional part is configured in the two LSBs of DIV in USART_CLKDIV. The lowest achievable
baud rate at 32 MHz is about 244 bauds/sec.
Fractional clock division is implemented by distributing the selected fraction over four baud periods. The
fractional part of the divider tells how many of these periods should be extended by one peripheral clock
cycle.
Given a desired baud rate brdesired, the clock divider USARTn_CLKDIV can be calculated by using
Equation 17.2 (p. 449) :
USART Desired Baud Rate
USARTn_CLKDIV = 256 x (fHFPERCLK/(oversample x brdesired) - 1)
(17.2)
Table 17.7 (p. 450) shows a set of desired baud rates and how accurately the USART is able to
generate these baud rates when running at a 4 MHz peripheral clock, using 16x or 8x oversampling.
2013-05-08 - Wonder Gecko Family - d0233_Rev0.50
449
www.energymicro.com