View previous topic :: View next topic |
Author |
Message |
tranz
Joined: 10 Feb 2007 Posts: 78
|
EEPROM size Calculation |
Posted: Sun Jun 01, 2008 8:20 am |
|
|
Hey guys,
I have basic question, how do I calculate the size of the eeprom.
Example
When I look into the datasheet of 24LC256, it says it has 256 Kbhit, but in the driver program it says 32768. I was wondering, how is this number calculated.
Thanks in advance. |
|
|
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
|
|
Posted: Sun Jun 01, 2008 8:34 am |
|
|
From the datasheet Quote: | The Microchip Technology Inc. 24AA256/24LC256/
24FC256 (24XX256*) is a 32K x 8 (256 Kbit) Serial
Electrically Erasable PROM | The chip has 256k bits, accessible in the form of 32k (32768) bytes. So both your mentioned values are correct but referring to different quantities.
For some reason the manufacturers of EEPROM always mention the number of bits, I guess because for marketing reasons they like the larger numbers. |
|
|
Ttelmah Guest
|
|
Posted: Sun Jun 01, 2008 2:56 pm |
|
|
No, it is because the same core chips are often available as bit wide, byte wide, and 16bit versions. The size in bits determines the die size used, and allows direct size comparisons, without having to worry which output format is involved.
Best Wishes |
|
|
tranz
Joined: 10 Feb 2007 Posts: 78
|
|
Posted: Sun Jun 01, 2008 5:51 pm |
|
|
Thanks, much appreciated. |
|
|
|