cancel
Showing results for 
Search instead for 
Did you mean: 

I2C Acknowledge Polling

RSoen.1
Associate III

The eeprom I am using has no status byte/bit. In order to know if the device is busy you have to look for an ACK when repeatedly sending the address byte.

I cannot find an easy way to do this using the CUBEIDE and the HAL. All the low level i2c routines are static to the libraries.

Any ideas?

Thanks

Rich

This discussion is locked. Please start a new topic to ask your question.
1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Super User

The ACK in I2C is a part of the protocol. Every HAL I2C routine that sends data will check for it.

The HAL_I2C_IsDeviceReady routine in particular does this.

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

2 REPLIES 2
TDK
Super User

The ACK in I2C is a part of the protocol. Every HAL I2C routine that sends data will check for it.

The HAL_I2C_IsDeviceReady routine in particular does this.

If you feel a post has answered your question, please click "Accept as Solution".
RSoen.1
Associate III

Ugh, right in front of me. Thank you

Rich