evkbimxrt1050_flexspi_nor_config.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2016, Freescale Semiconductor, Inc.
3  * Copyright 2016-2017 NXP
4  * All rights reserved.
5  *
6  * SPDX-License-Identifier: BSD-3-Clause
7  */
8 
9 #ifndef __EVKBIMXRT1050_FLEXSPI_NOR_CONFIG__
10 #define __EVKBIMXRT1050_FLEXSPI_NOR_CONFIG__
11 
12 #include <stdint.h>
13 #include <stdbool.h>
14 #include "fsl_common.h"
15 
19 #define FSL_XIP_BOARD_DRIVER_VERSION (MAKE_VERSION(2, 0, 0))
20 
22 /* FLEXSPI memory config block related defintions */
23 #define FLEXSPI_CFG_BLK_TAG (0x42464346UL) // ascii "FCFB" Big Endian
24 #define FLEXSPI_CFG_BLK_VERSION (0x56010400UL) // V1.4.0
25 #define FLEXSPI_CFG_BLK_SIZE (512)
26 
27 /* FLEXSPI Feature related definitions */
28 #define FLEXSPI_FEATURE_HAS_PARALLEL_MODE 1
29 
30 /* Lookup table related defintions */
31 #define CMD_INDEX_READ 0
32 #define CMD_INDEX_READSTATUS 1
33 #define CMD_INDEX_WRITEENABLE 2
34 #define CMD_INDEX_WRITE 4
35 
36 #define CMD_LUT_SEQ_IDX_READ 0
37 #define CMD_LUT_SEQ_IDX_READSTATUS 1
38 #define CMD_LUT_SEQ_IDX_WRITEENABLE 3
39 #define CMD_LUT_SEQ_IDX_WRITE 9
40 
41 #define CMD_SDR 0x01
42 #define CMD_DDR 0x21
43 #define RADDR_SDR 0x02
44 #define RADDR_DDR 0x22
45 #define CADDR_SDR 0x03
46 #define CADDR_DDR 0x23
47 #define MODE1_SDR 0x04
48 #define MODE1_DDR 0x24
49 #define MODE2_SDR 0x05
50 #define MODE2_DDR 0x25
51 #define MODE4_SDR 0x06
52 #define MODE4_DDR 0x26
53 #define MODE8_SDR 0x07
54 #define MODE8_DDR 0x27
55 #define WRITE_SDR 0x08
56 #define WRITE_DDR 0x28
57 #define READ_SDR 0x09
58 #define READ_DDR 0x29
59 #define LEARN_SDR 0x0A
60 #define LEARN_DDR 0x2A
61 #define DATSZ_SDR 0x0B
62 #define DATSZ_DDR 0x2B
63 #define DUMMY_SDR 0x0C
64 #define DUMMY_DDR 0x2C
65 #define DUMMY_RWDS_SDR 0x0D
66 #define DUMMY_RWDS_DDR 0x2D
67 #define JMP_ON_CS 0x1F
68 #define STOP 0
69 
70 #define FLEXSPI_1PAD 0
71 #define FLEXSPI_2PAD 1
72 #define FLEXSPI_4PAD 2
73 #define FLEXSPI_8PAD 3
74 
75 #define FLEXSPI_LUT_SEQ(cmd0, pad0, op0, cmd1, pad1, op1) \
76  (FLEXSPI_LUT_OPERAND0(op0) | FLEXSPI_LUT_NUM_PADS0(pad0) | FLEXSPI_LUT_OPCODE0(cmd0) | FLEXSPI_LUT_OPERAND1(op1) | \
77  FLEXSPI_LUT_NUM_PADS1(pad1) | FLEXSPI_LUT_OPCODE1(cmd1))
78 
81 {
91 
93 enum
94 {
97 };
98 
101 {
107 
109 enum
110 {
118 };
119 
121 enum
122 {
128 };
129 
131 enum
132 {
137 };
138 
140 typedef struct _lut_sequence
141 {
142  uint8_t seqNum;
143  uint8_t seqId;
144  uint16_t reserved;
146 
148 enum
149 {
156 };
157 
159 typedef struct _FlexSPIConfig
160 {
161  uint32_t tag;
162  uint32_t version;
163  uint32_t reserved0;
165  uint8_t csHoldTime;
166  uint8_t csSetupTime;
168  uint8_t deviceModeCfgEnable;
170  uint8_t deviceModeType;
171  uint16_t waitTimeCfgCommands;
175  uint32_t deviceModeArg;
177  uint8_t configCmdEnable;
178  uint8_t configModeType[3];
181  uint32_t reserved1;
182  uint32_t configCmdArgs[3];
183  uint32_t reserved2;
185  uint8_t deviceType;
187  uint8_t sflashPadType;
188  uint8_t serialClkFreq;
189  uint8_t lutCustomSeqEnable;
191  uint32_t reserved3[2];
193  uint32_t sflashA1Size;
194  uint32_t sflashA2Size;
195  uint32_t sflashB1Size;
196  uint32_t sflashB2Size;
201  uint32_t timeoutInMs;
202  uint32_t commandInterval;
203  uint16_t dataValidTime[2];
204  uint16_t busyOffset;
205  uint16_t busyBitPolarity;
206  uint32_t lookupTable[64];
209  uint32_t reserved4[4];
211 
212 /* */
213 #define NOR_CMD_INDEX_READ CMD_INDEX_READ
214 #define NOR_CMD_INDEX_READSTATUS CMD_INDEX_READSTATUS
215 #define NOR_CMD_INDEX_WRITEENABLE CMD_INDEX_WRITEENABLE
216 #define NOR_CMD_INDEX_ERASESECTOR 3
217 #define NOR_CMD_INDEX_PAGEPROGRAM CMD_INDEX_WRITE
218 #define NOR_CMD_INDEX_CHIPERASE 5
219 #define NOR_CMD_INDEX_DUMMY 6
220 #define NOR_CMD_INDEX_ERASEBLOCK 7
221 
222 #define NOR_CMD_LUT_SEQ_IDX_READ CMD_LUT_SEQ_IDX_READ
223 #define NOR_CMD_LUT_SEQ_IDX_READSTATUS \
224  CMD_LUT_SEQ_IDX_READSTATUS
225 #define NOR_CMD_LUT_SEQ_IDX_READSTATUS_XPI \
226  2
227 #define NOR_CMD_LUT_SEQ_IDX_WRITEENABLE \
228  CMD_LUT_SEQ_IDX_WRITEENABLE
229 #define NOR_CMD_LUT_SEQ_IDX_WRITEENABLE_XPI \
230  4
231 #define NOR_CMD_LUT_SEQ_IDX_ERASESECTOR 5
232 #define NOR_CMD_LUT_SEQ_IDX_ERASEBLOCK 8
233 #define NOR_CMD_LUT_SEQ_IDX_PAGEPROGRAM \
234  CMD_LUT_SEQ_IDX_WRITE
235 #define NOR_CMD_LUT_SEQ_IDX_CHIPERASE 11
236 #define NOR_CMD_LUT_SEQ_IDX_READ_SFDP 13
237 #define NOR_CMD_LUT_SEQ_IDX_RESTORE_NOCMD \
238  14
239 #define NOR_CMD_LUT_SEQ_IDX_EXIT_NOCMD \
240  15
241 
242 /*
243  * Serial NOR configuration block
244  */
245 typedef struct _flexspi_nor_config
246 {
248  uint32_t pageSize;
249  uint32_t sectorSize;
252  uint8_t reserved0[2];
253  uint8_t serialNorType;
257  uint32_t blockSize;
258  uint32_t reserve2[11];
260 
261 #ifdef __cplusplus
262 extern "C" {
263 #endif
264 
265 #ifdef __cplusplus
266 }
267 #endif
268 #endif /* __EVKBIMXRT1050_FLEXSPI_NOR_CONFIG__ */
_FlexSPIConfig::csPadSettingOverride
uint32_t csPadSettingOverride
[0x060-0x063] CS pad setting override value
Definition: evkbimxrt1050_flexspi_nor_config.h:197
_lut_sequence::seqNum
uint8_t seqNum
Sequence Number, valid number: 1-16.
Definition: evkbimxrt1050_flexspi_nor_config.h:142
fsl_common.h
_flexspi_nor_config::ipcmdSerialClkFreq
uint8_t ipcmdSerialClkFreq
Clock frequency for IP command.
Definition: evkbimxrt1050_flexspi_nor_config.h:250
_FlashReadSampleClkSource
_FlashReadSampleClkSource
FlexSPI Read Sample Clock Source definition.
Definition: evkbimxrt1050_flexspi_nor_config.h:100
kFlexSpiMiscOffset_PadSettingOverrideEnable
@ kFlexSpiMiscOffset_PadSettingOverrideEnable
Bit for Pad setting override enable.
Definition: evkbimxrt1050_flexspi_nor_config.h:116
_flexspi_nor_config::halfClkForNonReadCmd
uint8_t halfClkForNonReadCmd
Half the Serial Clock for non-read command: true/false.
Definition: evkbimxrt1050_flexspi_nor_config.h:255
_FlexSPIConfig::sflashB2Size
uint32_t sflashB2Size
[0x05c-0x05f] Size of Flash connected to B2
Definition: evkbimxrt1050_flexspi_nor_config.h:196
_FlexSPIConfig::sflashPadType
uint8_t sflashPadType
[0x045-0x045] Serial Flash Pad Type: 1 - Single, 2 - Dual, 4 - Quad, 8 - Octal
Definition: evkbimxrt1050_flexspi_nor_config.h:187
kSerialFlash_4Pads
@ kSerialFlash_4Pads
Definition: evkbimxrt1050_flexspi_nor_config.h:135
_FlexSPIConfig::version
uint32_t version
[0x004-0x007] Version,[31:24] -'V', [23:16] - Major, [15:8] - Minor, [7:0] - bugfix
Definition: evkbimxrt1050_flexspi_nor_config.h:162
_FlexSPIConfig::dataPadSettingOverride
uint32_t dataPadSettingOverride
[0x068-0x06b] data pad setting override value
Definition: evkbimxrt1050_flexspi_nor_config.h:199
kFlexSpiDeviceType_SerialNAND
@ kFlexSpiDeviceType_SerialNAND
Flash devices are Serial NAND.
Definition: evkbimxrt1050_flexspi_nor_config.h:124
_FlexSPIConfig::deviceModeType
uint8_t deviceModeType
Definition: evkbimxrt1050_flexspi_nor_config.h:170
kFlexSpiMiscOffset_WordAddressableEnable
@ kFlexSpiMiscOffset_WordAddressableEnable
Bit for Word Addressable enable.
Definition: evkbimxrt1050_flexspi_nor_config.h:114
_FlexSPIConfig::lutCustomSeq
flexspi_lut_seq_t lutCustomSeq[12]
[0x180-0x1af] Customizable LUT Sequences
Definition: evkbimxrt1050_flexspi_nor_config.h:208
_lut_sequence::seqId
uint8_t seqId
Sequence Index, valid number: 0-15.
Definition: evkbimxrt1050_flexspi_nor_config.h:143
_FlexSPIConfig::deviceType
uint8_t deviceType
details
Definition: evkbimxrt1050_flexspi_nor_config.h:186
_FlexSPIConfig::waitTimeCfgCommands
uint16_t waitTimeCfgCommands
Generic configuration, etc.
Definition: evkbimxrt1050_flexspi_nor_config.h:172
_FlexSPIConfig::lutCustomSeqEnable
uint8_t lutCustomSeqEnable
Chapter for more details.
Definition: evkbimxrt1050_flexspi_nor_config.h:190
kFlexSpiSerialClk_75MHz
@ kFlexSpiSerialClk_75MHz
Definition: evkbimxrt1050_flexspi_nor_config.h:85
kDeviceConfigCmdType_Spi2NoCmd
@ kDeviceConfigCmdType_Spi2NoCmd
Switch to 0-4-4/0-8-8 mode.
Definition: evkbimxrt1050_flexspi_nor_config.h:154
_flexspi_nor_config::blockSize
uint32_t blockSize
Block size.
Definition: evkbimxrt1050_flexspi_nor_config.h:257
kDeviceConfigCmdType_Xpi2Spi
@ kDeviceConfigCmdType_Xpi2Spi
Switch from DPI/QPI/OPI to SPI mode.
Definition: evkbimxrt1050_flexspi_nor_config.h:153
_flexspi_nor_config::serialNorType
uint8_t serialNorType
Serial NOR Flash type: 0/1/2/3.
Definition: evkbimxrt1050_flexspi_nor_config.h:253
kFlexSpiSerialClk_133MHz
@ kFlexSpiSerialClk_133MHz
Definition: evkbimxrt1050_flexspi_nor_config.h:88
kFlexSpiSerialClk_30MHz
@ kFlexSpiSerialClk_30MHz
Definition: evkbimxrt1050_flexspi_nor_config.h:82
_FlexSPIConfig::configModeType
uint8_t configModeType[3]
[0x01d-0x01f] Configure Mode Type, similar as deviceModeTpe
Definition: evkbimxrt1050_flexspi_nor_config.h:178
_FlexSPIConfig::csSetupTime
uint8_t csSetupTime
[0x00e-0x00e] CS setup time, default value: 3
Definition: evkbimxrt1050_flexspi_nor_config.h:166
_FlexSPIConfig::lookupTable
uint32_t lookupTable[64]
busy flag is 0 when flash device is busy
Definition: evkbimxrt1050_flexspi_nor_config.h:207
kFlexSpiClk_DDR
@ kFlexSpiClk_DDR
Clock configurat for DDR mode.
Definition: evkbimxrt1050_flexspi_nor_config.h:96
kSerialFlash_1Pad
@ kSerialFlash_1Pad
Definition: evkbimxrt1050_flexspi_nor_config.h:133
flexspi_serial_clk_freq_t
enum _FlexSpiSerialClockFreq flexspi_serial_clk_freq_t
Definitions for FlexSPI Serial Clock Frequency.
kFlexSpiDeviceType_SerialRAM
@ kFlexSpiDeviceType_SerialRAM
Flash devices are Serial RAM/HyperFLASH.
Definition: evkbimxrt1050_flexspi_nor_config.h:125
kFlexSPIReadSampleClk_LoopbackFromSckPad
@ kFlexSPIReadSampleClk_LoopbackFromSckPad
Definition: evkbimxrt1050_flexspi_nor_config.h:104
_flexspi_nor_config::needExitNoCmdMode
uint8_t needExitNoCmdMode
Need to exit NoCmd mode before other IP command.
Definition: evkbimxrt1050_flexspi_nor_config.h:254
_FlexSPIConfig::deviceModeArg
uint32_t deviceModeArg
sequence number, [31:16] Reserved
Definition: evkbimxrt1050_flexspi_nor_config.h:176
_flexspi_nor_config::needRestoreNoCmdMode
uint8_t needRestoreNoCmdMode
Need to Restore NoCmd mode after IP commmand execution.
Definition: evkbimxrt1050_flexspi_nor_config.h:256
kFlexSpiSerialClk_80MHz
@ kFlexSpiSerialClk_80MHz
Definition: evkbimxrt1050_flexspi_nor_config.h:86
_FlexSpiSerialClockFreq
_FlexSpiSerialClockFreq
Definitions for FlexSPI Serial Clock Frequency.
Definition: evkbimxrt1050_flexspi_nor_config.h:80
kFlexSpiClk_SDR
@ kFlexSpiClk_SDR
Clock configure for SDR mode.
Definition: evkbimxrt1050_flexspi_nor_config.h:95
kFlexSpiMiscOffset_DdrModeEnable
@ kFlexSpiMiscOffset_DdrModeEnable
Bit for DDR clock confiuration indication.
Definition: evkbimxrt1050_flexspi_nor_config.h:117
_FlexSPIConfig::reserved2
uint32_t reserved2
[0x03c-0x03f] Reserved for future use
Definition: evkbimxrt1050_flexspi_nor_config.h:183
_FlexSPIConfig::serialClkFreq
uint8_t serialClkFreq
Definition: evkbimxrt1050_flexspi_nor_config.h:188
_FlexSPIConfig::csHoldTime
uint8_t csHoldTime
[0x00d-0x00d] CS hold time, default value: 3
Definition: evkbimxrt1050_flexspi_nor_config.h:165
_flexspi_nor_config::isUniformBlockSize
uint8_t isUniformBlockSize
Sector/Block size is the same.
Definition: evkbimxrt1050_flexspi_nor_config.h:251
kSerialFlash_8Pads
@ kSerialFlash_8Pads
Definition: evkbimxrt1050_flexspi_nor_config.h:136
_flexspi_nor_config::reserved0
uint8_t reserved0[2]
Reserved for future use.
Definition: evkbimxrt1050_flexspi_nor_config.h:252
kFlexSpiMiscOffset_Ck2Enable
@ kFlexSpiMiscOffset_Ck2Enable
Bit for CK2 enable.
Definition: evkbimxrt1050_flexspi_nor_config.h:112
_FlexSPIConfig::configCmdSeqs
flexspi_lut_seq_t configCmdSeqs[3]
[0x020-0x02b] Sequence info for Device Configuration command, similar as deviceModeSeq
Definition: evkbimxrt1050_flexspi_nor_config.h:180
kFlexSPIReadSampleClk_LoopbackInternally
@ kFlexSPIReadSampleClk_LoopbackInternally
Definition: evkbimxrt1050_flexspi_nor_config.h:102
_flexspi_nor_config::pageSize
uint32_t pageSize
Page size of Serial NOR.
Definition: evkbimxrt1050_flexspi_nor_config.h:248
kDeviceConfigCmdType_Generic
@ kDeviceConfigCmdType_Generic
Generic command, for example: configure dummy cycles, drive strength, etc.
Definition: evkbimxrt1050_flexspi_nor_config.h:150
_FlexSPIConfig::reserved3
uint32_t reserved3[2]
be done using 1 LUT sequence, currently, only applicable to HyperFLASH
Definition: evkbimxrt1050_flexspi_nor_config.h:192
kFlexSpiDeviceType_MCP_NOR_RAM
@ kFlexSpiDeviceType_MCP_NOR_RAM
Flash deivce is MCP device, A1 is Serial NOR, A2 is Serial RAMs.
Definition: evkbimxrt1050_flexspi_nor_config.h:127
_FlexSPIConfig::timeoutInMs
uint32_t timeoutInMs
[0x070-0x073] Timeout threshold for read status command
Definition: evkbimxrt1050_flexspi_nor_config.h:201
flexspi_read_sample_clk_t
enum _FlashReadSampleClkSource flexspi_read_sample_clk_t
FlexSPI Read Sample Clock Source definition.
_FlexSPIConfig::sflashB1Size
uint32_t sflashB1Size
[0x058-0x05b] Size of Flash connected to B1
Definition: evkbimxrt1050_flexspi_nor_config.h:195
kFlexSpiSerialClk_166MHz
@ kFlexSpiSerialClk_166MHz
Definition: evkbimxrt1050_flexspi_nor_config.h:89
_flexspi_nor_config::memConfig
flexspi_mem_config_t memConfig
Common memory configuration info via FlexSPI.
Definition: evkbimxrt1050_flexspi_nor_config.h:247
kFlexSPIReadSampleClk_LoopbackFromDqsPad
@ kFlexSPIReadSampleClk_LoopbackFromDqsPad
Definition: evkbimxrt1050_flexspi_nor_config.h:103
flexspi_mem_config_t
struct _FlexSPIConfig flexspi_mem_config_t
FlexSPI Memory Configuration Block.
kSerialFlash_2Pads
@ kSerialFlash_2Pads
Definition: evkbimxrt1050_flexspi_nor_config.h:134
kDeviceConfigCmdType_Reset
@ kDeviceConfigCmdType_Reset
Reset device command.
Definition: evkbimxrt1050_flexspi_nor_config.h:155
_FlexSPIConfig::reserved0
uint32_t reserved0
[0x008-0x00b] Reserved for future use
Definition: evkbimxrt1050_flexspi_nor_config.h:163
kFlexSpiDeviceType_SerialNOR
@ kFlexSpiDeviceType_SerialNOR
Flash devices are Serial NOR.
Definition: evkbimxrt1050_flexspi_nor_config.h:123
kFlexSpiSerialClk_60MHz
@ kFlexSpiSerialClk_60MHz
Definition: evkbimxrt1050_flexspi_nor_config.h:84
kFlexSpiDeviceType_MCP_NOR_NAND
@ kFlexSpiDeviceType_MCP_NOR_NAND
Flash device is MCP device, A1 is Serial NOR, A2 is Serial NAND.
Definition: evkbimxrt1050_flexspi_nor_config.h:126
_FlexSPIConfig::configCmdArgs
uint32_t configCmdArgs[3]
[0x030-0x03b] Arguments/Parameters for device Configuration commands
Definition: evkbimxrt1050_flexspi_nor_config.h:182
_FlexSPIConfig::commandInterval
uint32_t commandInterval
[0x074-0x077] CS deselect interval between two commands
Definition: evkbimxrt1050_flexspi_nor_config.h:202
kFlexSpiMiscOffset_ParallelEnable
@ kFlexSpiMiscOffset_ParallelEnable
Bit for Parallel mode enable.
Definition: evkbimxrt1050_flexspi_nor_config.h:113
_FlexSPIConfig::controllerMiscOption
uint32_t controllerMiscOption
Definition: evkbimxrt1050_flexspi_nor_config.h:184
_FlexSPIConfig::busyBitPolarity
uint16_t busyBitPolarity
Definition: evkbimxrt1050_flexspi_nor_config.h:205
kFlexSPIReadSampleClk_ExternalInputFromDqsPad
@ kFlexSPIReadSampleClk_ExternalInputFromDqsPad
Definition: evkbimxrt1050_flexspi_nor_config.h:105
_FlexSPIConfig::dataValidTime
uint16_t dataValidTime[2]
[0x078-0x07b] CLK edge to data valid time for PORT A and PORT B, in terms of 0.1ns
Definition: evkbimxrt1050_flexspi_nor_config.h:203
flexspi_nor_config_t
struct _flexspi_nor_config flexspi_nor_config_t
_flexspi_nor_config::sectorSize
uint32_t sectorSize
Sector size of Serial NOR.
Definition: evkbimxrt1050_flexspi_nor_config.h:249
_FlexSPIConfig::sflashA1Size
uint32_t sflashA1Size
[0x050-0x053] Size of Flash connected to A1
Definition: evkbimxrt1050_flexspi_nor_config.h:193
_FlexSPIConfig::dqsPadSettingOverride
uint32_t dqsPadSettingOverride
[0x06c-0x06f] DQS pad setting override value
Definition: evkbimxrt1050_flexspi_nor_config.h:200
_FlexSPIConfig::configCmdEnable
uint8_t configCmdEnable
[0x01c-0x01c] Configure command Enable Flag, 1 - Enable, 0 - Disable
Definition: evkbimxrt1050_flexspi_nor_config.h:177
kDeviceConfigCmdType_Spi2Xpi
@ kDeviceConfigCmdType_Spi2Xpi
Switch from SPI to DPI/QPI/OPI mode.
Definition: evkbimxrt1050_flexspi_nor_config.h:152
_FlexSPIConfig
FlexSPI Memory Configuration Block.
Definition: evkbimxrt1050_flexspi_nor_config.h:159
kFlexSpiMiscOffset_SafeConfigFreqEnable
@ kFlexSpiMiscOffset_SafeConfigFreqEnable
Bit for Safe Configuration Frequency enable.
Definition: evkbimxrt1050_flexspi_nor_config.h:115
_FlexSPIConfig::reserved4
uint32_t reserved4[4]
[0x1b0-0x1bf] Reserved for future use
Definition: evkbimxrt1050_flexspi_nor_config.h:209
kFlexSpiSerialClk_50MHz
@ kFlexSpiSerialClk_50MHz
Definition: evkbimxrt1050_flexspi_nor_config.h:83
kFlexSpiSerialClk_100MHz
@ kFlexSpiSerialClk_100MHz
Definition: evkbimxrt1050_flexspi_nor_config.h:87
flexspi_lut_seq_t
struct _lut_sequence flexspi_lut_seq_t
FlexSPI LUT Sequence structure.
_flexspi_nor_config::reserve2
uint32_t reserve2[11]
Reserved for future use.
Definition: evkbimxrt1050_flexspi_nor_config.h:258
_FlexSPIConfig::deviceModeCfgEnable
uint8_t deviceModeCfgEnable
Serial NAND, need to refer to datasheet.
Definition: evkbimxrt1050_flexspi_nor_config.h:169
_FlexSPIConfig::busyOffset
uint16_t busyOffset
[0x07c-0x07d] Busy offset, valid value: 0-31
Definition: evkbimxrt1050_flexspi_nor_config.h:204
kDeviceConfigCmdType_QuadEnable
@ kDeviceConfigCmdType_QuadEnable
Quad Enable command.
Definition: evkbimxrt1050_flexspi_nor_config.h:151
_lut_sequence
FlexSPI LUT Sequence structure.
Definition: evkbimxrt1050_flexspi_nor_config.h:140
_FlexSPIConfig::columnAddressWidth
uint8_t columnAddressWidth
Definition: evkbimxrt1050_flexspi_nor_config.h:167
_FlexSPIConfig::readSampleClkSrc
uint8_t readSampleClkSrc
[0x00c-0x00c] Read Sample Clock Source, valid value: 0/1/3
Definition: evkbimxrt1050_flexspi_nor_config.h:164
_FlexSPIConfig::sclkPadSettingOverride
uint32_t sclkPadSettingOverride
[0x064-0x067] SCK pad setting override value
Definition: evkbimxrt1050_flexspi_nor_config.h:198
_FlexSPIConfig::deviceModeSeq
flexspi_lut_seq_t deviceModeSeq
DPI/QPI/OPI switch or reset command.
Definition: evkbimxrt1050_flexspi_nor_config.h:174
_FlexSPIConfig::tag
uint32_t tag
[0x000-0x003] Tag, fixed value 0x42464346UL
Definition: evkbimxrt1050_flexspi_nor_config.h:161
_FlexSPIConfig::sflashA2Size
uint32_t sflashA2Size
[0x054-0x057] Size of Flash connected to A2
Definition: evkbimxrt1050_flexspi_nor_config.h:194
_flexspi_nor_config
Definition: evkbimxrt1050_flexspi_nor_config.h:245
_FlexSPIConfig::reserved1
uint32_t reserved1
[0x02c-0x02f] Reserved for future use
Definition: evkbimxrt1050_flexspi_nor_config.h:181
_lut_sequence::reserved
uint16_t reserved
Definition: evkbimxrt1050_flexspi_nor_config.h:144
kFlexSpiMiscOffset_DiffClkEnable
@ kFlexSpiMiscOffset_DiffClkEnable
Bit for Differential clock enable.
Definition: evkbimxrt1050_flexspi_nor_config.h:111


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:13:55