Main Memory Page Read | Read | Main Memory Page to Buffer | Buffer to Main Memory Page | Buffer 1 Write | Buffer 2 Write | ||||||||
Transfer | Compare | Erase & Write | Write | ||||||||||
Buf1 | Buf2 | Buf1 | Buf2 | Buf1 | Buf2 | Buf1 | Buf2 | Buf1 | Buf2 | ||||
52H | 54H | 56H | 53H | 55H | 60H | 61H | 83H | 86H | 88H | 89H | 84H | 87H | |
0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | ||||||
1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | ||||||
0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | ||||||
1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | ||||||
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||
0 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 1 | |||||
1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | |||||
0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | |||||
r | X | X | r | r | r | X | X | ||||||
r | X | X | r | r | r | X | X | ||||||
r | X | X | r | r | r | X | X | ||||||
PA11 | X | X | PA11 | PA11 | PA11 | X | X | ||||||
PA10 | X | X | PA10 | PA10 | PA10 | X | X | ||||||
PA9 | X | X | PA9 | PA9 | PA9 | X | X | ||||||
PA8 | X | X | PA8 | PA8 | PA8 | X | X | ||||||
PA7 | X | X | PA7 | PA7 | PA7 | X | X | ||||||
PA6 | X | X | PA6 | PA6 | PA6 | X | X | ||||||
PA5 | X | X | PA5 | PA5 | PA5 | X | X | ||||||
PA4 | X | X | PA4 | PA4 | PA4 | X | X | ||||||
PA3 | X | X | PA3 | PA3 | PA3 | X | X | ||||||
PA2 | X | X | PA2 | PA2 | PA2 | X | X | ||||||
PA1 | X | X | PA1 | PA1 | PA1 | X | X | ||||||
PA0 | X | X | PA0 | PA0 | PA0 | X | X | ||||||
BA8 | BFA8 | BFA8 | X | X | X | BFA8 | BFA8 | ||||||
BA7 | BFA7 | BFA7 | X | X | X | BFA7 | BFA7 | ||||||
BA6 | BFA6 | BFA6 | X | X | X | BFA6 | BFA6 | ||||||
BA5 | BFA5 | BFA5 | X | X | X | BFA5 | BFA5 | ||||||
BA4 | BFA4 | BFA4 | X | X | X | BFA4 | BFA4 | ||||||
BA3 | BFA3 | BFA3 | X | X | X | BFA3 | BFA3 | ||||||
BA2 | BFA2 | BFA2 | X | X | X | BFA2 | BFA2 | ||||||
BA1 | BFA1 | BFA1 | X | X | X | BFA1 | BFA1 | ||||||
BA0 | BFA0 | BFA0 | X | X | X | BFA0 | BFA0 | ||||||
Opcode: 57H
After
Check the device status by sending opcode 57H and then clocking bit 7 (the MSB) of the status register back out on the SO pin. If bit 7 is a 1, then the device is not busy and is ready to accept the next command. If bit 7 is a 0, then the device is in a busy state.
The user can continuously poll bit 7 of the status register by stopping SCK once bit 7 has been output. The status of bit 7 will continue to be output on the SO pin, and once the device is no longer busy, the state of SO will change from 0 to 1.