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

differences between the nrf52832 and nrf52840

Hi,

I have NRF52840 DK, and trying to connect BNO080 to the nrf52840 DK and program the board in order to use the 28ms delay prediction feature. I already have some of my code for the nrf52832 and its running fine. I wanted to do some similar stuff on this new borad. So, my doubt was, do i need to just make a new hex file inside the pca10056, with my already existing code, or i need to use some of the new functions, like the difference between the nrf51 and nrf52, and then build the makefile.

I also wanted to know how can i connect the sensor (BNO_080)  in order to use the TWI interface.

  • Code existing on the 52832 should run on 52840 without modification. 

    The 52840 has more ram and flash, so to use those, you need to adjust your linker files. The 52840 uses a different soft device, thus it also might need different linker settings if you are using the softdevice. In case you're not using the softdevice, I believe the same hex file will run on the 52840 as well.

Related