This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52810 emulated project

Hello,

the "Developing for nRF52810" user guide in the Infocenter says that to fully transfer a project to nRF52810 the defines DEVELOP_IN_NRF52832  and NRFX_COREDEP_DELAY_US_LOOP_CYCLES have to be removed from the project settings.

I forgot about this and ran the project with the defines on a nRF52810 and it works without problems so far.

So my question is what problems can it cause when this defines are not removed?

Parents
  • Hi David

    Defining DEVELOP_IN_NRF52832 causes the application to include various errata workarounds that are only present in the nRF52832. You should not keep this define, as we haven't tested that using these workarounds in the nRF52810 won't cause any malfunctions. You can see \YOUR_SDK_FOLDER\modules\nrfx\mdk\system_nrf52810.c to see what exactly is implemented when DEVELOP_IN_NRF52832 is defined.

    NRFX_COREDEP_DELAY_US_LOOP_CYCLES is used, in this case, for emulating the timing of the nRF52810 on the nRF52832. You'll have to remove this define to ensure accurate timing when the application is running on nRF52810 HW.

    Best regards,

    Simon

Reply
  • Hi David

    Defining DEVELOP_IN_NRF52832 causes the application to include various errata workarounds that are only present in the nRF52832. You should not keep this define, as we haven't tested that using these workarounds in the nRF52810 won't cause any malfunctions. You can see \YOUR_SDK_FOLDER\modules\nrfx\mdk\system_nrf52810.c to see what exactly is implemented when DEVELOP_IN_NRF52832 is defined.

    NRFX_COREDEP_DELAY_US_LOOP_CYCLES is used, in this case, for emulating the timing of the nRF52810 on the nRF52832. You'll have to remove this define to ensure accurate timing when the application is running on nRF52810 HW.

    Best regards,

    Simon

Children
Related