cancel
Showing results for 
Search instead for 
Did you mean: 

HAL I2C Mem Read no longer working

isaacseeto
Associate III

Hi,

I have been using Mem Read and Write for my project involving STM32 and ST25DV64K. These functions have been working for me previously but now they return HAL ERROR. I used to encounter this when I was inputting the wrong address but I have since corrected that. I have attached my current project and previously working project. 

1. What does HAL ERROR actually indicate? 

2. Why might these functions no longer work? 

Thanks. 

 

1 ACCEPTED SOLUTION

Accepted Solutions
isaacseeto
Associate III

Hi, I believe I fried the circuit because I soldered a new one and it functions correctly.

Thanks for the suggestions.

View solution in original post

3 REPLIES 3
Bob S
Principal

You have the HAL source code.  Use your debugger and see where in the HAL functions the error comes from.

Karl Yamashita
Lead III

Did you check with an oscilloscope to be sure you have data activity? 

Tips and Tricks with TimerCallback https://www.youtube.com/@eebykarl
If you find my solution useful, please click the Accept as Solution so others see the solution.
isaacseeto
Associate III

Hi, I believe I fried the circuit because I soldered a new one and it functions correctly.

Thanks for the suggestions.