English
Language : 

MC68HC08AS32 Datasheet, PDF (301/394 Pages) Motorola, Inc – M68HC08 Family of 8-bit microcontroller units (MCUs)
Serial Peripheral Interface (SPI)
I/O Registers
The CPU can always read the state of the SS pin by configuring the
appropriate pin as an input and reading the data register.
(See Table 18-5.)
Table 18-5. SPI Configuration
SPE SPMSTR MODFEN SPI Configuration
0
X
X
Not Enabled
1
0
X
Slave
1
1
0
Master without MODF
1
1
1
Master with MODF
X = don’t care
State of SS Logic
General-Purpose I/O;
SS Ignored by SPI
Input-Only to SPI
General-Purpose I/O;
SS Ignored by SPI
Input-Only to SPI
18.13.5 VSS (Clock Ground)
VSS is the ground return for the serial clock pin, SPSCK, and the ground
for the port output buffers. To reduce the ground return path loop and
minimize radio frequency (RF) emissions, connect the ground pin of the
slave to the VSS pin.
18.14 I/O Registers
Three registers control and monitor SPI operation:
• SPI control register (SPCR, $0010)
• SPI status and control register (SPSCR, $0011)
• SPI data register (SPDR, $0012)
MC68HC08AS32 — Rev. 3.0
MOTOROLA
Serial Peripheral Interface (SPI)
Advance Information
301