4.5.2 Function descriptions
4.5.2.1 Modes of operation
The flash and EEPROM module provides the normal user mode of operation. The
operating mode is determined by module-level inputs and affects the FCLKDIV,
FCNFG, and EEPROT registers.
4.5.2.1.1 Wait mode
The flash and EEPROM module is not affected if the MCU enters wait mode. The flash
module can recover the MCU from wait via the CCIF interrupt. See
.
4.5.2.1.2 Stop mode
If a flash and EEPROM command is active, that is, FSTAT[CCIF] = 0, when the MCU
requests stop mode, the current NVM operation will be completed before the MCU is
allowed to enter stop mode.
4.5.2.2 Flash and EEPROM memory map
The MCU places the flash memory between global address 0x0000 and 0xFFFF as
shown in the following table. Not all flash are available to users because some addresses
are overlapped with RAM, EEPROM, and registers.
MC9S08PA4 contains a piece of 4 KB flash that is fully available for users. This flash
block is divided into 8 sectors of 512 bytes.
Table 4-6. Flash memory addressing
Device
Global address
Size (Bytes)
Description
User availability
MC9S08PA4
0xF000 — 0xFFFF
4 KB
Flash block contains
flash configuration field
Sector [0:7]: fully
available
Flash and EEPROM
MC9S08PA4 Reference Manual, Rev. 5, 08/2017
58
NXP Semiconductors
Summary of Contents for MC9S08PA4
Page 1: ...MC9S08PA4 Reference Manual Supports MC9S08PA4 Document Number MC9S08PA4RM Rev 5 08 2017 ...
Page 2: ...MC9S08PA4 Reference Manual Rev 5 08 2017 2 NXP Semiconductors ...
Page 22: ...MC9S08PA4 Reference Manual Rev 5 08 2017 22 NXP Semiconductors ...
Page 28: ...System clock distribution MC9S08PA4 Reference Manual Rev 5 08 2017 28 NXP Semiconductors ...
Page 150: ...Port data registers MC9S08PA4 Reference Manual Rev 5 08 2017 150 NXP Semiconductors ...
Page 196: ...Human machine interfaces HMI MC9S08PA4 Reference Manual Rev 5 08 2017 196 NXP Semiconductors ...
Page 224: ...Instruction Set Summary MC9S08PA4 Reference Manual Rev 5 08 2017 224 NXP Semiconductors ...
Page 232: ...Functional Description MC9S08PA4 Reference Manual Rev 5 08 2017 232 NXP Semiconductors ...
Page 258: ...FTM Interrupts MC9S08PA4 Reference Manual Rev 5 08 2017 258 NXP Semiconductors ...
Page 294: ...Functional description MC9S08PA4 Reference Manual Rev 5 08 2017 294 NXP Semiconductors ...
Page 398: ...Resets MC9S08PA4 Reference Manual Rev 5 08 2017 398 NXP Semiconductors ...
Page 400: ...MC9S08PA4 Reference Manual Rev 5 08 2017 400 NXP Semiconductors ...