English
Language : 

MC9S12KT256 Datasheet, PDF (357/594 Pages) Freescale Semiconductor, Inc – Microcontrollers
11.3.2.3 SPI Baud Rate Register (SPIBR)
7
6
5
4
3
R
0
0
SPPR2
SPPR1
SPPR0
W
2
SPR2
Reset
0
0
0
0
0
0
= Unimplemented or Reserved
Figure 11-5. SPI Baud Rate Register (SPIBR)
1
SPR1
0
0
SPR0
0
Read: anytime
Write: anytime; writes to the reserved bits have no effect
Table 11-6. SPIBR Field Descriptions
Field
Description
6:4
SPI Baud Rate Preselection Bits — These bits specify the SPI baud rates as shown in Table 11-7. In master
SPPR[2:0] mode, a change of these bits will abort a transmission in progress and force the SPI system into idle state.
2:0
SPI Baud Rate Selection Bits — These bits specify the SPI baud rates as shown in Table 11-7. In master mode,
SPR[2:0} a change of these bits will abort a transmission in progress and force the SPI system into idle state.
The baud rate divisor equation is as follows:
BaudRateDivisor = (SPPR + 1) • 2(SPR + 1)
The baud rate can be calculated with the following equation:
Baud Rate = BusClock ⁄ BaudRateDivisor
MC9S12KT256 Data Sheet, Rev 1.15
Freescale Semiconductor
357