Skip to main content
Explorer
October 13, 2024
Solved

HAL I2C Mem Read no longer working

  • October 13, 2024
  • 3 replies
  • 1128 views

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. 

 

    This topic has been closed for replies.
    Best answer by isaacseeto

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

    Thanks for the suggestions.

    3 replies

    Super User
    October 14, 2024

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

    Graduate II
    October 15, 2024

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

    isaacseetoAuthorAnswer
    Explorer
    October 15, 2024

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

    Thanks for the suggestions.