mc68hc08qa24 Freescale Semiconductor, Inc, mc68hc08qa24 Datasheet - Page 273

no-image

mc68hc08qa24

Manufacturer Part Number
mc68hc08qa24
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
MC68HC08QA24
Freescale Semiconductor
SPR1 and SPR0 — SPI Baud Rate Select Bits
Use the following formula to calculate the SPI baud rate:
where:
If the MODFEN bit is low, the level of the SS pin does not affect the
operation of an enabled SPI configured as a master. For an enabled
SPI configured as a slave, having MODFEN low only prevents the
MODF flag from being set. It does not affect any other part of SPI
operation. (See
In master mode, these read/write bits select one of four baud rates as
shown in
Reset clears SPR1 and SPR0.
CGMOUT = base clock output of the clock generator module (CGM),
see
BD = baud rate divisor
Section 9. Clock Generator Module
Baud rate
Serial Peripheral Interface (SPI)
Table
Table 18-5. SPI Master Baud Rate Selection
SPR1:SPR0
00
01
10
11
18-5. SPR1 and SPR0 have no effect in slave mode.
18.7.2 Mode Fault
=
CGMOUT
------------------------- -
2 BD
×
Baud Rate Divisor (BD)
Error.)
Serial Peripheral Interface (SPI)
(CGM).
128
32
2
8
Technical Data
271

Related parts for mc68hc08qa24