English
Language : 

MLX75031 Datasheet, PDF (37/67 Pages) Melexis Microelectronic Systems – Optical Gesture & Proximity Sensing IC
MLX75031
Optical Gesture & Proximity Sensing IC
with Integrated LED Drivers
Datasheet
CS
SCLK
MOSI
MISO Tri state
DR
Device State
Internal Registers
8tsclk
SM/SD
Status Flags
1 byte
Idle
0x00
8tsclk
0x00
Ctrl1
1 byte
tcs_dr
Tri state
tdr
Measurement Cycle
Filling up
8tsclk
8tsclk
RO-Ctrl1
Status Flags
1 byte
RO-Ctrl2
Ctrl1
1 byte
Idle
Data Available
X*8tsclk
Output Data Frame
X bytes
Read-out
Emptying
Figure 13 : Separated SM - RO (X value is defined in Figure 12)
Tri state
Idle
0x00
CS
SCLK
MOSI
MISO Tri state
DR
Device State
Internal Registers
8tsclk
SM/SD
Status Flags
1 byte
Idle
0x00
8tsclk
0x00
Ctrl1
1 byte
tcs_dr
Tri state
tdr
Measurement Cycle
Filling up
8tsclk
8tsclk
SM/SD
Status Flags
1 byte
0x00
Ctrl1
1 byte
Idle
Data Available
X*8tsclk
tcs_dr
Output Data Frame
X bytes
Read-out
Emptying
Tri state
tdr
Measurement Cycle
Idle
0x
00
Filling up
Data Available
Figure 14 : Combined SM - RO (X value is defined in Figure 12)
8.11.7. WR/RR - Write/Read Register
The slave contains several user registers that can be read and written by the master.
The WR and RR commands are used for that.
The WR command writes the contents of an 8-bit register addressed by bits A3..0 with data D7..0. Data is sent
to the device over the MOSI pin. Control2 Byte contains the 8 bit data that shall be written into the target
register. Control3 Byte contains the address of the target register.
The WR command is defined in the table below:
Control1 Byte
1000 0111
D7D6D5D4 D3D2D1D0
A3A2A1A0
P1P0
Data1 Byte
Status Flag Byte
Control2 Byte
Control3 Byte
D7D6D5D4 D3D2D1D0
A3A2A1A0 P1P000
Data contents of register to be written
Address of target register
Parity bits (P1 = odd parity bit, P0 = even parity bit)
Data2 Byte
Data3 Byte
1000 0111
Table 20 : Write Register command
0000 0000
REVISION 001 – JANUARY, 2013
39010xxxxx
Page 37 of 37