3.6. PIC16 C I2C Serial Bus
• I2C simulation test system
• I2C control, address, and data bytes
The inter-integrated circuit (I2C) synchronous serial bus provides a means of exchanging data between peripheral devices and microcontrollers using software addressing. This means that only two signals are required, data and clock (see Section 1.4 for details).
The test system shown in Figure 3.9 has only one I2C peripheral device, the 24AA256 serial flash memory chip, to keep it as simple as possible. Serial memory is a common feature of applications that require additional data storage, such as a data logger. It allows the internal EEPROM of the PIC to be expanded using only two I/O pins. The downside is that the memory access is rather slow, with ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access