QSPI, nrf52840 DK, NAND flash AS5F34G04SND. Program load x4 IO: sending command (32H) + 16-bit address + 2176 bytes data to the flash. But nrf_qspi_cinstr_conf_t can only send 9 bytes totally.

We are using QSPI to connect nrf52840 DK with nand flash of AS5F34G04SND. In page 28, 29, and page 17-table 2-1 of datasheet of the flash, we need to Program load x4 IO: sending command (32H) + 16-bit address + 2176 bytes data to the flash. But nrf_qspi_cinstr_conf_t can only send 9 bytes totally. And the nrf_qspi_cinstr_long_transfer_* will discontinue of the data flow so it doensn't work. What should I do? Thank you. 

Parents
  • Hi,

    The QSPI peripheral on nRF52840 is designed for QSPI NOR flash and does not support the NAND style command flow. Because of this, commands like SPI NAND “Program Load x4 IO (0x32)” cannot be implemented in a supported way with the QSPI peripheral.

    If you need to use this SPI NAND device, the practical option on nRF52840 is to interface with it using the SPIM (standard SPI) peripheral, using the NANDs single I/O program load commands.

    Best Regards,
    Syed Maysum

Reply
  • Hi,

    The QSPI peripheral on nRF52840 is designed for QSPI NOR flash and does not support the NAND style command flow. Because of this, commands like SPI NAND “Program Load x4 IO (0x32)” cannot be implemented in a supported way with the QSPI peripheral.

    If you need to use this SPI NAND device, the practical option on nRF52840 is to interface with it using the SPIM (standard SPI) peripheral, using the NANDs single I/O program load commands.

    Best Regards,
    Syed Maysum

Children
No Data
Related