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

BLE twi freertos conflict nRF52840

I am unable to get logging working. (This is the subject of another issue I have raised, logging does not work in the hrs freertos sdk 16 example.)

I'm trying to read pressure data from the BMP280 pressure sensor over I2C on the nRF52840 using freertos.

I can read and write to the sensor without the BLE.

I can send simulated data by BLE without the TWI.

The two together cause a conflict and crash the program.

Setting breakpoints causes unpredictable behaviour and I'm unable to get logging working as stated above.

Any ideas where I should now look?

.

Related