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

**SOLVED** I2C NOT WORKING ON NRF52810

*** edit: Problem solved. My project file had build config set to "release", I had to change it over to "Debug". 

Kindly close the case ***

I have an i2c program running fine on the PCA10040 and on a custom board that is using nrf52832. 

However, when I setup the PCA10040 to emulate nrf52810 (ie pca10040e), then my i2c code does not work. (for eg. when I read a register it just shows 0x00, instead of real value)

Also, when I load my code on a custom board with nrf52810 then also i2c does not work. 

Just as a point of reference, I have UART running fine on PCA10040e and on my custom NRF52810 board. 

I have created a custom project file for 52810, with correct memory size etc, and will attach it. (next post)

I will also attach my i2c code, but it basically a copy of the code from NRF bare metal implementations on github. 

Related