Analog Devices SHARC ADSP-214 Series Hardware Reference Manual page 723

Table of Contents

Advertisement

transmitter transmits the
transmission mode, the parity select controls and the word length select do
not have any effect.
For the receiver, set the
in the
UAC_RXCTL
(
) to enable address detection.
UARTAEN
If the received ninth bit is high, the received word is shifted from the
register to the
UART_RBR
buffer to find out if the device is being addressed. If the device is
UART_RBR
being addressed, the address enable (
and address bytes to be read into the receive buffer.
During the 9 bit transmission mode parity has to be calculated in software
to detect errors. The reception may be stopped when the receiver receives
another address which is different from its own.
In 9-bit mode, the address detect interrupt can be generated whenever the
receiver gets an address word, irrespective of the packing mode. This helps
programs respond to an address word immediately. The program is
expected to take into account these features when using packed mode.
Packed Mode
Programs must use care when using the packing feature in 9-bit
transmission mode.
• Programs should write the
an address is received. This starts the reception of the following
data from the lower half-word of the
• The address-detect interrupt is generated whenever the UART
receiver receives an address, irrespective of the packing. The DR bit
in the
UARTLSR
is in the lower (
ister must be read before reading the
ADSP-214xx SHARC Processor Hardware Reference
www.BDTIC.com/ADI
bit instead of the parity bit. During 9-bit
TX9D
bit in the
RX9
register (to enable reception). Set the address enable bit
buffer which generates an interrupt. Read the
UARTPKSYN
register can be used to discover whether the address
= 0) or higher half-word (
DR
UART Port Controller
register and the
UART_MODE
bit) is cleared to allow data
UARTAEN
bit (bit 1) with a 1 each time
register.
UARTRBR
= 1). The LSR reg-
DR
register, because the
UARTRBR
bit
UAEN
RSR
20-9

Advertisement

Table of Contents
loading

Table of Contents