nr52832 + nRF Connect 1.8.0 + External Flash

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!

Parents
  • Hi Hakon,

    I tried changing the max freq to: 

            spi-max-frequency = <10000000>;
    But it didn't help. In our next stage of development, we are planning to use this external flash for OTA since our application size is more and we may not be able to fit it in internal flash. I am worried that, if we can't resolve this issue, it may create problem in OTA.
    Is there anything else that I can check?
    Thanks!
Reply
  • Hi Hakon,

    I tried changing the max freq to: 

            spi-max-frequency = <10000000>;
    But it didn't help. In our next stage of development, we are planning to use this external flash for OTA since our application size is more and we may not be able to fit it in internal flash. I am worried that, if we can't resolve this issue, it may create problem in OTA.
    Is there anything else that I can check?
    Thanks!
Children
  • Hi,

     

    embeddedER said:

    I tried changing the max freq to: 

            spi-max-frequency = <10000000>;

    This is 10M, meaning that the SPIM will run at 8 MHz, which can be problematic if your routing includes longer traces.

     

    Could you try switching from "NRF_SPI" to "NRF_SPIM" peripheral?

    This is done by changing the "compatible" member in the .overlay:

    compatible = "nordic,nrf-spim";

     

    "NRF_SPI" is the older non-DMA capable peripheral.

     

    Kind regards,

    Håkon

Related