1.How do I use TWI \ TWIM Read\Write in blocking mode ?
I am facing an issues with my nrf52840 based design, where I issue consecutive TWI write\read .
I am monitoring the I2C bus transaction with Logic Analyzer. When executed step-by-step ( debug ) , all transactions goes well on the bug.
( or when using 200 ms delay between transactions for ex. )
When "running" ( no bkp ) - the transactions are not complete , so it seems that I am writing\reading a new transaction while the previous is on-going.
I'd like to use the TWI in a complete blocking mode ( i.e not returning before transaction is completed , using xfer-done and events is complicated in my case )
Thanks,
Ran