cancel
Showing results for 
Search instead for 
Did you mean: 

M24512-A125

pratap
Associate

I intended to write a wrapper to access the memory section of the M24512 part. I began with enumeration using the device identification code, but instead of receiving I2C Family as 0xE0, I got 0xFF, I need to understand what went wrong. Additionally, when I write a byte to memory and read it back, it still shows 0xFF, please find trace logs attached, appreciate your quick reply.Read-Byte.pngWrite-Byte.pngWrong-Family-Code.png

1 ACCEPTED SOLUTION

Accepted Solutions
pratap
Associate

I realized my mistake, was using 8bit address and data, not 16bit as expected....!!! Please mark it as done, Thanks

But still the Family ID is wrong...!!!

View solution in original post

2 REPLIES 2
pratap
Associate

I realized my mistake, was using 8bit address and data, not 16bit as expected....!!! Please mark it as done, Thanks

But still the Family ID is wrong...!!!

Peter BENSCH
ST Employee

Welcome @pratap, to the community!

Great that it works at least partially!

However, you have only included a few screenshots of the logic analyser, but have not shown the relevant program parts, schematics or boundary conditions. Without this information, it will be a bit difficult for the community to understand your problem.

Regards
/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.