English
Language : 

71M6541D Datasheet, PDF (75/166 Pages) Maxim Integrated Products – 0.1% Accuracy Over 2000:1 Current Range Energy Meter ICs
71M6541D/F/G and 71M6542F/G Data Sheet
SERIAL READ
(From Host) SPI_CSZ
(From Host) SPI_CK
(From Host) SPI_DI
(From 654x) SPI_DO
16 bit Address
8 bit CMD
Status Byte
DATA[ADDR]
DATA[ADDR+1]
Extended Read . . .
0
15 16
23 24
31 32
39 40
47
A15 A14
A1 A0 C7 C6 C5
HI Z
C0
ST7 ST6 ST5
x
ST0 D7 D6
D1 D0 D7 D6
D1 D0
SERIAL WRITE
16 bit Address
8 bit CMD
Status Byte
DATA[ADDR]
DATA[ADDR+1]
(From Host) SPI_CSZ
0
(From Host) SPI_CK
15 16
23 24
31 32
Extended Write . . .
39 40
47
(From Host) SPI_DI x A15 A14
(From 654x) SPI_DO
A1 A0 C7 C6 C5
HI Z
C0
ST7 ST6 ST5
D7 D6
ST0
D1 D0 D7 D6
D1 D0 x
Figure 27: SPI Slave Port - Typical Multi-Byte Read and Write operations
Command Sequence
ADDR 1xxx xxxx STATUS
Byte0 ... ByteN
0xxx xxxx ADDR Byte0 ...
ByteN
Table 63: SPI Command Sequences
Description
Read data starting at ADDR. ADDR auto-increments until SPI_CSZ is
raised. Upon completion, SPI_CMD (SFR 0xFD) is updated to 1xxx xxxx
and an SPI interrupt is generated. The exception is if the command byte
is 1000 0000. In this case, no MPU interrupt is generated and SPI_CMD
is not updated.
Write data starting at ADDR. ADDR auto-increments until SPI_CSZ is
raised. Upon completion, SPI_CMD is updated to 0xxx xxxx and an SPI
interrupt is generated. The exception is if the command byte is 0000
0000. In this case, no MPU interrupt is generated and SPI_CMD is not
updated.