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

twi generating events while tx-send

Hello,

to reduce ernergy consumption i use the sd_app_evt_wait() function while the twi is sending or receiving data.

i set nrf_twi->address and nrf_twi->txd and set tasks starttx to 1. the controller then sends automatically the address and the first txd, after each time the interrupt occurs, i chage txd to the next value.

Is the controller generating two events in the beginning (one ofr the address and one for the first byte?) i cant really see it in debug mode, im sorry for that.

Matthias

Related