Datasheet

Serial Peripheral Interface (SPI)
I/O Registers
MC68HC908GR8 Rev 4.0 Technical Data
MOTOROLA Serial Peripheral Interface (SPI) 327
SPR1 and SPR0 SPI Baud Rate Select Bits
In master mode, these read/write bits select one of four baud rates as
shown in Table 20-4. SPR1 and SPR0 have no effect in slave mode.
Reset clears SPR1 and SPR0.
Use this formula to calculate the SPI baud rate:
where:
CGMOUT = base clock output of the clock generator module (CGM)
BD = baud rate divisor
Table 20-4. SPI Master Baud Rate Selection
SPR1 and SPR0 Baud Rate Divisor (BD)
00 2
01 8
10 32
11 128
Baud rate
CGMOUT
2BD×
--------------------------=
Frees
cale Semiconductor,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...