Datasheet4U Logo Datasheet4U.com

AN554 - Software Implementation of I2C Bus Master

General Description

OF ABBREVIATIONS USED Explanation Start Condition Stop Condition Slave Address (for read operation) Slave Address (for write operation) Acknowledge condition (positive ACK) Negative Acknowledge condition (NACK) Data byte, D[0] represents byte 0, D[1] represents second byte © 1997 Microchip Technolo

📥 Download Datasheet

Full PDF Text Transcription (Reference)

The following content is an automatically extracted verbatim text from the original manufacturer datasheet and is provided for reference purposes only.

View original datasheet text
M Author: AN554 In most systems the microcontroller is the master and the external peripheral devices are slaves. In these cases this application note can be used to attach I2C slaves to the PIC16CXXX (the master) microcontroller. The multi-master system is not implemented because it is extremely difficult to meet all the I2C Bus timing specifications using software. For a true slave or multi-master system, some interface hardware is necessary (like START & STOP bit detection). In addition to the low level single master I2C routines, a collection of high level routines with various message structures is given. These high level macros/routines can be used as canned routines to interface to most I2C slave devices.