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.
|
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 |