![background image](http://html2.mh-extra.com/html/rabbit/2000/2000_user-manual_3110256126.webp)
120
Rabbit 2000 Microprocessor
12.1 Serial Port Register Layout
Figure 12-2 shows a functional block diagram of a serial port. Each serial port has a data
register, a control register and a status register. Writing to the data register starts transmis-
sion. If the write is performed to an alternate data register address, the extra address bit or
9th bit is sent. When data bits have been received, they are read from the data register. The
control register is used to set the transmit and receive parameters. The status register may
be tested to check on the operation of the serial port.
Figure 12-2. Functional Block Diagram of a Serial Port
The clock input to the serial port unit must be 16 times the baud rate in the asynchronous
mode and 2 times the baud rate for the clocked serial mode when the internal clock is
used. Timers A4–A7 supply the input clock for Serial Ports A–D. These timers can divide
the frequency by any number from 1 to 256 (see Chapter 11). The input frequency to the
timers can be selected in different ways described in the documentation for the timers.
One choice is the peripheral clock divided by 2—with that choice and a well-chosen crys-
tal frequency for the main oscillator, the most commonly used baud rates can be obtained
down to approximately 2400 bps at the highest Rabbit clock frequencies (see Section A.4
in Appendix A).
Rx serial data in
Tx serial data out
Read Data
Write Data
Input Shift Reg
Output Shift Reg
Data In Reg
Data Out Reg
Start Bit
Bit 0 1 2 3 4 5 6 7 stop
0 1 1 0 1 0 1 1
Transmitting 0x0D6
Stop Bit
Tx
Start Bit
Bit 0 1 2 3 4 5 6 7 A stop
0 1 1 0 1 0 1 1
Transmitting 0x0D6
Stop Bit
Tx
9th bit
with 9th address bit
Signals shown at microprocessor Tx pin
Alt Data Out
(for 9th bit)
Summary of Contents for 2000
Page 1: ...Rabbit 2000 Microprocessor User s Manual 019 0069 041018 M...
Page 12: ...6 Rabbit 2000 Microprocessor...
Page 46: ...40 Rabbit 2000 Microprocessor...
Page 54: ...48 Rabbit 2000 Microprocessor...
Page 76: ...70 Rabbit 2000 Microprocessor...
Page 96: ...90 Rabbit 2000 Microprocessor...
Page 142: ...136 Rabbit 2000 Microprocessor...
Page 154: ...148 Rabbit 2000 Microprocessor...
Page 170: ...164 Rabbit 2000 Microprocessor...
Page 174: ...168 Rabbit 2000 Microprocessor...
Page 180: ...174 Rabbit 2000 Microprocessor...
Page 202: ...196 Rabbit 2000 Microprocessor...
Page 206: ...200 Rabbit 2000 Microprocessor...
Page 226: ......
Page 230: ...224 Rabbit 2000 Microprocessor...