nRF5340 QSPI and external PSRAM

Hello,


I want to increase my RAM storage by using PSRAM like a cache for data which I can't send via BLE right now (poor signal quality) and I will send them letter.
I should save about, 6400B in 100ms. Total amount of data, about 5MB, in the worst case scenario.

As I understand, nRF5340 doesn't support external RAM (need driver?), only external flash. 

My questions:
1. Is it possible to write a driver, or it's a hardware problem?
2. If (2) is a hardware problem, could you please recommend me another solution for external storage. 

Parents
  • Read the QSPI chapter in the PS, this peripherial is tailored around a specific set of NOR flash chips with hard coded commands. Not sure if it is possible to use a PSRAM chip here.

    Your use case sounds like you could use regular SPI and just (Easy-)DMA the data in and out manually. A MicroSD card may be cheaper than a PSRAM chip in the MB range.

Reply
  • Read the QSPI chapter in the PS, this peripherial is tailored around a specific set of NOR flash chips with hard coded commands. Not sure if it is possible to use a PSRAM chip here.

    Your use case sounds like you could use regular SPI and just (Easy-)DMA the data in and out manually. A MicroSD card may be cheaper than a PSRAM chip in the MB range.

Children
Related