I want to use the external flash memory MX25R6435F to run my code which has a big size on my arduino nano 33 ble but I'am a newbie and I don't find supports that can help me,
Is that possible and should I add some configuration ?
I want to use the external flash memory MX25R6435F to run my code which has a big size on my arduino nano 33 ble but I'am a newbie and I don't find supports that can help me,
Is that possible and should I add some configuration ?
Hello,
I don't see any external memory ICs on in the schematics: https://docs.rs-online.com/9208/A700000006519068.pdf. Have you connected it via the pin headers?
Best regards,
Vidar
Yes I want to use the pin headers to use the external flash memory MX25R6435F
If you have already connected the flash IC to your board, then the next step I would suggest is to try the JEDEC SPI-NOR Sample to verify if you are able to interface with the chip (if the connections are good, etc).
Below is a devicetree overlay you can use to add support for the macronix flash (can be placed in /spi_flash/boards along with the other board specific config/overlay files).
And config file to enable the QSPI driver:
Thank you for your answer, but I want to use "nRF5" vs code or Segger without zephyr, is that possible?
Yes, you can try the QSPI Example from nRF5 SDK 17.1.0 instead then.
Yes, you can try the QSPI Example from nRF5 SDK 17.1.0 instead then.
Can I run my program directly in the external flash memory?
It is possible, but I wouldn't recommend running an entire application from external flash on the nRF52840 because of errata and performance limitations. It may make more sense if you run certain parts of the application from external flash. For instance, if you have some library code that is does not need to run too often.
Do you know what's taking up so much space in your application? You can fit a lot of code on a 1MB device like the 52840..
I want to add artificial intelligence application using edge impulse and I found that the code libraries request a lot of memory space, have you an idea about that?
I would recommend you consider the Edge impulse samples included in our nRF connect SDK instead of trying to integrate all this into a nRF5 SDK based project.
But I want my project to be independent of internet, and I made project with nRF5 SDK which require a long time