
Address: 0h base + 28h offset = 28h
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
R
W
Reset
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
* Notes:
NUMSG field: Device specific value
•
SGSIZE field: Device specific value
•
x_CR field descriptions
Field
Description
31–24
NUMSG
Number of Segments Indicator
The NUMSG field indicates the number of equal-sized segments in the flash.
0x20
Flash is divided into 32 segments
0x40
Flash is divided into 64 segments
23–8
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
SGSIZE
Segment Size
The segment size is a fixed value calculated from the available flash size (rounded up to nearest power of
2) divided by 32 or 64, depending on the amount of available program flash. This field determines which
bits in the address are used to index into the
x
_SACC and
x
_XACC bitmaps to get the appropriate
permission flags. The segment size is defined by the equation 2^(8 + SGSIZE[7:0]). The tables below
show a sampling of possible settings.
Flash Size
Segment Size
Segment Size Encoding
32 Segment Encodings
16 KBytes
16 KBytes/32 = 512 Bytes
0x1
32 KBytes
32 KBytes/32 = 1 KBytes
0x2
64 KBytes
64 KBytes/32 = 2 KBytes
0x3
128 KBytes
128 KBytes/32 = 4 KBytes
0x4
64 Segment Encodings
256 KBytes
256 KBytes/64 = 4 KBytes
0x4
512 KBytes
512 KBytes/64 = 8 KBytes
0x5
1 MBytes
1 MBytes/64 = 16 KBytes
0x6
2 MBytes
2 MBytes/64 = 32 KBytes
0x7
Chapter 28 Flash Memory Controller (FMC)
K22F Sub-Family Reference Manual, Rev. 4, 08/2016
NXP Semiconductors
621
Содержание K22F series
Страница 2: ...K22F Sub Family Reference Manual Rev 4 08 2016 2 NXP Semiconductors...
Страница 150: ...Private Peripheral Bus PPB memory map K22F Sub Family Reference Manual Rev 4 08 2016 150 NXP Semiconductors...
Страница 168: ...Module clocks K22F Sub Family Reference Manual Rev 4 08 2016 168 NXP Semiconductors...
Страница 198: ...Security Interactions with other Modules K22F Sub Family Reference Manual Rev 4 08 2016 198 NXP Semiconductors...
Страница 258: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 258 NXP Semiconductors...
Страница 292: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 292 NXP Semiconductors...
Страница 398: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 398 NXP Semiconductors...
Страница 628: ...Initialization and application information K22F Sub Family Reference Manual Rev 4 08 2016 628 NXP Semiconductors...
Страница 740: ...Initialization Application Information K22F Sub Family Reference Manual Rev 4 08 2016 740 NXP Semiconductors...
Страница 750: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 750 NXP Semiconductors...
Страница 816: ...Application information K22F Sub Family Reference Manual Rev 4 08 2016 816 NXP Semiconductors...
Страница 866: ...Initialization Application Information K22F Sub Family Reference Manual Rev 4 08 2016 866 NXP Semiconductors...
Страница 890: ...Application information K22F Sub Family Reference Manual Rev 4 08 2016 890 NXP Semiconductors...
Страница 1028: ...Initialization Procedure K22F Sub Family Reference Manual Rev 4 08 2016 1028 NXP Semiconductors...
Страница 1040: ...Example configuration for chained timers K22F Sub Family Reference Manual Rev 4 08 2016 1040 NXP Semiconductors...
Страница 1118: ...Device mode IRC48 operation K22F Sub Family Reference Manual Rev 4 08 2016 1118 NXP Semiconductors...
Страница 1122: ...USB Voltage Regulator Module Signal Descriptions K22F Sub Family Reference Manual Rev 4 08 2016 1122 NXP Semiconductors...
Страница 1180: ...Initialization application information K22F Sub Family Reference Manual Rev 4 08 2016 1180 NXP Semiconductors...
Страница 1302: ...Application information K22F Sub Family Reference Manual Rev 4 08 2016 1302 NXP Semiconductors...
Страница 1374: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 1374 NXP Semiconductors...