
14.4.3 QuadSPI Peripheral
The Kinetis Bootloader supports read, write, and erase external SPI flash devices
(QuadSPI memory) via the QuadSPI module. It supports booting directly to external SPI
flash and XIP in QuadSPI memory. Before accessing external SPI flash devices, the
QuadSPI module must be configured properly, using the QSPI configuration block.
14.4.3.1 QSPI configuration block
The QSPI config block (QCB) provides many configuration parameters, which support
many types of serial flash. All fields in the QSPI config block must be configured
according to the specific flash device provided by your specific vendor, and all of them
are related to the configuration for registers in the QuadSPI module. Also see the
QuadSPI section.
NOTE
To correctly configure the QuadSPI, all unused QuadSPI
configuration fields should be set to 0.
Table 14-52. Configuration fields in QSPI config block
Offset
Size
(bytes)
Configuration Field
Description
0x00 – 0x03
4
tag
A magic number to verify whether the QSPI config
block (QCB) is valid. Must be set to ‘kqcf’
[31:24] - ‘f’ (0x66)
[23:16] - ‘c’ (0x63)
[15: 8] - ‘q’(0x71)
[ 7: 0] - ‘k’(0x6B)
0x04 – 0x07
4
version
Version number of the QSPI config block
[31:24] - name: must be 'Q' (0x51)
[23:16] - major: must be 1
[15: 8] - minor: must be 0
[ 7: 0] - bugfix: must be 0
0x08 – 0x0b
4
lengthInBytes
Size of QSPI config block, in bytes
Must be 512
0x0c – 0x0f
4
dqs_loopback
Enable DQS loopback support
0 DQS loopback is disabled
1 DQS loopback is enabled, the DQS loopback mode
is determined by subsequent ‘
dqs_loopback_internal’
field
0x24 – 0x27
4
write_cmd_ipcr
IPCR pointed to LUT index for quad mode enablement
Value = index << 24
Table continues on the next page...
Chapter 14 Kinetis ROM Bootloader
K32 L2A Reference Manual, Rev. 2, 01/2020
NXP Semiconductors
299
Содержание K32 L2A Series
Страница 2: ...K32 L2A Reference Manual Rev 2 01 2020 2 NXP Semiconductors...
Страница 42: ...K32 L2A Reference Manual Rev 2 01 2020 42 NXP Semiconductors...
Страница 122: ...Flash Memory Clock K32 L2A Reference Manual Rev 2 01 2020 122 NXP Semiconductors...
Страница 146: ...Module operation in low power modes K32 L2A Reference Manual Rev 2 01 2020 146 NXP Semiconductors...
Страница 158: ...Debug and security K32 L2A Reference Manual Rev 2 01 2020 158 NXP Semiconductors...
Страница 174: ...Module Signal Description Tables K32 L2A Reference Manual Rev 2 01 2020 174 NXP Semiconductors...
Страница 246: ...Application information K32 L2A Reference Manual Rev 2 01 2020 246 NXP Semiconductors...
Страница 322: ...Kinetis Bootloader Status Error Codes K32 L2A Reference Manual Rev 2 01 2020 322 NXP Semiconductors...
Страница 344: ...Application initialization information K32 L2A Reference Manual Rev 2 01 2020 344 NXP Semiconductors...
Страница 374: ...CMP Trigger Mode K32 L2A Reference Manual Rev 2 01 2020 374 NXP Semiconductors...
Страница 384: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 384 NXP Semiconductors...
Страница 592: ...Application Information K32 L2A Reference Manual Rev 2 01 2020 592 NXP Semiconductors...
Страница 602: ...Initialization and application information K32 L2A Reference Manual Rev 2 01 2020 602 NXP Semiconductors...
Страница 656: ...Functional Description K32 L2A Reference Manual Rev 2 01 2020 656 NXP Semiconductors...
Страница 664: ...Functional Description K32 L2A Reference Manual Rev 2 01 2020 664 NXP Semiconductors...
Страница 744: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 744 NXP Semiconductors...
Страница 762: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 762 NXP Semiconductors...
Страница 806: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 806 NXP Semiconductors...
Страница 868: ...Integer square root K32 L2A Reference Manual Rev 2 01 2020 868 NXP Semiconductors...
Страница 976: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 976 NXP Semiconductors...
Страница 1012: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1012 NXP Semiconductors...
Страница 1094: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1094 NXP Semiconductors...
Страница 1132: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1132 NXP Semiconductors...
Страница 1182: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1182 NXP Semiconductors...
Страница 1290: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1290 NXP Semiconductors...
Страница 1344: ...USB Voltage Regulator Module Signal Descriptions K32 L2A Reference Manual Rev 2 01 2020 1344 NXP Semiconductors...
Страница 1356: ...Initialization Application Information K32 L2A Reference Manual Rev 2 01 2020 1356 NXP Semiconductors...