English
Language : 

MLX75031 Datasheet, PDF (40/67 Pages) Melexis Microelectronic Systems – Optical Gesture & Proximity Sensing IC
MLX75031
Optical Gesture & Proximity Sensing IC
with Integrated LED Drivers
Datasheet
In section Section 8.5.1 the typical DAC output voltage is given for a certain code, call this voltage Vdac (in
V). Then the following formula applies: ADC_out = 19721*Vdac + 32768, where ADC_out is the decimal
value of the DAC-ADC Test word in the Output Data Frame.
Ambient Diodes Detection
During the Diagnostics measurement, the status of the external photo diodes connected to the ambient
light channel inputs is checked.
Three bits b'CDE are output: when the bit C is set high, an error on the photodiode channel C is present. In a
similar way, bits D and E indicate if errors on ambient light channels D and E are present or not.
8.12. Internal Status Flags
Bit 7: Previous Command invalid/valid
When an uploaded command is considered invalid, bit 7 will be set high. This bit can be read out when the
next command will be uploaded. If the next command is valid, bit 7 will be cleared again.
A command is considered invalid in case :
- a command is unknown (i.e. all commands that are not mentioned in Table 14)
- the parity bit in the SM or SD command is not correct
- the parity bits in a WR command are not correct
- when a command (except the CR command) was sent during a measurement cycle
(i.e. after uploading a SM/SD command, when DR is still low)
- when a RO command was sent when DR is low
(at any time, i.e. not only after uploading a SM/SD command)
- if a '1' is written into one of the bits of the 'Err' register
- if a WDT command is uploaded while the device is in Sleep Mode
Bit 6..5: Power State, Bit 4: Sleep request, Bit 3: Standby request
The behaviour of the power state and the sleep request bits is explained in Figure 15.
First a RSLP command is uploaded to the sensor. As a result of that, the sensor will put the status flag bit 4
(sleep request flag) high. The master can read out that flag by uploading a NOP command, or when
uploading other commands.
The master can confirm to go into sleep mode by uploading a CSLP command. The request flag will be reset
and the sensor will switch into sleep state. The status flag bits 6 and 5 will be set accordingly.
Figure 15 : Power State and Sleep Request bits
REVISION 001 – JANUARY, 2013
39010xxxxx
Page 40 of 40