We detect you are using an unsupported browser. For the best experience, please visit the site using Chrome, Firefox, Safari, or Edge. X
Maximize Your Experience: Reap the Personalized Advantages by Completing Your Profile to Its Fullest! Update Here
Stay in the loop with the latest from Microchip! Update your profile while you are at it. Update Here
Complete your profile to access more resources.Update Here!

AN541

Title
Title
Using PIC16C5x as a Smart IIC Peripheral
Name
Name
AN541
Date
Date
06/24/2015
Application Categories
Application Categories
Peripheral / I2C
Product Categories
Product Categories
8-bit MCU
Description
Description
PIC16C5X microcontrollers from Microchip are ideally suited for use as smart peripheral devices under the control of the main processors in systems, due to their low cost and high speed. They are capable of performing tasks which would simply overload a conventional microprocessor, or require considerable logic circuitry, at a cost competitive with lower mid-range PLDs. To minimize the engineering overhead of adding multiple controllers to a product, it is convenient for the auxiliary controllers to emulate standard I/O peripherals. A common interface found in existing products is the I 2 C bus. This efficient, two-wire, bi-directional interface allows the designer to connect multiple devices together, with the microprocessor able to send data to and receive data from any device on the bus. This interface is found on a variety of components, such as PLLs, DACs, video controllers, and EEPROMs. If a product already contains one or more I 2 C devices, it is simple to add a PIC16C5X emulating a compatible component. This application note describes the implementation of a standard slave device with multiple, bi-directional registers. A subset of the full I 2 C specification is supported, which can be controlled by the same software which would talk to a Microchip 24LCXX series EEPROM.

Files

Title Title Download Date Size
AN541 Source Code - Using PIC16C5x as a Smart IIC Peripheral 19.3 KB 06/23/2015 AN541 Source Code - Using PIC16C5x as a Smart IIC Peripheral Download 06/23/2015 19.3 KB