Could QSPI in nRF52840 be used in single SPI mode to drive LCD (with ILI9341/ST7735 chips)?

I have nRF52840 module with not enough IOs than what I need and I am looking if possible to hook both: external flash memory and LCD display on the same QSPI peripheral

Or

at least if above solution is not possible – can I use somehow same clock pin for the QSPI and SPIM? (assuming both flash chip and LCD are running on the same frequency)

Thanks

Parents
  • This is not something we have looked into, so difficult to comment. I would say that in theory it should be possible (provided you don't plan to run any code from the external flash, but use it as storage only). If you have good control over the LCD and flash memory driver, so you can use two different CSN signals to control which you are accessing at any time, and you uninit and init the drivers in between changing which to interface, then I would say it could be possible. But how well it works depends maybe on how often you need to update/write/read to each of them.

    Maybe someone else here have more detailed comments.

    Best regards,
    Kenneth

Reply
  • This is not something we have looked into, so difficult to comment. I would say that in theory it should be possible (provided you don't plan to run any code from the external flash, but use it as storage only). If you have good control over the LCD and flash memory driver, so you can use two different CSN signals to control which you are accessing at any time, and you uninit and init the drivers in between changing which to interface, then I would say it could be possible. But how well it works depends maybe on how often you need to update/write/read to each of them.

    Maybe someone else here have more detailed comments.

    Best regards,
    Kenneth

Children
No Data
Related