
12-10
UUART Communication Support
Programmer’s Manual
mode, various baud rates, parity settings, stop bit settings, character length
settings, and data transmission time out settings. When configured to operate in
normal mode, the minimum and maximum baud rates supported are 300 bps (bits
per second) and 115200 bps respectively. When configured to operate in IrDA
mode, only the 115200 bps baud rate is guaranteed.
There is no default UART configuration after system start-up. Please make sRequest
UART is configured properly by calling UARTConfigure() before initiating any Access
communciation.
Please note that the application must have the permission to access the UART
before it can configure the UART. Refer to Chapter 15 - Interrupt Handling
regarding the usage of IrptRequest() to request permission.
12.2.1
Configuring the UART
STATUS
UARTConfigure
(U8 mode, U16 baudRate U8 parity U8 stopBits
U8 charLen)
Applications can use UARTConfigure() to reconfigure the UART to the required
settings. Any on-going data transmission request will be aborted and the data
transmission time out reset to the default. The actual baud rate will be the closest
approximation to the specified baud rate.
Table 12-2shows the list of configurations and settings supported, and the
corresponding selection flag to be used with UARTConfigure(). (Refer to Section
26.1 - UARTConfigure for details)
Table 12-2 UART Configurations and Supported Settings
Configurations
Supported Settings
Operating Mode
Normal NRZ mode
IrDA mode
Baud Rate
300 bps
600 bps
1200 bps
2400 bps
4800 bps
9600 bps
14400 bps
19200 bps
28800 bps
38400 bps
57600 bps
115200 bps
Parity
No parity
Odd parity
Even parity
Personal Portable System Manager
Programmer’s Manual
12-7
with RTS/CTS
flow control
Figure 12-3 UART Communication Architecture - Data Receive with RTS/CTS flow control
Read Data
& Determine
End of Data
Abort
Read
Data
Request
Receive
Access Permission Request
(if not already)
Granted / Denied
Receive Request
Granted / Denied
Data Read / Error
Data Receive Request
Data Requested
Abort Read Data Request
Release Access Request
Read Request
Data / Error
Acknowledge
Release
Access
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.