|
MLX90609 Datasheet, PDF (13/22 Pages) List of Unclassifed Manufacturers – Angular Rate Sensor (Standard version) | |||
|
◁ |
MLX90609
Angular Rate Sensor (Standard version)
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.
Bit15 Bit14 Bit13 Bit12 Bit11 Bit10
1 OPC EOC X
X BUSY
Bit 9
X
Refusal answer
Bit 8 Bit 7 Bit 6
X
X
X
Bit 5
X
Bit 4
X
Bit 3
X
Bit 2
X
Bit 1
X
Bit 0
X
Table 7. Refusal answer format
⢠Command of the Status Reading (STATR)
Bit 7
1
Bit 6
0
Bit 5
0
Instruction
Bit 4
Bit 3
0
1
Bit 2
0
Bit15 Bit14 Bit13 Bit12 Bit11 Bit10
0
X EOC X
X
X
Bit 9
X
Answer
Bit 8 Bit 7
X
X
Bit 6
X
Bit 5
X
Bit 4
X
Table 8. Format of the STATR command
Bit 1
0
Bit 3 Bit 2
CHAN ADEN
Bit 0
0
Bit 1
X
Bit 0
X
⢠Command of the ADC Control (ADCC)
Bit 7
1
Bit 6
0
Bit 5
0
Instruction
Bit 4
Bit 3
1
CHAN
Bit 2
ADEN
Bit 1
0
Bit 0
0
Bit15 Bit14 Bit13 Bit12 Bit11 Bit10
0
X EOC X
X
X
Bit 9
X
Answer
Bit 8 Bit 7
X
X
Bit 6
X
Bit 5
X
Bit 4
X
Bit 3
CHAN
Bit 2
ADEN
Bit 1
X
Bit 0
X
Table 9. Format of the ADCC command (The answer is the same as for the STATR command)
⢠Command of the ADC Reading (ADCR)
Bit 7
1
Bit 6
0
Bit 5
0
Instruction
Bit 4
Bit 3
0
0
Bit 2
0
Bit 1
0
Bit 0
0
Bit15 Bit14
0
X
AD10â¦AD0
Bit13 Bit12 Bit11 Bit10
EOC X AD10 AD9
Bit 9
AD8
Answer
Bit 8 Bit 7
AD7 AD6
Bit 6
AD5
Bit 5
AD4
A result of the AD-conversion. These bits are valid only when EOC bit is set.
Bit 4
AD3
Bit 3
AD2
Bit 2
AD1
Bit 1
AD0
Bit 0
0
Table 10. Format of the ADCR command
390109060901
Rev 007
Page 13 of 22
Data Sheet
January/08
|
▷ |