2021-05-05 07:15 AM
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
Solved! Go to Solution.
2021-05-05 07:20 AM
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.
2021-05-05 07:20 AM
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.
2021-05-05 07:24 AM
Ugh, right in front of me. Thank you
Rich