English
Language : 

ZAMC4100 Datasheet, PDF (55/155 Pages) Integrated Device Technology – Actuator and Motor Controller
ZAMC4100 Datasheet
3.7.1. SBC and MCU SPI Connection Principles
The SBC to MCU connections using the SPI bus are shown in Figure 3.9. The SPI line definitions are given in
Table 3.11.
Figure 3.9 MCU-to-SBC Connection via SPI
SBC
IRQ0
IRQ1
IRQn
Interrupt
Logic
ZAMC4100
IRQN
MCU
Processor
Core
SBC
Registers
8
8 SPI Slave
wr_en
rd_en
CSN
MISO
MOSI
SPI_CLK
SPI Master
Table 3.11 SPI Lines Description
Line Name
CSN
Description
Active-low chip select with an internal pull-up in the SBC. The falling edge of the CSN line
initiates the SPI data transfer. A high level on CSN disables the SPI of SBC.
MOSI
Master-Out Slave-In. The SBC has an internal pull-down resistor.
MISO
Master-In Slave-Out.
SPI_CLK
SPI clock with an internal pull-up in the SBC. In inactive state, the SPI_CLK line is in high. The
value on the MISO and MOSI lines is changed on the falling edge of SPI_CLK and captured on
the rising edge of SPI_CLK.
The SPI slave recognizes two frames: the data WRITE frame and the data READ frame (see Figure 3.10).
The SPI communication starts when the MCU switches the CSN line to LOW and ends when the CSN line goes
HIGH. Each SPI frame begins with a command byte followed by the data byte(s).
The SPI command frame (Figure 3.10–C) contains the R/ W bit for indicating the access type, five address bits
for pointing to the accessed SBC register, and the B bit for enabling the burst read mode.
As the command byte is shifted in, the SBC automatically shifts out the slave status byte containing the important
interrupt status bits (Figure 3.10–D).
© 2016 Integrated Device Technology, Inc.
55
January 26, 2016