cancel
Showing results for 
Search instead for 
Did you mean: 

I2C HAL_I2C_Master_Receive doesn´t work

andywild2
Associate III
Posted on January 08, 2016 at 12:37

The original post was too long to process during our migration. Please click on the attachment to read the original post.
1 REPLY 1
Amel NASRI
ST Employee
Posted on March 11, 2016 at 17:03

Hi wild.andreas,

The management of the 3 last bytes in the function HAL_I2C_Master_Receive is aligned with the specification as described in the paragraph ''Closing the communication'' of the reference manual: ''To generate the nonacknowledge pulse after the last received data byte, the ACK bit must be cleared just after reading the second last data byte (after second last RxNE event).''.

So the issue should be elsewhere.

-Mayla-

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.