English
Language : 

71M6533 Datasheet, PDF (50/124 Pages) Teridian Semiconductor Corporation – Energy Meter IC
71M6533/71M6534 Data Sheet
FDS_6533_6534_004
SERIAL READ
8 bit CMD
16 bit Address
DATA[ADDR]
DATA[ADDR+1]
PCSZ
0
PSCK
(From Host) PSDI x C7 C6 C5
(From 653X) PSDO
78
C0 A15 A14
HI Z
23 24
A1 A0 x
D7 D6
Extended Read . . .
31 32
39
D1 D0 D7 D6
D1 D0
SERIAL WRITE
8 bit CMD
16 bit Address
DATA[ADDR]
DATA[ADDR+1]
PCSZ
0
PSCK
78
23 24
Extended Write . . .
31 32
39
(From Host) PSDI x
(From 653X) PSDO
C7 C6 C5
C0 A15 A14
A1 A0 D7 D6
HI Z
D1 D0 D7 D6
Figure 15: SPI Slave Port: Typical Read and Write operations
Table 43: SPI Command Description
D1 D0 x
Command
11xx xxxx ADDR Byte0 ... ByteN
10xx xxxx ADDR Byte0 ... ByteN
Description
Read data starting at ADDR. The ADDR will auto-increment until PCSZ
is raised. Upon completion:
SP__CMD=11xx xxxx, SP_ADDR=ADDR+N+1.
No MPU interrupt is generated if the command is 1100 0000. Other-
wise, an SPI interrupt is generated.
Write data starting at ADDR. The ADDR will auto-increment until PCSZ
is raised. Upon completion:
SP_CMD=10xx xxxx, SP_ADDR=ADDR+N+1.
No MPU interrupt is generated if the command is 1000 0000. Other-
wise, an SPI interrupt is generated.
Possible applications for the SPI interface are:
1) An external host reads data from CE locations to obtain metering information. This can be used
in applications where the 71M6533 or 71M6534 function as a smart front-end with preprocessing
capability. Since the addresses are in 16-bit format, any type of XRAM data can be accessed:
CE, MPU, I/O RAM, but not SFRs or the 80515-internal register bank.
2) A communication link can be established via the SPI interface: By writing into MPU memory loca-
tions, the external host can initiate and control processes in the 71M6533/71M6534 MPU. Writ-
ing to a CE or MPU location normally generates an interrupt, a function that can be used to signal
to the MPU that the byte that had just been written by the external host must be read and
processed. Data can also be inserted by the external host without generating an interrupt.
3) An external DSP can access front-end data generated by the ADC. This mode of operation uses
the 71M6533 or 71M6534 as an analog front-end (AFE).
50
© 2007-2009 TERIDIAN Semiconductor Corporation
v1.1