English
Language : 

MLX90363 Datasheet, PDF (31/57 Pages) Melexis Microelectronic Systems – Triaxis® Magnetometer IC With High Speed Serial Interface
MLX90363
Triaxis® Magnetometer IC
With High Speed Serial Interface
14.15. DiagnosticsDetails commands
This is the only function that can be combined with a regular message.
#7 6 5 4 3 2 1 0 # 7 6 5 4 3 2 10
1
0
3
2
5
4
7
CRC
611010110
Table 32 – DiagnosticsDetails Slave In Command (opcode =22)
Use DiagnosticDetails to get a detailed analysis of the diagnostics.
#7 6 5 4 3 2 10# 7 6 5 4 3 2 1 0
1
D15
D14 D13
D12 D11 D10
D9
D8
0
D7
D6
D5
D4
D3
D2
D1
D0
3 FSMERC
ANADIAGCNT
2
0
0
0
D20 D19 D18 D17 D16
5
4
7
CRC
61 1 0 1 0 1 1 1
Table 33 - Diagnostics DiagnosticDetails Master In message (Opcode = 23)
• Diagnostic bit Dx : see Section 18
• Parameter ANADIAGCNT is a sequence loop counter referring to the analog-class diagnostics (all
others).
If FSMERC = 3, ANADIAGCNT takes another meaning:
193 protection error interruption happened
194 invalid address error interruption happened
195 program error interruption happened
196 exchange error interruption happened
197 not connected error interruption happened
198 Stack Interrupt
199 Flow Control Error
• Parameter FSMERC reports the root-cause of entry in fail-safe mode
o FSMERC = 0 : the chip is not in fail safe mode
o FSMERC = 1 : BIST error happened and the chip is in fail safe mode
o FSMERC = 2 : digital diagnostic error happened and the chip is in fail safe mode
o FSMERC = 3 : one of the 5 error interruptions listed above happened and the chip is in
fail safe mode
3901090363
Rev. 005
Page 31 of 57
Data Sheet
Jul/13