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 0002Hfor proper SPI operation (maximum baud rate is system clock frequency
divided by 4). The SPI baud rate is calculated using the following equation:
System Clock Frequency (Hz)
---------------------------------------------------------------------------
SPI Baud Rate (bits/s) =
2 × BRG[15:0]
Table 64. SPI Baud Rate High Byte Register (SPIBRH)
BITS
FIELD
RESET
R/W
7
6
5
4
3
2
1
0
BRH
1
1
1
1
1
1
1
1
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
F66H
ADDR
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
FIELD
RESET
R/W
7
6
5
4
3
2
1
0
BRL
1
1
1
1
1
1
1
1
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/w
F67H
ADDR
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