XE8801A – SX8801R
pos. RegUartTxSta rw
7-2
-
r
1
UartTxBusy
r
0
UartTxFull
r
reset
000000
0 resetsystem
0 resetsystem
description
Unused
Uart busy transmitting
RegUartTx full
Set by writing to RegUartTx
Cleared when transferring RegUartTx into
internal shift register
Table 14-4: RegUartTxSta
pos. RegUartRx rw
7-0
UartRx
r
reset
00000000
resetsystem
Table 14-5: RegUartRx
description
Received data
pos. RegUartRxSta rw
7-6
-
r
5
UartRxSErr
r
4
UartRxPErr
r
3
UartRxFErr
r
2
UartRxOErr
rc
1
UartRxBusy
r
0
UartRxFull
r
Reset
00
0 resetsystem
0 resetsystem
0 resetsystem
0 resetsystem
0 resetsystem
0 resetsystem
description
Unused
Start error
Parity error
Frame error
Overrun error
Cleared by writing RegUartRxSta
Uart busy receiving
RegUartRx full
Cleared by reading RegUartRx
Table 14-6: RegUartRxSta
14.4 Interrupts map
interrupt source default mapping in the interrupt manager
Irq_uart_Tx
IrqHig(1)
Irq_uart_Rx
IrqHig(0)
Table 14-7: Interrupts map
14.5 Uart baud rate selection
In order to have correct baud rates, the Uart interface has to be fed with a stable and trimmed clock source. The
clock source can be the RC oscillator or the crystal oscillator. The precision of the baud rate will depend on the
precision of the selected clock source.
14.5.1 Uart on the RC oscillator
To select the RC oscillator for the Uart, the bit SelXtal in RegUartCmd has to be 0.
In order to obtain a correct baud rate, the RC oscillator frequency has to be set to one of the frequencies given in
the table below. The precision of the obtained baud rate is directly proportional to the frequency deviation with
respect to the values in the table.
© Semtech 2005
14-3
www.semtech.com