13 / 22 page

MLX90609
Angular Rate Sensor (Standard version)
390109060901
Page 13 of 22
Data Sheet
Rev 007
January/08
5.3.1 ADC Instructions and Answers
There are three SPI commands that are used to control embedded ADC of the MLX90609: STATR,
ADCC and ADCR.
• The Refusal Answer
Every instruction sent to the MLX90609 has an answer. If the MLX90609 is not able to accept the
instruction a refusal answer will be transmitted out. This answer has a unique format which is
shown in the Table 7. The refusal answer is the only one that has a set MSB. The other bits help to
understand a possible reason for the instruction rejection.
Refusal answer
Bit15
Bit14
Bit13
Bit12
Bit11
Bit10
Bit 9
Bit 8
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
1
OPC
EOC
X
X
BUSY
X
X
X
X
X
X
X
X
X
X
Table 7. Refusal answer format
• Command of the Status Reading (STATR)
Instruction
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
1
0
0
0
1
0
0
0
Answer
Bit15
Bit14
Bit13
Bit12
Bit11
Bit10
Bit 9
Bit 8
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0
X
EOC
X
X
X
X
X
X
X
X
X
CHAN
ADEN
X
X
Table 8. Format of the STATR command
•
•
•
• Command of the ADC Control (ADCC)
Instruction
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
1
0
0
1
CHAN
ADEN
0
0
Answer
Bit15
Bit14
Bit13
Bit12
Bit11
Bit10
Bit 9
Bit 8
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0
X
EOC
X
X
X
X
X
X
X
X
X
CHAN
ADEN
X
X
Table 9. Format of the ADCC command (The answer is the same as for the STATR command)
•
•
•
• Command of the ADC Reading (ADCR)
Instruction
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
1
0
0
0
0
0
0
0
Answer
Bit15
Bit14
Bit13
Bit12
Bit11
Bit10
Bit 9
Bit 8
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0
X
EOC
X
AD10
AD9
AD8
AD7
AD6
AD5
AD4
AD3
AD2
AD1
AD0
0
AD10…AD0
A result of the AD-conversion. These bits are valid only when EOC bit is set.
Table 10. Format of the ADCR command