DMU380ZA Series
User’s Manual
________________________________________________________________________
Doc# 7430-3810 Rev.02
Page 39
RS_DYNAMIC_RANGE
0x39
See Table 27: Set the rate-sensor dynamic range and the
digital filter
LOW_PASS_FILTER
0x38
MAG_ALIGN
0x50
See Section 5.7.4: Command to initiate a magnetic-alignment
The following example highlights how write-commands are formed in order to initiate a
sensor self-test:
Select the write address of the desired register, e.g. 0x35 for self-test
Change the most-significant bit of the address to 1 (the write-bit), e.g. 0x35
becomes 0xB5
Create the write command by appending the write-bit/address combination with
the value to be written to the register, e.g. 0xB504 (see Table 25 for a description
of the self-test register)
Figure 12 illustrates the sensor self-test command sent over SPI.
Figure 12 Single Register Write to Initiate Self-Test
As described in Section 5.7.1, the self-test command bit remains set until the test
completes. The master must read from register 0x34 to assess if the test is complete
(Figure 13). Note: as described in the Register Reads section, a register read returns two
bytes, in this case a read from register 0x34 returns data from registers 0x34 (self-test
information) and 0x35 (data-ready settings). The value read from the DMU380ZA must
be parsed according to Table 25 to determine self-test completion status.
Figure 13 Polled-Read of the Self-Test/Data-Ready Register
0xB504
N/A
nSS
CLK
MOSI
MISO
0x3400
0x0000
N/A
ST+DR
nSS
CLK
MOSI
MISO