Hello, I've been trying to get my TWI device working in conjunction with the BLE stack (i.e. s110 softdevice is enabled) on a nRF51822.
I found another thread with an attached sd_twi_hw_master.c to demonstrate proper use of the PPI channels while the softdevice is enabled. However, I can't get twi_master_write() working. It always returns because:
while(NRF_TWI1->EVENTS_TXDSENT == 0 && (--timeout))
always results in a timeout.
Do I need to setup PPI channels to receive tx events? Cheers, -jc