English
Language : 

MC68HC912BD32 Datasheet, PDF (163/292 Pages) Freescale Semiconductor, Inc – Advance Information
Bidirectional
Mode (MOMI or
SISO)
Freescale Semiconductor, Inc.
Serial Interface
Serial Peripheral Interface (SPI)
In bidirectional mode, the SPI uses only one serial data pin for external
device interface. The MSTR bit decides which pin to be used. The MOSI
pin becomes serial data I/O (MOMI) pin for the master mode, and the
MISO pin becomes serial data I/O (SISO) pin for the slave mode. The
direction of each serial I/O pin depends on the corresponding DDRS bit.
When SPE=1
Master Mode
MSTR=1
Slave Mode
MSTR=0
Normal
Mode
SPC0=0
Serial Out
MO
SPI
DDS5
Serial In
MI
SWOM enables open drain output.
Serial In
SI
SPI
DDS4
Serial Out
SO
SWOM enables open drain output.
Bidirectional
Mode
SPC0=1
Serial Out
SPI
Serial In
DDS5
MOMI
PS4
SWOM enables open drain output. PS4 becomes GPIO.
Serial In
SPI
Serial Out
DDS4
PS5
SISO
SWOM enables open drain output. PS5 becomes GPIO.
Figure 24 Normal Mode and Bidirectional Mode
Register
Descriptions
Control and data registers for the SPI subsystem are described below.
The memory address indicated for each register is the default address
that is in use after reset. The entire 512-byte register block can be
mapped to any 2K byte boundary within the standard 64K byte address
space. For more information refer to Operating Modes.
17-sint
Serial Interface
For More Information On This Product,
Go to: www.freescale.com
MC68HC912BD32 Rev 1.0