English
Language : 

MLX75031 Datasheet, PDF (28/67 Pages) Melexis Microelectronic Systems – Optical Gesture & Proximity Sensing IC
MLX75031
Optical Gesture & Proximity Sensing IC
with Integrated LED Drivers
Datasheet
The Data1 Byte contains some internal status flags to allow checking the internal state of the device.
The internal status flags are defined in the table below (Table 13). See section 0 for more information
concerning the operation of the status flags.
Status flag
Bit 7 (MSB)
Bit 6..5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0 (LSB)
Status when bit is set
Status when bit is clear
Previous Command was invalid
Previous Command was valid
Power State:
11 = (reserved)
10 = Normal Running Mode
01 = Stand-by State
00 = Sleep State
Sleep Request was sent
No Sleep Request available
Standby Request was sent
No Standby Request available
Device is in TestMode
Device is not in TestMode
Internal Oscillator is enabled (Standby
Mode or Normal Running Mode)
Internal Oscillator is shut down
(Sleep Mode)
Critical Error occurred
No Error is detected
Table 13 : Internal Status Flags as given in the Data1 Byte
Table 14 summarizes the instruction set of the sensor.
A detailed explanation of these different commands is given in Section 8.11.3.
Symbol
NOP
CR
WDT
RSLP
CSLP
RSTBY
CSTBY
NRM
SM
SD
RO
WR
RR
Command Description Control1 Byte Control2 Byte
Idle Command
0000 0000
0000 0000
Chip Reset
1111 0000
0000 0000
Watchdog Trigger
1001 0011
0000 0000
Request Sleep
1110 0001
0000 0000
Confirm Sleep
1010 0011
0000 0000
Request Standby
1110 0010
0000 0000
Confirm Standby
1010 0110
0000 0000
Normal Running Mode 1110 0100
0000 0000
Start Measurement 1101 00R0T
M6..M3
M2M1M0P
Start Diagnostics
1011 0000
0000 0000
Start Read-Out
1100 0011
0000 0000
Write Register
1000 0111
D7..D0
Read Register
1000 1110
A3..A0 0000
Table 14 : Instruction set of the Active Light sensor
Control3 Byte
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
A3..A0 P1P000
0000 0000
Besides the above instruction set, there are some test commands available for production test purposes. To
prevent unintentional access into these test modes, it requires multiple commands before the actual test
mode is entered.
REVISION 001 – JANUARY, 2013
39010xxxxx
Page 28 of 28