Skip to main content
Associate III
October 13, 2024
Solved

HAL I2C Mem Read no longer working

  • October 13, 2024
  • 3 replies
  • 1154 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

Bob S
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.

Karl Yamashita
Principal
October 15, 2024

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

If a reply has proven helpful, click on Accept as Solution so that it'll show at top of the post.CAN Jammer an open source CAN bus hacking toolCANableV3 Open Source
isaacseetoAuthorBest answer
Associate III
October 15, 2024

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

Thanks for the suggestions.