ptn3500dh NXP Semiconductors, ptn3500dh Datasheet - Page 7

no-image

ptn3500dh

Manufacturer Part Number
ptn3500dh
Description
Maintenance And Control Device
Manufacturer
NXP Semiconductors
Datasheet
Philips Semiconductors
MEMORY OPERATIONS
Write operations
Write operations require an additional address field to indicate the
memory address location to be written. The address field is eight
bits long, providing access to any one of the 256 words of memory.
There are two types of write operations, byte write and page write.
Byte Write (see Figure 12)
To perform a byte write the start condition is followed by the memory
slave address and the R/W bit set to 0. The PTN3500 will respond
with an acknowledge and then consider the next eight bits sent as
the word address and the eight bits after the word address as the
data. The PTN3500 will issue an acknowledge after the receipt of
both the word address and the data. To terminate the data transfer
2001 Jan 17
Maintenance and control device
SDA
START
CONDITION
S
1 0 1 0 A2 A1 A0
(MEMORY)
ADDRESS
SLAVE
SDA
START CONDITION
S 1 0 1 0 A2A1A0
R/W
0
A
ACKNOWLEDGE
FROM SLAVE
(MEMORY)
ADDRESS
SLAVE
ADDRESS
WORD
R/W
0
Figure 13. Page Write
Figure 12. Byte write
A
ACKNOWLEDGE
FROM SLAVE
ACKNOWLEDGE
FROM SLAVE
A
ADDRESS
DATA TO MEMORY
WORD
7
DATA n
the master issues the stop condition, initiating the internal write cycle
to the non-volatile memory. Only write and read operations to the
Quasi-bidirectional I/O are allowed during the internal write cycle.
Page Write (see Figure 13)
A page write is initiated in the same way as the byte write. If after
sending the first word of data, the stop condition is not received the
PTN3500 considers subsequent words as data. After each data
word the PTN3500 responds with an acknowledge and the two least
significant bits of the memory address field are incremented. Should
the master not send a stop condition after four data words the
address counter will return to its initial value and overwrite the data
previously written. After the receipt of the stop condition the inputs
will behave as with the byte write during the internal write cycle.
ACKNOWLEDGE
FROM SLAVE
A
A
ACKNOWLEDGE
FROM SLAVE
ACKNOWLEDGE
DATA
FROM SLAVE
DATA TO MEMORY
DATA +3n
A
STOP
CONDITION
P
A
STOP
CONDITION
P
Product specification
PTN3500
SW00553
SW00554

Related parts for ptn3500dh