English
Language : 

MC912DG128ACPVE Datasheet, PDF (291/478 Pages) Freescale Semiconductor, Inc – Upward compatible with M68HC11 instruction set
Freescale Semiconductor, Inc.
Multiple Serial Interface
Serial Peripheral Interface (SPI)
MCU P CLOCK
(SAME AS E RATE)
DIVIDER
÷2 ÷4 ÷8 ÷16 ÷32 ÷64 ÷128 ÷256
SELECT
SP0BR SPI BAUD RATE REGISTER
SPI CONTROL
8-BIT SHIFT REGISTER
READ DATA BUFFER
SP0DR SPI DATA REGISTER
SHIFT CONTROL LOGIC
LSBF
MSTR
SPE
CLOCK
CLOCK
LOGIC
SWOM
S
M
M
S
PIN
CONTROL
LOGIC
S
M
MISO
PS4
MOSI
PS5
SCK
PS6
SS
PS7
SPI
INTERRUPT
REQUEST
SP0SR SPI STATUS REGISTER
SP0CR1 SPI CONTROL REGISTER 1 SP0CR2 SPI CONTROL REGISTER 2
INTERNAL BUS
HC12 SPI BLOCK
Figure 16-3. Serial Peripheral Interface Block Diagram
A clock phase control bit (CPHA) and a clock polarity control bit (CPOL)
in the SP0CR1 register select one of four possible clock formats to be
used by the SPI system. The CPOL bit simply selects non-inverted or
inverted clock. The CPHA bit is used to accommodate two
fundamentally different protocols by shifting the clock by one half cycle
or no phase shift.
MC68HC912DT128A — Rev 4.0
MOTOROLA
Multiple Serial Interface
For More Information On This Product,
Go to: www.freescale.com
Technical Data
291