FTFA_FACSS field descriptions
Field Description
SGSIZE Segment Size
The segment size is a fixed value based on the available program flash size divided by NUMSG.
Program Flash Size Segment Size Segment Size Encoding
64 KBytes 2 KBytes 0x3
128 KBytes 4 KBytes 0x4
160 KBytes 4 KBytes 0x4
256 KBytes 4 KBytes 0x4
512 KBytes 8 KBytes 0x5
29.3.3.10 Flash Access Segment Number Register (FTFA_FACSN)
The flash access segment number register provides the number of program flash
segments that are available for XACC and SACC permissions.
All bits in the register are read-only.
The contents of this register are loaded during the reset sequence.
Address:
4002_0000h base + 2Bh offset = 4002_002Bh
Bit 7 6 5 4 3 2 1 0
Read NUMSG
Write
Reset
x* x* x* x* x* x* x* x*
* Notes:
x = Undefined at reset.•
FTFA_FACSN field descriptions
Field Description
NUMSG Number of Segments Indicator
The NUMSG field indicates the number of equal-sized segments in the program flash.
0x20 Program flash memory is divided into 32 segments (64 Kbytes, 128 Kbytes)
0x28 Program flash memory is divided into 40 segments (160 Kbytes)
0x4x Program flash memory is divided into 64 segments (256 Kbytes, 512 Kbytes)
Chapter 29 Flash Memory Module (FTFA)
K22F Sub-Family Reference Manual, Rev. 4, 08/2016
NXP Semiconductors 647