MC33910BAC / MC34910BAC
FUNCTIONAL DEVICE OPERATIONS
LOGIC COMMANDS AND REGISTERS
LOGIC COMMANDS AND REGISTERS
• MISO—Master-In Slave-Out
SPI AND CONFIGURATION
• SCLK—Serial Clock
The SPI 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 3 system
status bits and one not defined bit (VMS,LINS,HSS,n.d.) + 4
bits of status information (S3:S0).
The interface consists of four pins (see Figure 40):
•
CS—Chip Select
• MOSI—Master-Out Slave-In
CS
Register Write Data
MOSI
MISO
A3
A2
A1
A0
C3
C2
C1
C0
S0
Register Read Data
VMS LINS HSS S3 S2
–
S1
SCLK
Read Data Latch
Write Data Latch
Rising Edge of SCLK
Falling Edge of SCLK
Change MISO/MISO Output
Sample MISO/MISO Input
Figure 40. 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): 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
77