cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H7 AT24CM02 EEPROM

VYoun
Associate III

Hello,

I am trying to integrate an AT24CM02 into my project.

Can anyone suggest any libraries compatible with HAL?

your help is much appreciated.

Thank you and best regards,

Vouria

4 REPLIES 4

The I2C ones?

HAL_I2C_Mem_Read()

HAL_I2C_Mem_Write()

You're likely going to need to code your own routines for the memory itself, data sheet should give details on byte/page writes

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
TDK
Guru

First hit on Google for “at24cm02 hal library�?:

https://github.com/sinadarvi/SD_HAL_AT24

probably need to adapt it, but might be a good start.

If you feel a post has answered your question, please click "Accept as Solution".

Yes I mean the I2C one.

Thank you very much for your answer. It is very helpful. I will check right now.

Best regards,

Vouria

VYoun
Associate III

Thank you for your answer, I have indeed downloaded this code, but so far have not been able to make it work.

I will try again.

Best regards,

Vouria