9.2
Baud Rate Generator Programming
The baud rate generator (hereafter referred to as the BRG) of the SCC consists of a 16-bit
down counter, two 8-bit time constant registers, and an output divide-by-two. The time constant
for the BRG is programmed into WR12 (least significant byte) and WR13 (most significant
byte). The equation relating the baud rate to the time constant is given below while Table 5
shows the time constants associated with a number of popular baud rates when using the standard
MPAP-200 9.8304 MHz clock.
Time
_
Const
=
Clock
_
Frequency
2
%
baud
_
Rate
%
Clock
_
Mode
-
2
Where:
Clock_Frequency = 9.8304 x 10
6
Clock_Mode = 1, 16, 32, or 64
Baud_Rate = desired baud rate
(for Clock_Frequency = 9.8304 MHz )
3FFE (hex)
16382
300
1FFE (hex)
8190
600
0FFE (hex)
4094
1200
07FE (hex)
2046
2400
03FE (hex)
1022
4800
01FE (hex)
510
9600
00FE (hex)
254
19200
007E (hex)
126
38400
Time Constant
Baud Rate
Table 5 --- time constants for common baud rates
9.3
SCC Data Encoding Methods
The SCC provides four different data encoding methods, selected by bits 6 and 5 in
WR10. These four include NRZ, NRZI, FM1 and FM0. The SCC also features a digital
phase-locked loop (DPLL) that can be programmed to operate in NRZI or FM modes. Also, the
SCC contains two features for diagnostic purposes, controlled by bits in WR14. They are local
loopback and auto echo.
For further information on these subjects or any others involving the SCC contact Zilog
for a complete technical manual.
33
Содержание MPAP-200
Страница 63: ...56 ...
Страница 64: ...MPAP 200 User s Manual Revision 2 32 March 2004 P N 940 0129 232 57 ...