MC33910G5AC/MC3433910G5AC
FUNCTIONAL DEVICE OPERATIONS
LOGIC COMMANDS AND REGISTERS
LOGIC COMMANDS AND REGISTERS
• MISO—Master-in Slave-out
33910 SPI INTERFACE AND CONFIGURATION
• SCLK—Serial Clock
The serial peripheral interface creates the communication
link between a microcontroller (master) and the 33910.
A complete data transfer via the SPI consists of 1 byte.
The master sends 4 bits of address (A3:A0) + 4 bits of control
information (C3:C0) and the slave replies with 4 system
status bits (VMS,LINS,HSS,n.d.) + 4 bits of status information
(S3:S0).
The interface consists of four pins (see Figure 19):
•
CS—Chip Select
• MOSI—Master-out Slave-in
CS
Register Write Data
A0 C3 C2
MOSI
MISO
A3
A2
A1
C1
C0
S0
Register Read Data
VMS LINS HSS S3 S2
-
S1
SCLK
Read Data Latch
Write Data Latch
Rising: 33910 changes MISO/
MCU changes MOSI
Falling: 33910 samples MOSI/
MCU samples MISO
Figure 19. SPI Protocol
During the inactive phase of the CS (HIGH), the new data
transfer is prepared.
The rising edge of the Chip Select CS indicates the end of
the transfer and latches the write data (MOSI) into the
register. The CS high forces MISO to the high-impedance
state.
The falling edge of the CS indicates the start of a new data
transfer and puts the MISO in the low-impedance state and
latches the analog status data (Register read data).
Register reset values are described along with the reset
condition. Reset condition is the condition causing the bit to
be set to its reset value. The main reset conditions are:
With the rising edge of the SPI clock (SCLK), the data is
moved to MISO/MOSI pins. With the falling edge of the SPI
clock (SCLK), the data is sampled by the receiver.
- Power-On Reset (POR): the level at which the logic is
reset and BATFAIL flag sets.
The data transfer is only valid if exactly 8 sample clock
edges are present during the active (low) phase of CS.
- Reset mode
- Reset done by the RST pin (ext_reset)
33910
Analog Integrated Circuit Device Data
Freescale Semiconductor
37