有I2C接口的EEPROM,它的A0-A2还用吗?(GT24C08)

2024-12-20 14:02:53
推荐回答(1个)
回答1:

EEPROM A0~A2 pins 是当作 I2C slave address bit-0~2 (0xA0 ~ 0xAE, 8-bit address indication)
,且与 memory page addressing 有相关, 随著 chip memory size 而有变化,如下所列:
24c01/02/32/64 (1K/2K/32K/64K bits) : A0~A2 pins 有效,当作 I2C slave address bit-0~2
24c04 (4K bits) : A1~A2 pins 有效,A0 pin 无效, 当作 as I2C slave address bit-1~2 , I2C slave address bit-0 代表 page address bit-0 P0.
24c08 (8K bits) : A2 pin 有效,A1~A0 pins 无效,当作 as I2C slave address bit-2 , I2C slave address bit-1~0 代表 page address bit-1~0 P1~P0.
24c16 (16K bits) : A2~A0 pins 皆无效 , I2C slave address bit-2~0 代表 page address bit-2~0 P2~P0.