71M6545 MAXIM [Maxim Integrated Products], 71M6545 Datasheet - Page 57

no-image

71M6545

Manufacturer Part Number
71M6545
Description
Four-Quadrant Metering, Phase Metrology Processors Flash/RAM Size
Manufacturer
MAXIM [Maxim Integrated Products]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
71M6545-IGT/F
Manufacturer:
MAXIM/美信
Quantity:
20 000
Part Number:
71M6545-IGTR/F
Manufacturer:
Maxim Integrated
Quantity:
10 000
Part Number:
71M6545-IGTR/F
Manufacturer:
MAXIM/美信
Quantity:
20 000
PDS_6545_009
2.5.11 EEPROM Interface
The 71M6545/H provides hardware support for either a two-pin or a three-wire (µ-wire) type of EEPROM
interface. The interfaces use the EECTRL (SFR 0x9F) and EEDATA (SFR 0x9E) registers for communication.
Two-pin EEPROM Interface
The dedicated 2-pin serial interface communicates with external EEPROM devices. The interface is
multiplexed onto the DIO2 (SDCK) and DIO3 (SDATA) pins and is selected by setting DIO_EEX[1:0] = 01
(I/O RAM 0x2456[7:6]). The MPU communicates with the interface through the SFR registers EEDATA
and EECTRL. If the MPU wishes to write a byte of data to the EEPROM, it places the data in EEDATA and
then writes the Transmit code to EECTRL. This initiates the transmit operation which is finished when the
BUSY bit falls. INT5 is also asserted when BUSY falls. The MPU can then check the RX_ACK bit to see if
the EEPROM acknowledged the transmission.
A byte is read by writing the Receive command to EECTRL and waiting for the BUSY bit to fall. Upon
completion, the received data is in EEDATA. The serial transmit and receive clock is 78 kHz during each
transmission, and then holds in a high state until the next transmission. The EECTRL bits when the two-pin
interface is selected are shown in
v1.0
Status
3:0
Bit
7
6
5
4
CMD[3:0]
ERROR
BUSY
RX_ACK
TX_ACK
Name
Not recommended
HIGH-Z
HIGH
LOW
Read/
Write
MISSION
W
R
R
R
R
Figure 14: Connecting an External Load to DIO Pins
SLEEP
© 2008–2011 Teridian Semiconductor Corporation
Table 48: EECTRL Bits for 2-pin Interface
Reset
State
0000
0
0
1
1
Table
DIO
V3P3SYS
V3P3D
GNDD
Positive
Positive
Positive
Positive
Positive
Polarity
48.
Description
1 when an illegal command is received.
1 when serial data bus is busy.
1 indicates that the EEPROM sent an ACK bit.
1 indicates when an ACK bit has been sent to the
EEPROM.
CMD[3:0]
0000
0010
0011
0101
Recommended
HIGH-Z
HIGH
LOW
No-op command. Stops the I
(SDCK). If not issued, SDCK keeps
toggling.
Receive a byte from the EEPROM and
send ACK.
Transmit a byte to the EEPROM.
Issue a STOP sequence.
MISSION
SLEEP
DIO
V3P3SYS
V3P3D
Operation
GNDD
Data Sheet 71M6545/H
2
C clock
57

Related parts for 71M6545