Hi everyone!
I have a question about I2C.
If being in target mode:
1.- How could I know which was the address in which I was recognized, main one or alternate?
Thanks.
Asiel Trejo
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi everyone!
I have a question about I2C.
If being in target mode:
1.- How could I know which was the address in which I was recognized, main one or alternate?
Thanks.
Asiel Trejo
Hi Asiel Trejo
Please check 17.3.3.8 Dual Address chapter of TRM.
The OAR2SEL bit in the I2Cx.SSR register indicates if the address that was ACKed is the alternate address or not.
Thanks!