nRF5340 QSPI communication with a non SPI Flash chip

Hi Team,

I’m using the nRF5340 Development Kit, and in our project, we have a custom slave device that communicates over QSPI. We’d like to interface this custom device with the nRF5340's QSPI peripheral.

To do this, we’ve modified the board hardware by cutting solder bridges SB10 through SB15 and shorting SB20 through SB25 as mentioned in the user guide, as required to disconnect the onboard flash and reroute the QSPI lines.

I’m currently attempting to perform read/write operations with our custom device, but haven’t had any success so far. Could you please confirm whether the nRF5340 Dev Kit can be used to communicate with QSPI peripherals other than the onboard SPI flash? If so, could you point me to any relevant driver code or documentation that could help with this integration?

Parents
  • Also I found that nRF7002 device which can be interfaced to nRF5340 through QSPI but it has almost same commands as that of On board NOR Flash Chip. Can you please clarify if we can communicate with any other peripheral which has different command set instead of what we have for NOR SPI Flash?

  • Hi,

    Could you please confirm whether the nRF5340 Dev Kit can be used to communicate with QSPI peripherals other than the onboard SPI flash?

    The nRF5340DK can use the QSPI to communicate with external QSPI devices. See Solder bridge configuration for how to disconnect the external flash.

    If so, could you point me to any relevant driver code or documentation that could help with this integration?

     I think you should be able to use the Zephyr SPI drivers with the QSPI in genera, but if you want to use it for flash, that will be another driver.

    curiousme said:
    Also I found that nRF7002 device which can be interfaced to nRF5340 through QSPI but it has almost same commands as that of On board NOR Flash Chip. Can you please clarify if we can communicate with any other peripheral which has different command set instead of what we have for NOR SPI Flash?

    See the nRF5340s QSPI instruction.

     Regards,
    Sigurd Hellesvik

Reply
  • Hi,

    Could you please confirm whether the nRF5340 Dev Kit can be used to communicate with QSPI peripherals other than the onboard SPI flash?

    The nRF5340DK can use the QSPI to communicate with external QSPI devices. See Solder bridge configuration for how to disconnect the external flash.

    If so, could you point me to any relevant driver code or documentation that could help with this integration?

     I think you should be able to use the Zephyr SPI drivers with the QSPI in genera, but if you want to use it for flash, that will be another driver.

    curiousme said:
    Also I found that nRF7002 device which can be interfaced to nRF5340 through QSPI but it has almost same commands as that of On board NOR Flash Chip. Can you please clarify if we can communicate with any other peripheral which has different command set instead of what we have for NOR SPI Flash?

    See the nRF5340s QSPI instruction.

     Regards,
    Sigurd Hellesvik

Children
No Data
Related