TransWikia.com

how to deal with ACK and DATA one after the other in I2C efr32fg14

Electrical Engineering Asked by rocko445 on December 21, 2020

in I2C We have the IF register to catch the ACK from the slave ,
And we have I2C0->RXDATA to catch the recieved data .
But as shown in the diagram bellow i cant code
Pseudo code:
check if ACK was recieved
wait a little and catch the input data with I2C0->RXDATA.

what is the method of handling two types of data intended for different registers coming one after the other?

Thanks.

enter image description here

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP