cancel
Showing results for 
Search instead for 
Did you mean: 

M24256: Memory addresses I2C

TWint.2
Associate

Dear ST-Community,

this is my first post, so: Hello!

I am currently struggling with a M2425 256kbit Eeprom that i want to address via I2C.

I2C-access is working and i can read and write.

The part i do not understand is the addresses of the memory. The Eeprom has pages of 64 bytes and so must have 512 pages. There are two address bytes allowing to access 64k adresses.

My question is: What are the adresses to acces the "beginning of the pages"? Is there a rule/logic among those two address bytes?

I didnt find it in the datasheet of the Eeprom, or maybe i am not knowledgeable enough to understand the information.

I would like to store calibration data of a device array on the Eeprom and would like to store each set of values on one page. Therefore i need to access "byte 1" of every page to then consecutively write on the page.

Thank you in advance and have a great day,

Thomas

1 REPLY 1
gbm
Lead III

Every page starts at address xxxxxxxxx00000 and ends at xxxxxxxxx111111 binary - it's a 64-byte long, 64-byte aligned block.