English
Language : 

MLX75031 Datasheet, PDF (34/67 Pages) Melexis Microelectronic Systems – Optical Gesture & Proximity Sensing IC
MLX75031
Optical Gesture & Proximity Sensing IC
with Integrated LED Drivers
Datasheet
In the Control2 byte an even parity bit P is foreseen. The parity bits calculation is based on the
measurement selection bits M6..M0. If the number of ones in the given data set [M6..M0] is odd, the even
parity bit P shall be set to 1, making the total number of ones in the set [M6..M0, P] even.
The SPI invalid flag will be set when the parity bit does not correspond to the calculated parity bit.
After upload of a SM/SD command, no other commands will be accepted till DR is high. This is done to avoid
too much disturbances in the analog part. Once DR is high, the next command will be accepted. An
exception however is the Chip Reset command. This will always be accepted.
Note : none of the SM/SD commands are available in Standby and Sleep Mode.
8.11.5. RO – Start Read-Out
When the state of the DR pin changed into a high state, the measurement data is available for read-out.
The RO command shall be uploaded to start a read-out cycle and to start reading out the data that was
stored in the internal registers.
To make sure that no memory effects can occur,
all data registers are cleared at the end of each read-out cycle.
A typical timing diagram is given in Figure 12 below:
CS
SCLK
MOSI
MISO
DR
tcs_dr
SM1x/SM2/SM3x
Command
tdr
Tri state
8tsclk
8tsclk
RO-Ctrl1
Status Flags
1 byte
RO-Ctrl2
Ctrl1
1 byte
X*8tsclk
Output Data Frame
X bytes
Figure 12 : Timing diagram for Read-Out
Tri state
Note : the RO command is not available in Standby and Sleep Mode.
The data that appears on the MISO pin depends on the type of measurement that was done (i.e. it depends
on the command that was uploaded: SM/SD and the selected option bits M6..M0).
REVISION 001 – JANUARY, 2013
39010xxxxx
Page 34 of 34