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

wait for twi / i2c line clear

hello nordic

i am working with nrf52832, with sdk 16.0 and s132 softdevice,  tough i belive this question is relevant to all anrf52 

i work with the twi driver (for i2c communication)

if i try to send a TX and then send a RX or a TX right after it fails because the line is busy i guess

i need to find a way to be able to do that without creating loops and waiting's in my program, like there is with UART comm that i can send a msg one after the other and i don't get an busy line issue, i guess there is a queue managed somewhere or a buffer for messages that is managed within the driver

can you advice on the matter

best regards

Ziv

Related