Hello Team,
We are interfacing nRF52832 with an external flash for data storage. Could you please point to the right document/link/code reference on how to interface external flash (on SPI) with nRF52832 on nRF Connect SDK 1.8.0?
Thanks!
Hello Team,
We are interfacing nRF52832 with an external flash for data storage. Could you please point to the right document/link/code reference on how to interface external flash (on SPI) with nRF52832 on nRF Connect SDK 1.8.0?
Thanks!
Hi Hakon,
Thanks for the guidance. However, deleting the build folder didn't help.
Changing compatible to nrf-spim still gives the linking error:
ncs\v1.8.0\zephyr\drivers\flash\spi_nor.c:1230: undefined reference to `__device_dts_ord_68'
Current data of prj.conf for SPI:
#for SPI
Hi,
My apologies, you are right.
The issue stems from this erratum on the nRF52832:
Which can be overridden by setting:
CONFIG_SOC_NRF52832_ALLOW_SPIM_DESPITE_PAN_58=y
However; this can be problematic if you run into the scenario as described in the erratum. You can use NRF_SPIM for testing purposes, to see if the same issue occurs, but I would not recommend using it in cases where you do not know if you can potentially receive only 1 byte over SPI.
Kind regards,
Håkon
Hi,
My apologies, you are right.
The issue stems from this erratum on the nRF52832:
Which can be overridden by setting:
CONFIG_SOC_NRF52832_ALLOW_SPIM_DESPITE_PAN_58=y
However; this can be problematic if you run into the scenario as described in the erratum. You can use NRF_SPIM for testing purposes, to see if the same issue occurs, but I would not recommend using it in cases where you do not know if you can potentially receive only 1 byte over SPI.
Kind regards,
Håkon