beautypg.com

I5216 series, Preliminary – Rainbow Electronics ISD5216 User Manual

Page 42

background image

I5216 SERIES

Advanced Information

PRELIMINARY

Publication Release Date: November 30, 2001

- 42

Revision A1



A sequence might look like:
- read the entire page
- store it in RAM
- change the desired bit(s)
- erase the page
- write the new data from RAM to the entire page

EXAMPLE COMMAND SEQUENCES

Graphical representations of these operations follow each description.

WRITE DIGITAL DATA:

A single byte may be written to the Command Byte Register in order to

power up the device, start or stop Analog Record (if no address information is needed), or do a
Message Cueing function. For the normal digital addressed mode, the Registers are loaded as
follows:

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 byte to Slave - (Command Byte = 00C9h).
12. Slave responds with an ACK.
13. Wait for SCL HIGH.
14. Host sends a byte to Slave - (High Address Byte).
15. Slave responds with an ACK.
16. Wait for SCL HIGH.
17. Host sends a byte to Slave - (Low Address Byte).
18. Slave responds with an ACK
19. Wait for SCL HIGH.
20. Host sends a byte to Slave - (First 8 bits of digital information).
21. Slave responds with an ACK.
22. Wait for SCL HIGH.
23. Steps 19, 20 and 21 are repeated until last byte is sent and acknowledged.
24. Send Exit Digital Mode Command – 0X80h, 0X40hHost executes I

2

C STOP.






S

SLAVE ADDRESS

A

P

W

Command

C9h

A

DATA

A

DATA

A

High Addr. Low Addr.