
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
Write
Reset
* 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
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...