
SL11R
Document #: 38-08006 Rev. **
Page 27 of 85
All these vector interrupts are read/write accessible. User can overwrite these default software interrupt vectors by replacing the
user’s interrupt service subroutine.
4.12
UART Interface.
The SL11R Controller UART port supports a range of baud rates from 900 Baud up to 115.2K Baud. Baud Rate selection is made
in the UART Control Register. Buffer status can be monitored in the UART Status Register. Transmit and receive data is written
or read from the UART data register. The UART timers are independent of the general-purpose timers. The UART will cause
“edge trigger” type interrupts when the receive buffer becomes FULL or the transmit buffer becomes EMPTY.
The SL11R BIOS uses the UART port for the software debugging process. It is recommended that the user include this interface
in their hardware design. A simple 4-pin header may be used to connect to a serial cable equipped with a MAX202 transceiver.
Figure 4-3. UART Port Connection
The SL11R BIOS uses GPIO28 for data transmit (TX) and GPIO27 for data receive (RX). These two pins cannot be used for
any other purpose.
Note: On reset, the SL11R BIOS will configure the UART to operate at 14,400 baud. Other parameters are: 1 stop bit, 8 data bits,
no parity.
4.12.1
UART Control Register (0xC0E0: R/W)
The SL11R allocates two General Purpose I/O signals for the UART function. They are GPIO28 (UART_TXD) and GPIO27
(UART_RXD). On reset, the SL11R BIOS will default this register to the value of 0x000b (i.e. UART Enable and Baud = 14.4K
Baud).
D15-D5
Reserved bits
Set to all zeros.
D4
DIV8
Acts as a pre-scaler if set to ‘1’, divides the clock by 8 before generating the UART clock.
D3-1
B2-0
D15
D14
D13
D12
D11
D10
D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
000000
0
0
0
0
0
DIV8
B2
B1
B0
E
Baud Rate
Selector Bits.
with /8 Prescaler
000
115.2K Baud
14.4K Baud
001
57.6K Baud
7.2K Baud
010
38.4K Baud
4.8K Baud
011
28.8K Baud
3.6K Baud
100
19.2K Baud
2.4K Baud
101
14.4K Baud
1.8K Baud
110
9.6K Baud
1.2K Baud
111
7.2K Baud
0.9K Baud
7;
*1'
5;
VCC
BQDP!'ÃÃÃÃ
BI9ÃÃÃÃÃ!
BQDP!&ÃÃÃÃ"
W88ÃÃÃÃ#
0$;
3&