11.3.2.3.3 Flash Multi-Page Erase Mode

The Multi-Page Erase (FLMPERn) mode will allow each write to the memory array to erase multiple pages. When enabling FLMPERn, you can select between erasing 2, 4, 8, 16, or 32 pages.

The LSbs of the page address are ignored when defining which Flash pages are erased. Using FLMPER4 as an example, erasing any page in the 0x08 - 0x0B range will cause the erase of all pages in the range.

Table 11-4. Flash Multi-Page Erase
CMDPages ErasedDescription
FLMPER22Pages matching FPAGE[N:1] are erased. The value in FPAGE[0] is ignored.
FLMPER44Pages matching FPAGE[N:2] are erased. The value in FPAGE[1:0] is ignored.
FLMPER88Pages matching FPAGE[N:3] are erased. The value in FPAGE[2:0] is ignored.
FLMPER1616Pages matching FPAGE[N:4] are erased. The value in FPAGE[3:0] is ignored.
FLMPER3232Pages matching FPAGE[N:5] are erased. The value in FPAGE[4:0] is ignored.
Note: FPAGE is the page number when doing a Flash erase. Refer to the Flash Addressing for Self-Programming section for details.