
4. Initial value of WIP is 1, but the value clears to 0 after EzPort initialization is complete.
Table 30-4. EzPort status register field description
Field
Description
0
WIP
Write in progress.
Sets after a write command (SP, SE, BE, WRFCCOB) is accepted and clears after the flash memory has
completed all operations associated with the write command, as indicated by the Command Complete
Interrupt Flag (CCIF) inside the flash. This field is also asserted on reset and cleared when EzPort
initialization is complete. Only the Read Status Register (RDSR) command is accepted while a write is in
progress.
0 = Write is not in progress. Accept any command.
1 = Write is in progress. Only accept RDSR command.
1
WEN
Write enable
Enables the write comman that follows. It is a control field that must be set before a write command (SP,
SE, BE, WRFCCOB) is accepted. Is set by the Write Enable (WREN) command and cleared by reset or a
Write Disable (WRDI) command. This field also clears when the flash memory has completed all operations
associated with the command.
0 = Disables the following write command.
1 = Enables the following write command.
2
BEDIS
Bulk erase disable
Indicates whether bulk erase (BE) is disabled.
0 = BE is enabled.
1 = BE is disabled. Attempts to issue a BE command will result in the WEF flag being set.
6
WEF
Write error flag
Indicates whether there has been an error while executing a write command (SP, SE, BE, WRFCCOB).
The WEF flag will set if Flash Access Error Flag (ACCERR), Flash Protection Violation (FPVIOL), or
Memory Controller Command Completion Status (MGSTAT0) inside the flash memory is set at the
completion of the write command. See the flash memory chapter for further description of these flags and
their sources. The WEF flag clears after a Read Status Register (RDSR) command.
0 = No error on previous write command.
1 = Error on previous write command.
7
FS
Flash security
Indicates whether the flash is secure. See
for the list of commands that will be accepted when
flash is secure. Flash security can be disabled by performing a BE command.
0 = Flash is not secure.
1 = Flash is secure.
30.3.1.4 Read Data
Chapter 30 EzPort
K22F Sub-Family Reference Manual, Rev. 4, 08/2016
NXP Semiconductors
687
Summary of Contents for K22F series
Page 2: ...K22F Sub Family Reference Manual Rev 4 08 2016 2 NXP Semiconductors...
Page 168: ...Module clocks K22F Sub Family Reference Manual Rev 4 08 2016 168 NXP Semiconductors...
Page 258: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 258 NXP Semiconductors...
Page 292: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 292 NXP Semiconductors...
Page 398: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 398 NXP Semiconductors...
Page 750: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 750 NXP Semiconductors...
Page 816: ...Application information K22F Sub Family Reference Manual Rev 4 08 2016 816 NXP Semiconductors...
Page 890: ...Application information K22F Sub Family Reference Manual Rev 4 08 2016 890 NXP Semiconductors...
Page 1302: ...Application information K22F Sub Family Reference Manual Rev 4 08 2016 1302 NXP Semiconductors...
Page 1374: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 1374 NXP Semiconductors...