Hi,
I changed the pullup resistors on module from 10kohm to 4k7 ohm it works perfectly Image may be NSFW.
Clik here to view.
This is the result:-Earlier I tried using this https://github.com/kimsniper/at24cx/blo ... 24cx_i2c.c for interfacing the eeprom but I got a read error, write worked perfectly.
Later I used @Neo_nmik's Wave_machine-Firmware https://github.com/neonmik/Wave-Machine ... /eeprom.cc This time the read and write worked !!
I just had a doubt:- I checked both the drivers, they are somewhat same. Why does one work and other doesn't (atleast for me)? Also, I am still not able to wrap my head around as why there are 2 different addresses on I2C ?I know it is due to the Read/Write(bar) bit but these two addresses are not explicitly mentioned in the driver, still it is able to read and write the data, How so? Sorry for the dumb question.
I changed the pullup resistors on module from 10kohm to 4k7 ohm it works perfectly Image may be NSFW.
Clik here to view.

This is the result:-
Code:
I2C Bus Scan 0 1 2 3 4 5 6 7 8 9 A B C D E F 00 . . . . . . . . . . . . . . . . 10 . . . . . . . . . . . . . . . . 20 . . . . . . . . . . . . . . . .30 . . . . . . . . . . . . . . . .40 . . . . . . . . . . . . . . . .50 @ . . . . . . . @ . . . . . . .60 . . . . . . . . . . . . . . . .70 . . . . . . . . . . . . . . . .Done.
Later I used @Neo_nmik's Wave_machine-Firmware https://github.com/neonmik/Wave-Machine ... /eeprom.cc This time the read and write worked !!
I just had a doubt:- I checked both the drivers, they are somewhat same. Why does one work and other doesn't (atleast for me)? Also, I am still not able to wrap my head around as why there are 2 different addresses on I2C ?I know it is due to the Read/Write(bar) bit but these two addresses are not explicitly mentioned in the driver, still it is able to read and write the data, How so? Sorry for the dumb question.
Statistics: Posted by harsh20 — Mon Jan 06, 2025 5:39 am