Re: Handling I2C eeprom devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Le 17/05/2024 à 15:33, Patryk a écrit :
Hi,
I've got a question regarding how to handle I2C eeprom devices. I see
that in the kernel/drivers/misc/eeprom there are not that many drivers
available. Does it mean that they support various chips that do not
necessarily come from one vendor?
Looking at example at24.c, in the compatible properties I see that all
of them refers to atmel, however when I compared the following
devices: AT24C04C and BRCB008GWZ, at the first glance they look kinda
similar:
- they are organized internally in the same way - 1024 x 8 (8K)



- read/write commands looks the same
Those chips may look the "same", but they differ in the magic sequences to interact with them. I mean, they have to be exactly the same to work, up to the timing that has to follow the specs by the milli or micro second for example.
(and sometimes even weird voltages to apply on this or that pin ... )

So your best friend is the Datasheet of your IC delivered by the vendor/constructor of that chip, that will give you the magic sequences to interact with it .

Your case should be easy as you already have more than a working "skeleton" ... .


Regards



I'm not asking you to tell me whether or not it's possible this driver
at24 with the device I need (BRCB008GWZ), rather I would like to get a
suggestion on how to approach this and what factors I should take into
account to make the right decision.

Best regards
Patryk

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux