cancel
Showing results for 
Search instead for 
Did you mean: 

HAL_I2C_Master_Transmit and HAL_I2C_Master_Receive fail to work consistently.

MDENZ.1
Associate

I am using the blocking calls and the master_receive most times does not behave. The master_receive very often fails to ACK data from the slave and continuously holds SDA low. The master sends the slave address with the read bit set, the slave sends ACK and then the bus remains low.

I have gotten the code to run consistently, but if I reboot/reload code, it will fail %80 of the time. I have seen many questions regarding the operation of master_receive, but the issue is stated to be resolved. I am still seeing the master_receive issue.

0 REPLIES 0