4.6 Flash and EEPROM registers descriptions
The flash module contains a set of 16 user control and status registers located between
0x3020 and 0x302F. In the case of the writable registers, the write accesses are forbidden
during flash command execution. For more details, see Caution note in
. A summary of the flash module registers is given in the
following table with detailed descriptions in the following subsections.
NVM memory map
Absolute
address
(hex)
Register name
Width
(in bits)
Access Reset value
Section/
page
3020
Flash Clock Divider Register (NVM_FCLKDIV)
8
R/W
00h
3021
Flash Security Register (NVM_FSEC)
8
R
Undefined
3022
Flash CCOB Index Register (NVM_FCCOBIX)
8
R/W
00h
3024
Flash Configuration Register (NVM_FCNFG)
8
R/W
00h
3025
Flash Error Configuration Register (NVM_FERCNFG)
8
R/W
00h
3026
Flash Status Register (NVM_FSTAT)
8
R/W
80h
3027
Flash Error Status Register (NVM_FERSTAT)
8
R/W
00h
3028
Flash Protection Register (NVM_FPROT)
8
R
Undefined
3029
EEPROM Protection Register (NVM_EEPROT)
8
R/W
Undefined
302A
Flash Common Command Object Register:High
(NVM_FCCOBHI)
8
R/W
00h
302B
Flash Common Command Object Register: Low
(NVM_FCCOBLO)
8
R/W
00h
302C
Flash Option Register (NVM_FOPT)
8
R
Undefined
4.6.1 Flash Clock Divider Register (NVM_FCLKDIV)
The FCLKDIV register is used to control timed events in program and erase algorithms.
NOTE
The FCLKDIV register must not be written while a flash
command is executing (NVM_FSTAT[CCIF] = 0)
Address: 3020h base + 0h offset = 3020h
Bit
7
6
5
4
3
2
1
0
Read
Write
Reset
0
0
0
0
0
0
0
0
Flash and EEPROM registers descriptions
MC9S08PA4 Reference Manual, Rev. 5, 08/2017
86
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 ...