English
Language : 

MLX83202 Datasheet, PDF (23/35 Pages) Melexis Microelectronic Systems – Automotive NFET pre-drivers
8.5.2.2 SPI registers
MLX83202/MLX83203
Automotive NFET pre-drivers
Figure 11. SPI REGISTERS and relation to internal Data latches
MOSI
Bit[7]
Bit[6]
Bit[5]
MOSI_DATA [3:0]
Bit[4]
Bit[3]
x
Bit[2]
Bit[1]
Bit[0]
Address [2:0]
Bit[15]
Mosi_Parity
MISO
Bit[7]
Bit[14]
x
Bit[13]
x
Bit[12]
Bit[11]
CMD [1:0]
00: EE_RD
01: EE_WR
10: EE_RDAW1
11: EE_RDAW2
Bit[6]
Bit[5]
MISO_DATA [3:0] (*)
Bit[4]
Bit[3]
x
Bit[10] Bit[9]
Bit[8]
MOSI_DATA [6:4]
Bit[2]
Bit[1]
Bit[0]
The content from previous MOSI[2:0]
Bit[15]
Miso_ Parity
Bit[14]
COMM_ERR
Bit[13]
EE_READY
Bit[12]
Bit[11]
The content from previous
MOSI[12:11]
Table 13. SPI registers description
Bit[10] Bit[9]
Bit[8]
MISO_DATA [6:4] (*)
(*) MISO_DATA [10:4]
IF
MOSI(N)[11:12] = EE_WR (Write command)
THEN
MISO(N+1)[10:4] = MOSI(N)[10:4] from previous WR
instruction
ELSE
; MOSI(N)[11:12] <> EE_WR
MISO(N+1)[10:4] = EEPROM(address=MOSI(N)[2:0])
Comment
The data received via MOSI have been shifted into the MISO
register. This allows the MCU to verify the correct data have
been transmitted.
In order to verify if the data have been correct stored into the
EEPROM, a dedicated read command is required.
In case a read command is received, the data in the MISO
register have been copied out of the designated address in the
EEPROM. Mind that 3 read consecutive read commands have
to be successful to ensure retention time.
3901083203
Rev 2.2
Page 23 of 35
Prelim. Data Sheet
4 Dec 2013