I5216 series, Preliminary – Rainbow Electronics ISD5216 User Manual
Page 44

I5216 SERIES
Advanced Information
PRELIMINARY
Publication Release Date: November 30, 2001
- 44
Revision A1
ERASE DIGITAL DATA
:
To erase digital information the following is done:
1. Host executes I
2
C START.
2. Send Slave Address with R/W bit = “0” (Write).
3. Slave responds back with an ACK.
4. Wait for SCL HIGH.
5. Send Digital Mode command – 0X80h, 0XC0h
6. Slave responds with an ACK.
7. Wait for SCL HIGH.
8. Send Slave Address command – 0X80h
9. Slave responds with an ACK.
10. Wait for SCL HIGH.
11. Host sends a Digital Erase command to Slave - (Command Byte = 0XD1h).
12. Slave responds with an ACK.
13. Wait for SCL HIGH.
14. Host sends a byte to Slave - (High Address Byte = 0000h).
15. Slave responds with an ACK.
16. Wait for SCL HIGH.
17. Host sends a byte to Slave - (Low Address Byte = 0XA0h). Erase row 5 in this example.
18. Slave responds with an ACK
19. Wait for SCL HIGH.
20. Host executes I
2
C STOP.
21. Host waits for RAC\ to go LOW and then back HIGH.
22. Host executes I
2
C START.
23. Send Exit Digital Mode Command – 0X80h, 0X40h
24. Slave responds with an ACK.
25. Wait for SCL HIGH
26. Host executes I
2
C STOP.
A
S
SLAVE ADDRESS
W
Command Byte
D1h
A
DATA
A
DATA
A
High Addr. Byte
Low Addr. Byte
A
S
SLAVE ADDRESS
W
P
Command Byte
80h
Erase starts on falling
edge of Slave
acknowledge
Note 2
"N" RAC cycles
Note 3.
Last erased row
Note 4.
A
P