cancel
Showing results for 
Search instead for 
Did you mean: 

I2C Acknowledge Polling

RSoen.1
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

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
Guru

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 II

Ugh, right in front of me. Thank you

Rich