Nxp Semiconductors UM10237 用户手册

下载
页码 792
UM10237_2
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 02 — 19 December 2008 
435 of 792
NXP Semiconductors
UM10237
Chapter 16: LPC24XX Universal Asynchronous Receiver/Transmitter
1. On UnACR Start bit setting, the baud-rate measurement counter is reset and the 
UARTn UnRSR is reset. The UnRSR baud rate is switch to the highest rate.
2. A falling edge on UARTn Rx pin triggers the beginning of the start bit. The rate 
measuring counter will start counting pclk cycles optionally pre-scaled by the 
fractional baud-rate generator.
3. During the receipt of the start bit, 16 pulses are generated on the RSR baud input with 
the frequency of the (fractional baud-rate pre-scaled) UARTn input clock, 
guaranteeing the start bit is stored in the UnRSR.
4. During the receipt of the start bit (and the character LSB for mode = 0) the rate 
counter will continue incrementing with the pre-scaled UARTn input clock (pclk).
5. If Mode = 0 then the rate counter will stop on next falling edge of the UARTn Rx pin. If 
Mode = 1 then the rate counter will stop on the next rising edge of the UARTn Rx pin.
6. The rate counter is loaded into UnDLM/UnDLL and the baud-rate will be switched to 
normal operation. After setting the UnDLM/UnDLL the end of auto-baud interrupt 
UnIIR ABEOInt will be set, if enabled. The UnRSR will now continue receiving the 
remaining bits of the ”A/a" character.
 
a. Mode 0 (start bit and LSB are used for auto-baud)
UARTn RX
start bit
LSB of 'A' or 'a'
U0ACR start
rate counter
start
bit0
bit1
bit2
bit3
bit4
bit5
bit6
bit7
parity stop
'A' (0x41) or 'a' (0x61)
16 cycles
16 cycles
16xbaud_rate