DatasheetsPDF.com

AN554

Microchip Technology
Part Number AN554
Manufacturer Microchip Technology
Description Software Implementation of I2C Bus Master
Published Jun 9, 2008
Detailed Description M Author: AN554 In most systems the microcontroller is the master and the external peripheral devices are slaves. In th...
Datasheet PDF File AN554 PDF File

AN554
AN554


Overview
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.
As an example, the test program talks to two Serial EEPROMs (Microchip’s 24LC04 and 24LC01).
Software Implementation of I2C™ Bus Master Amar Palacherla Microchip Technology Inc.
INTRODUCTION www.
DataSheet4U.
com This application note describes the software implementation of I2...



Similar Datasheet


Since 2006. D4U Semicon,
Electronic Components Datasheet Search Site. (Privacy Policy & Contact)