9–30
Chapter 9: Using User Flash Memory in MAX II Devices
Software Support for UFM Block
4. nCSis pulled back to high.
For SPI Base mode, the SE instruction erases UFM sector 0. As there are no choices of
UFM sectors to be erased, there is no address component to this instruction. The SE
operation is always done through the following sequence in SPI Base mode:
1. nCSis pulled low.
2. Opcode 00100000is transmitted into the interface.
3. nCSis pulled back to high.
Figure 9–30. SECTOR-ERASE Operation Sequence for Extended Mode
nCS
0
1
2
3
4
5
6
7
8
9
10 11
20 21 22 23
SCK
SI
8-bit
Instruction
16-bit
Address
20H
MSB
MSB
High Impendance
SO
Figure 9–31 shows the SECTOR-ERASE operation sequence for Base mode.
Figure 9–31. Sector_ERASE Operation Sequence for Base Mode
nCS
0
1
2
3
4
5 6 7
SCK
SI
8-bit
Instruction
20H
MSB
High Impendance
SO
MAX II Device Handbook
© October 2008 Altera Corporation