English
Language : 

33910 Datasheet, PDF (31/44 Pages) Freescale Semiconductor, Inc – LIN System Basis Chip with 2x60mA High Side Drivers
FUNCTIONAL DEVICE OPERATIONS
LOGIC COMMANDS AND REGISTERS
LOGIC COMMANDS AND REGISTERS
SPI AND CONFIGURATION
The SPI creates the communication link between a
microcontroller (master) and the 33910.
The interface consists of four pins (see Figure 19):
• CS—Chip Select
• MOSI—Master-Out Slave-In
• MISO—Master-In Slave-Out
• SCLK—Serial Clock
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).
CS
MOSI
MISO
Register Write Data
A3 A2 A1 A0 C3 C2 C1 C0
Register Read Data
VMS LINS HSS – S3 S2 S1 S0
SCLK
Read Data Latch
Write Data Latch
Rising Edge of SCLK
Change MISO/MISO Output
Falling Edge of SCLK
Sample MISO/MISO Input
Figure 19. SPI Protocol
During the inactive phase of the CS (HIGH), the new data
transfer is prepared.
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).
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.
The data transfer is only valid if exactly 8 sample clock
edges are present during the active (low) phase of CS.
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.
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:
- Power-On Reset (POR): level at which the logic is reset
and BATFAIL flag sets.
- Reset Mode
- Reset done by the RST pin (ext_reset)
Analog Integrated Circuit Device Data
Freescale Semiconductor
33910
31