Why the eeprom slave device address is 0x50?

2 posts / 0 new
Last post
xf622
Offline
Last seen:4 years 5 months ago
Joined:2015-05-08 08:13
Why the eeprom slave device address is 0x50?

In the periphral example,the slave device address is 0x50, but the eeprom device address is 0xA0.

Device:
Joacimwe
Offline
Last seen:1 year 5 months ago
Guru
Joined:2014-01-14 06:45
0x50 is the address that is

0×50所使用的地址是最基本的rers. See for examplehttp://www.atmel.com/Images/Atmel-8720-SEEPROM-AT24C512C-Datasheet.pdfpage 9.
The device address for that EEPROM is 0b1010xxx (seven bits), where all x's are usually 0 if you don't have multiple EEPROMs. I assume 0xA0 is simply 0x50 << 1 to make it 8-bit when adding the R/W flag.