[Data reading procedure]
When the CPU read the dara of EEPROM, CPU send the CS signal and SK signal to EEPROM.
Then, CPU send the address to EEPROM, and then EEPROM send the data to CPU.
CSCS
SKSK
DIDIAddressAddress
DODO
DataData
Output data hereOutput data here
[Data writing procedure]
When the CPU save the data to EEPROM, CPU sends the CS and SK signal to EEPROM.
And CPU send the address and data to EEPROM from pin No.31.
When the EEPROM writes the data , EEPROM outputs the busy signal from DO terminal to CPU.
After finish writing, EEPROM outputs the ready signal from DO terminal to CPU.
Status
CSCS
SKSK
AddressAddressDataData
DIDI
READY(H)
DODOHigh Impedance
BUSY(L)
N 16 N |