Analog Integrated Circuit Device Data
Freescale Semiconductor
13
33991
TIMING DESCRIPTIONS AND DIAGRAMS
COMMUNICATION MEMORY MAPS
TIMING DESCRIPTIONS AND DIAGRAMS
Figure 5. Single 16-Bit Word SPI Communication
Figure 6. Multiple 16-Bit Word SPI Communication
DATA INPUT
The input Shift register captures data at the falling edge of
the SCLK clock. The SCLK clock pulses exactly 16 times only
inside the transmission windows (CS in a logic [0] state). By
the time the CS signal goes to logic [1] again, the contents of
the Input Shift register are transferred to the appropriate
internal register, according to the address contained in bits
15-13. The minimum time CS should be kept high depends
on the internal clock speed. That data is specified in the
SPI
Interface Timing Table
. It must be long enough so the internal
clock is able to capture the data from the input Shift register
and transfer it to the internal registers.
DATA OUTPUT
At the first rising edge of the SCLK clock, with the CS at
logic [0], the contents of the Status Word register are
transferred to the Output Shift register. The first 16 bits
clocked out are the status bits. If data continues to clock in
before the CS transitions to a logic [1], the device to shift out
the data previously clocked in FIFO after the CS first
transitioned to logic [0].
COMMUNICATION MEMORY MAPS
The 33991device is capable of interfacing directly with a
micro controller, via the 16-bit SPI protocol described and
specified below. The device is controlled by the
microprocessor and reports back status information via the
SPI. This section provides a detailed description of all
registers accessible via serial interface. The various registers
control the behavior of this device.
A message is transmitted by the master beginning with the
MSB (D15) and ending with the LSB (D0). Multiple
messages can be transmitted in succession to accommodate
those applications where daisy chaining is desirable, or to
confirm transmitted data, as long as the messages are all
multiples of 16 bits. Data is transferred through daisy chained
devices, illustrated in Figure 5. If an attempt is made to latch
in a message smaller than 16 bits wide, it is ignored.
The 33991 uses six registers to configure the device and
control the state of the four H-bridge outputs. The registers
are addressed via D15-D13 of the incoming SPI word, in
Table 2.
Internal registers are
loaded som etim e
after this edge
C SB
SI
SC LK
D 15
D 1
D 2
D 3
D 4
D 5
D 6
D 7
D 8
D 9
D 14
D 13
D 12
D 11
D 10
O D 12
D 0
O D 13
O D 14
O D 15
O D 6
O D 7
O D 8
O D 9
O D 10
O D 11
O D 1
O D 2
O D 3
O D 4
O D 5
1.
S O is tri-stated when C S B is logic 1.
CS is logic 1.
N O TE S:
O D 0
SO
O utput shift register is
CS
SCLK
SI
SO
C SB
S I
SC LK
D 15
D 1*
D 2*
D 13*
D 14*
D 15*
D 0
D 1
D 14
D 13
D 2
D 0*
O D 13
O D 14
O D 15
D 14
D 15
O D 0
O D 1
O D 2
D 1
D 2
D 13
1.
2.
3.
4.
S O is tri-stated when C S B is logic 1.
D 15, D 14, D 13, ..., and D 0 refer to the first 16 bits of data into the G D IC .
D 15*, D 14*, D 13*, ... , and D 0* refer to the m ost recent entry of program data into the G D IC .
O D 15, O D 14, O D 13, ..., and O D 0 refer to the first 16 bits of fault and status data out of the G D IC .
N O TE S
:
D 0
SO
CS
SI
SO
SCLK