MC68HC12 MOTOROLA [Motorola, Inc], MC68HC12 Datasheet - Page 297

no-image

MC68HC12

Manufacturer Part Number
MC68HC12
Description
The MC68HC912DT128A microcontroller unit (MCU) is a 16-bit device composed of standard on-chip peripherals including a 16-bit central processing unit
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
SP0SR — SPI Status Register
SP0BR — SPI Baud Rate Register
MC68HC912DT128A — Rev 4.0
MOTOROLA
RESET:
RESET:
SPIF
Bit 7
Bit 7
0
0
0
WCOL
6
0
0
6
0
Read anytime. Write anytime.
At reset, E Clock divided by 2 is selected.
SPR[2:0] — SPI Clock (SCK) Rate Select Bits
Read anytime. Write has no meaning or effect.
SPIF — SPI Interrupt Request
SPR2
These bits are used to specify the SPI clock rate.
SPIF is set after the eighth SCK cycle in a data transfer and it is
cleared by reading the SP0SR register (with SPIF set) followed by an
access (read or write) to the SPI data register.
0
0
0
0
1
1
1
1
5
0
0
5
0
0
SPR1
0
0
1
1
0
0
1
1
Multiple Serial Interface
Table 16-4. SPI Clock Rate Selection
MODF
SPR0
4
0
0
4
0
0
1
0
1
0
1
0
1
E Clock
Divisor
3
0
0
3
0
0
128
256
16
32
64
2
4
8
SPR2
2
0
2
0
0
E Clock = 4 MHz
Frequency at
62.5 kHz
31.3 kHz
15.6 kHz
2.0 MHz
1.0 MHz
500 kHz
250 kHz
125 kHz
Serial Peripheral Interface (SPI)
SPR1
1
0
1
0
0
Multiple Serial Interface
SPR0
Bit 0
Bit 0
E Clock = 8 MHz
0
0
0
Frequency at
Technical Data
62.5 KHz
31.3 KHz
500 KHz
250 KHz
125 KHz
4.0 MHz
2.0 MHz
1.0 MHz
$00D3
$00D2
297

Related parts for MC68HC12