首页|嵌入式系统|显示技术|模拟IC/电源|元件与制造|其他IC/制程|消费类电子|无线/通信|汽车电子|工业控制|医疗电子|测试测量
首页 > 分享下载 > 无线/通信 > 使用PIC16C5X智能IIC外设

使用PIC16C5X智能IIC外设

资料介绍
INTRODUCTION
PIC16C5X microcontrollers from Microchip are ideally
suited for use as smart peripheral devices under the con-
trol 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 micro-
processor, 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.
AN541
Using a PIC16C5X as a Smart I2C Peripheral
FIGURE 1: I2C TIMING
Author: Don Lekei
NII Norsat International Inc. SCL

INTRODUCTION
SDA
PIC16C5X microcontrollers from Microchip are ideally
suited for use as smart peripheral devices under the con-
trol of the main processors in systems, due to their low
tSH tCL tCH
cost and high speed. They are capable of performing
tasks which would simply overload a conventional micro-
使用PIC16C5X智能IIC外设
本地下载

评论