English
Language : 

Z8F1601 Datasheet, PDF (128/246 Pages) Zilog, Inc. – Z8 Encore Microcontrollers with Flash Memory and 10-Bit A/D Converter
Z8F640x/Z8F480x/Z8F320x/Z8F240x/Z8F160x
Z8 Encore!®
110
SPI Baud Rate High and Low Byte Registers
The SPI Baud Rate High and Low Byte registers combine to form a 16-bit reload value,
BRG[15:0], for the SPI Baud Rate Generator. The reload value must be greater than or
equal to 0002H for proper SPI operation (maximum baud rate is system clock frequency
divided by 4). The SPI baud rate is calculated using the following equation:
SPI Baud Rate (bits/s)
=
-S---y---s--t--e---m------C-----l-o---c---k-----F----r--e---q---u----e--n----c--y-----(--H----z---)
2 × BRG[15:0]
Table 64. SPI Baud Rate High Byte Register (SPIBRH)
BITS
7
6
5
4
3
2
1
0
FIELD
BRH
RESET
1
1
1
1
1
1
1
1
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
ADDR
F66H
BRH = SPI Baud Rate High Byte
Most significant byte, BRG[15:8], of the SPI Baud Rate Generator’s reload value.
Table 65. SPI Baud Rate Low Byte Register (SPIBRL)
BITS
7
6
5
4
3
2
1
0
FIELD
BRL
RESET
1
1
1
1
1
1
1
1
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/w
ADDR
F67H
BRL = SPI Baud Rate Low Byte
Least significant byte, BRG[7:0], of the SPI Baud Rate Generator’s reload value.
PS017610-0404
Serial Peripheral Interface