Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:netzer:i2c-master [2014/12/21 11:52] svesch Imported example from doxgen |
en:netzer:i2c-master [2015/01/06 09:38] svesch [Repeated start] |
||
---|---|---|---|
Line 63: | Line 63: | ||
Exception to escaping //0x73// is the very first character (slave address) analog to the "General Call address" section. | Exception to escaping //0x73// is the very first character (slave address) analog to the "General Call address" section. | ||
- | <WRAP center round important 60%> | ||
Receiving //0x73// from Netzer has no special meaning but //0x73// and therefore will not be escaped! | Receiving //0x73// from Netzer has no special meaning but //0x73// and therefore will not be escaped! | ||
+ | <WRAP center round important 60%> | ||
+ | Attention: This feature has changed since version 1.6: //0x73// is escaped in both directions. | ||
</WRAP> | </WRAP> | ||
Line 104: | Line 105: | ||
Take a look at the following picture for circuiting a I2C EEPROM IC as slave to Netzer. | Take a look at the following picture for circuiting a I2C EEPROM IC as slave to Netzer. | ||
- | \image html EEPROM_Example.gif Connecting a simple EEPROM to Netzer | + | |
+ | <imgcaption eeprom_example|Connecting a simple EEPROM to Netzer>{{:eeprom_example.png?direct}}</imgcaption> | ||
- | ===== EEPROM slave address ===== | + | ==== EEPROM slave address ==== |
The EEPROM has the slave address 0x50. | The EEPROM has the slave address 0x50. | ||
Line 113: | Line 116: | ||
- | ===== Writing to the EEPROM ===== | + | ==== Writing to the EEPROM ==== |
See the following byte sequence for writing a //0x55// to memory address 0 of the EEPROM: | See the following byte sequence for writing a //0x55// to memory address 0 of the EEPROM: | ||
Line 131: | Line 134: | ||
- | ===== Reading from EEPROM ===== | + | ==== Reading from EEPROM ==== |
<code> | <code> |