1. 首页
  2. 课程学习
  3. 嵌入式
  4. 使用PIC16C5X智能IIC外设

使用PIC16C5X智能IIC外设

上传者: 2022-10-21 12:51:44上传 PDF文件 182.45 KB 热度 16次

INTRODUCTION

PIC16C5XmicrocontrollersfromMicrochipareideally

suitedforuseassmartperipheraldevicesunderthecon-

trolofthemainprocessorsinsystems,duetotheirlow

costandhighspeed.Theyarecapableofperforming

taskswhichwouldsimplyoverloadaconventionalmicro-

processor,orrequireconsiderablelogiccircuitry,ata

costcompetitivewithlowermid-rangePLDs.Tominimize

theengineeringoverheadofaddingmultiplecontrollers

toaproduct,itisconvenientfortheauxiliarycontrollers

toemulatestandardI/Operipherals.

AcommoninterfacefoundinexistingproductsistheI

2

C

bus.Thisefficient,two-wire,bi-directionalinterface

allowsthedesignertoconnectmultipledevicestogether,

withthemicroprocessorabletosenddatatoandreceive

datafromanydeviceonthebus.Thisinterfaceisfound

onavarietyofcomponents,suchasPLLs,DACs,video

controllers,andEEPROMs.Ifaproductalreadycontains

oneormoreI

2

Cdevices,itissimpletoaddaPIC16C5X

emulatingacompatiblecomponent.

Thisapplicationnotedescribestheimplementationofa

standardslavedevicewithmultiple,bi-directional

registers.AsubsetofthefullI

2

Cspecificationis

supported,whichcanbecontrolledbythesame

softwarewhichwouldtalktoaMicrochip24LCXX

seriesEEPROM.AN541UsingaPIC16C5XasaSmartI2CPeripheralFIGURE1:I2CTIMINGAuthor:DonLekeiNIINorsatInternationalInc.SCLINTRODUCTIONSDAPIC16C5XmicrocontrollersfromMicrochipareideallysuitedforuseassmartperipheraldevicesunderthecon-trolofthemainprocessorsinsystems,duetotheirlowtSHtCLtCHcostandhighspeed.Theyarecapableofperformingtaskswhichwouldsimplyoverloadaconventionalmicro-

下载地址
用户评论