RW612: Using external NOR Flash on the PSRAM-QSPI lines

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RW612: Using external NOR Flash on the PSRAM-QSPI lines

516 Views
rkapoor
Contributor I

Hello,

I am working on a custom board based on the RW612 module.
The module provides two QSPI/FlexSPI interfaces:

  • Port A1 → connected to the boot flash.

  • Port B1 → normally intended for an external PSRAM.

Since I do not use PSRAM, I would like to connect an external NOR Flash (Micron MT25QL01GBBB, 1 Gbit) on Port B1 instead.

My questions:

  1. Is it generally possible to use the “PSRAM port” (FlexSPI Port B1) for an additional NOR Flash device?

  2. What changes are required in the SDK examples to make this work?

    • Do I only need to configure the pin-mux for Port B1 to route to the NOR Flash pins?

    • Is it sufficient to set devicePort = kFLEXSPI_PortB1 and deviceType = kSerialNorCfgOption_DeviceType_ReadSFDP_SDR in flexspi_mem_config_t?

    • Can I rely on FLEXSPI_NOR_GenerateConfigBlockUsingSFDP to automatically configure the Micron flash device correctly?

  3. The current NOR Flash SDK examples  doesn't work when I switch the parameters to Port B1. Is there an official way or example to use a second external NOR Flash on Port B1?

My goal is to use the NOR Flash as additional storage (erase/program/read), not as a boot device.

Any guidance or examples would be greatly appreciated!

Best regards

Tags (1)
0 Kudos
Reply
0 Replies
%3CLINGO-SUB%20id%3D%22lingo-sub-2172736%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERW612%3A%20Using%20external%20NOR%20Flash%20on%20the%20PSRAM-QSPI%20lines%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2172736%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI%20am%20working%20on%20a%20custom%20board%20based%20on%20the%20%3CSTRONG%3ERW612%3C%2FSTRONG%3E%20module.%3CBR%20%2F%3EThe%20module%20provides%20two%20QSPI%2FFlexSPI%20interfaces%3A%3C%2FP%3E%3CUL%3E%3CLI%3E%3CP%3EPort%20A1%20%E2%86%92%20connected%20to%20the%20boot%20flash.%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3EPort%20B1%20%E2%86%92%20normally%20intended%20for%20an%20external%20PSRAM.%3C%2FP%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3ESince%20I%20do%20not%20use%20PSRAM%2C%20I%20would%20like%20to%20connect%20an%20%3CSTRONG%3Eexternal%20NOR%20Flash%20(Micron%20MT25QL01GBBB%2C%201%20Gbit)%3C%2FSTRONG%3E%20on%20Port%20B1%20instead.%3C%2FP%3E%3CP%3EMy%20questions%3A%3C%2FP%3E%3COL%3E%3CLI%3E%3CP%3EIs%20it%20generally%20possible%20to%20use%20the%20%E2%80%9CPSRAM%20port%E2%80%9D%20(FlexSPI%20Port%20B1)%20for%20an%20additional%20NOR%20Flash%20device%3F%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3EWhat%20changes%20are%20required%20in%20the%20SDK%20examples%20to%20make%20this%20work%3F%3C%2FP%3E%3CUL%3E%3CLI%3E%3CP%3EDo%20I%20only%20need%20to%20configure%20the%20pin-mux%20for%20Port%20B1%20to%20route%20to%20the%20NOR%20Flash%20pins%3F%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3EIs%20it%20sufficient%20to%20set%20devicePort%20%3D%20kFLEXSPI_PortB1%20and%20deviceType%20%3D%20kSerialNorCfgOption_DeviceType_ReadSFDP_SDR%20in%20flexspi_mem_config_t%3F%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3ECan%20I%20rely%20on%20FLEXSPI_NOR_GenerateConfigBlockUsingSFDP%20to%20automatically%20configure%20the%20Micron%20flash%20device%20correctly%3F%3C%2FP%3E%3C%2FLI%3E%3C%2FUL%3E%3C%2FLI%3E%3CLI%3E%3CP%3EThe%20current%20%3CSTRONG%3ENOR%20Flash%20SDK%20examples%3C%2FSTRONG%3E%26nbsp%3B%20doesn't%20work%20when%20I%20switch%20the%20parameters%20to%20Port%20B1.%20Is%20there%20an%20official%20way%20or%20example%20to%20use%20a%20%3CSTRONG%3Esecond%20external%20NOR%20Flash%3C%2FSTRONG%3E%20on%20Port%20B1%3F%3C%2FP%3E%3C%2FLI%3E%3C%2FOL%3E%3CP%3EMy%20goal%20is%20to%20use%20the%20NOR%20Flash%20as%20additional%20storage%20(erase%2Fprogram%2Fread)%2C%20not%20as%20a%20boot%20device.%3C%2FP%3E%3CP%3EAny%20guidance%20or%20examples%20would%20be%20greatly%20appreciated!%3C%2FP%3E%3CP%3EBest%20regards%3C%2FP%3E%3C%2FLINGO-BODY%3E