English
Language : 

MLX90316KDC-BDG Datasheet, PDF (33/45 Pages) Melexis Microelectronic Systems – Rotary Position Sensor IC
MLX90316
Rotary Position Sensor IC
16.10.4. Data Structure
The DATA16 could be a valid angle, or an error condition. The two meanings are distinguished by the
LSB.
DATA16: Angle A[13:0] with (Angle Span)/214
Most Significant Byte
Less Significant Byte
MSB
LSB MSB
LSB
A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 0 1
DATA16: Error
Most Significant Byte
Less Significant Byte
MSB
LSB MSB
LSB
E15 E14 E13 E12 E11 E10 E9 E8 E7 E6 E5 E4 E3 E2 E1 E0
BIT NAME
E0 0
E1 1
E2 F_ADCMONITOR
E3 F_ADCSATURA
E4 F_RGTOOLOW
E5 F_MAGTOOLOW
E6 F_MAGTOOHIGH
E7 F_RGTOOHIGH
E8 F_FGCLAMP
E9 F_ROCLAMP
E10 F_MT7V
E11 -
E12 -
E13 -
E14 F_DACMONITOR
E15 -
ADC Failure
ADC Saturation (Electrical failure or field too strong)
Analog Gain Below Trimmed Threshold
(Likely reason : field too weak)
Magnetic Field Too Weak
Magnetic Field Too Strong
Analog Gain Above Trimmed Threshold
(Likely reason : field too strong)
Never occurring in serial protocol
Analog Chain Rough Offset Compensation : Clipping
Device Supply VDD Greater than 7V
Never occurring in serial protocol
16.10.5. Angle Calculation
All communication timing is independent (asynchronous) of the angle data processing. The angle is
calculated continuously by the Slave:
• Slow Mode: every 1.5 ms at most.
• Fast Mode: every 350 µs at most.
The last angle calculated is hold to be read by the Master at any time. Only valid angles are transferred by
the Slave, because any internal failure of the Slave will lead to a soft reset.
16.10.6. Error Handling
In case of any errors listed in section 16.10.4, the Serial protocol will be initialized and the error condition
can be read by the master. The slave will perform a soft reset once the error frame is sent.
In case of any other errors (ROM CRC error, EEPROM CRC error, RAM check error, intelligent watchdog
error…) the Slave’s serial protocol is not initialized. The MOSI/MISO pin will stay Hi-impedant (no error
frames are sent).
3901090316
Rev10
Page 33 of 45
Jul/13