DMU380ZA Series
User’s Manual
________________________________________________________________________
Doc# 7430-3810 Rev. 02
Page 34
Configuration/Status information
The SPI master accesses information via the SPI bus in one of two ways:
Polled-Mode
Burst-Mode
In polled-mode, the DMU380ZA transfers information from any register back to the
master in two (or more) SPI cycles
4
. In Burst-Mode, the DMU380ZA transfers
predefined blocks of data in one contiguous group of nine to twenty SPI cycles.
5.2.1
DMU380ZA SPI Port Polled-Mode Read
In polled-mode, data transfer begins when the SPI master sets the chip-select line (nSS)
low and clocks a 16-bit word, comprised of the register-address byte and a zero-byte,
across the MOSI line. For example,
to request the unit’s serial number, stored in register
0x58, the master sends the command 0x5800. The DMU380ZA returns information from
this address across the MISO line during the following 16 clock-cycles.
Subsequent SPI-master commands sent to the DMU380ZA consist of either:
Sixteen zero-bits (0x0000) to complete the read of a single register.
The address of another register followed by a zero-byte. This permits back-to-
back reads of data-registers.
Single-Register Polled-Read
Figure 9 illustrates a polled-mode read of a single register (x-axis rate-sensor data), which
is composed of two bytes, starting at register address 0x04.
In this example, the SPI-master initiates a register read by clocking in the address
followed by 0x00, i.e. 0x0400, via MOSI; this combination is referred to as a read-
command
5
. This is followed by 16 zero-bits to complete the SPI data-transfer cycle.
As the master transmits the read command over MOSI, the DMU380ZA transmits
information back over MISO. In this transmission, the first data-word sent by the
DMU380ZA (as the read-command is sent) consists of 16-bits of non-applicable data.
The subsequent 16-bit message contains the x-axis rate-sensor information (most
significant byte followed by least-significant byte).
Figure 9 Single Register Read via Polled-Mode
4
A SPI cycle consists of 16 clock cycles.
5
A read-command consists of an 8-bit register address and a zero byte (0x00).
0x0400
0x0000
N/A
X_RATE
nSS
CLK
MOSI
MISO