17-8 Intel® PXA255 Processor Developer’s Manual
Hardware UART
If the UART is to program the Divisor Latc h registers, you can choose one of two methods for
auto-baud calculation: table-based an d fo rmula -b ase d. S et Au to-B au d C ontro l reg is ter (ABR ), bit 3
(ABR[ABT]) to select which method you want to use (refer to Section17.5.8). When the formu la
method is used, any b aud rate defined by the parameters in Sectio n 17.5.3 can be programmed by
the UART. The formula method works well for higher baud rates, b ut could possibly fail below
28.8kbps if the remote transmitter’s actual baud rate differs by more than one percent of its target.
The table method is more immune to such errors as the table rejects uncommon baud rates and
rounds to the common ones. The table method allow s any baud rate defined by the formula in
Section17.5.3 above 28.8 kbps. Below 28.8kbps the only baud rates which can be programmed by
the UART are 19200, 14400, 9600, 4800, 1200, and 300 baud.
When the baud rate is detected, the auto-baud circui try disables itself by clearing ABR, bit 0
(ABR[ABE]). If users want to re-enable auto-baud detection, ABR[ABE] must be set.
Note: Auto-baud rate detection is not supported with IrDA (slow infrared) mode.
See Section 17.5.8 for more informati on on auto-baud.
17.4.5 Slow Infrared Asynchronous Interface
The Slow Infrared (SIR) interface supports two-way wireless communication that uses infrared
transmission. The SIR provides a transmit encoder and receive decoder to support a physical link
that conforms to the Infrared Data Association, Serial Infrared Ph y sical Layer Link Specification,
October 17, 1995, Version 1.1.
The SIR interface does not contain the actual IR LED driver or the receiver amplifier. The I/O pins
attached to the SIR only have digital CMOS level signals. T he SI R supports two-way
communication, but full duplex communication is not possible because reflections from the
transmit LED enter the receiver. The SIR interface supports frequencie s up to 1 1 5.2Kbps. Because
the input clock is 14.7456MHz, the baud divisor must be eight or more.

17.4.5.1 Operation

The SIR modulation technique works with 5-, 6-, 7-, or 8-bit characters with an optional parity bit.
The data is preceded by a zero value start bit and ends with one or more stop bits. The encoding
scheme is to set a pulse 3/16 of a bit wide in the midd le of ev ery z ero bit and se nd no pu ls es fo r b its
that are ones. The pulse for each zero bit must occur, even for consecutive bits with no edge
between them.