Migrating nRF52840 to nRF52833

Hi DevZone !

I am currently trying to migrate from nRF52840 to nRF52833 because of a backorder problem with the former.

My application consist of a Mesh configurations with the ESB protocole between multiple devices. 

It is using SPIM to read on external devices and RTC to periodically send packets.

I am using the SDKs:

  • nRF5_SDK_15.0.0_prf
  • nRF5_SDK_for_Thread_and_Zigbee_2.0.0_29775ac_min

I am currently trying to program a nRF52833-DK to make some test before implementing it with my real board.

I have already talked to one of your collegues to verify the hardware validity and it seems ok. 

Now, I have been able to program my DK by adding the dependencies of the nRF52833 in my SDK. 

I am not using any softdevice and I use a makefile to compile and program the device.

Now, I can't use my clock or my mesh library to send anything on the ESB protocole. I was wondering what could cause that problem.

Thanks you,

Joel V.

Parents
  • Hello,

    Are you able to debug the application to see if the program hangs or crashes? It should generally be fairly straight forward port FW from the 52840 to 52833. The most important step is probably to remember to include the correct startup files and update the linker settings to reflect the new memory address ranges.

    The relevant startup files are:

    $(SDK_ROOT)/modules/nrfx/mdk/gcc_startup_nrf52833.S

    $(SDK_ROOT)/modules/nrfx/mdk/system_nrf52833.c

    Also remember to replace the preprocessor flag "NRF52840_XXAA" with NRF52833_XXAA in your makefile.

    Now, I have been able to program my DK by adding the dependencies of the nRF52833 in my SDK. 

    Did you update the MDK files in  /nRF5_SDK_15.0.0_a53641a/modules/nrfx/mdk/ with files with one of the more recent MDK releases here: https://www.nordicsemi.com/Products/Development-tools/nRF-MDK?

    Best regards,

    Vidar

  • Hi Vidar,

    I couldn't reply to your last message so I replied here, I read the regs and got this:

    Seems like the faulty IRQ is the 0 which is POWER_CLOCK. Any hint on what could cause that ?

    Thanks,

    Joel V.

Reply Children
Related