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

TWI and BLE

Hi,

I am working on a project with BLE and TWI module. With some help, I manage to set a TWI communication (https://devzone.nordicsemi.com/f/nordic-q-a/29371/twi-issue).

Initialization, configuration, read/write functions are OK.

Now, I am looking to add this TWI module to a BLE example. Unfortunately, my TWI write function is not working.

The TWI initialization and the other functions are exactly the same as the ones used in the project without the BLE. After enabling the TWI module, I try to write but  I can not get the NRF_TWI0->EVENTS_TXDSENT.

Does anyone had the problem before ? Should I check some BLE parameters that are related to the TWI module ?

Best Regards

Kevin

Related