外文翻译DS1302涓流充电计时芯片.docx

上传人:b****1 文档编号:1057091 上传时间:2022-10-16 格式:DOCX 页数:9 大小:145.87KB
下载 相关 举报
外文翻译DS1302涓流充电计时芯片.docx_第1页
第1页 / 共9页
外文翻译DS1302涓流充电计时芯片.docx_第2页
第2页 / 共9页
外文翻译DS1302涓流充电计时芯片.docx_第3页
第3页 / 共9页
外文翻译DS1302涓流充电计时芯片.docx_第4页
第4页 / 共9页
外文翻译DS1302涓流充电计时芯片.docx_第5页
第5页 / 共9页
点击查看更多>>
下载资源
资源描述

外文翻译DS1302涓流充电计时芯片.docx

《外文翻译DS1302涓流充电计时芯片.docx》由会员分享,可在线阅读,更多相关《外文翻译DS1302涓流充电计时芯片.docx(9页珍藏版)》请在冰豆网上搜索。

外文翻译DS1302涓流充电计时芯片.docx

外文翻译DS1302涓流充电计时芯片

中文2560字

DS1302tricklechargetimekeepingchip

Abstract:

IntroducestheUnitedStateswithDALLAStricklechargecurrentcapacityofsmalllow-powerrealtimeclockDS1302circuitstructure,workingprincipleanditsapplicationinreal-timedisplayofapplicationtime.Itcanbeyears,months,days,weekdays,hours,minutes,secondsfortime,andhasmultiplefunctions,suchasaleapyearcompensation.DS1302aregivenintheC51toreadandwriteproceduresandflowchart,aswellasintheprocessofdebuggingnote.

Keywords:

clockcircuit;real-timeclock;singlechip;Application

1Introduction

Nowpopularinmanyoftheserialclockcircuit,suchastheDS1302,DS1307,PCF8485,etc..Thesecircuitsinterfaceissimple,inexpensiveandeasytouse,hasbeenwidelyused.ThispaperintroducestheDS1302realtimeclockcircuitisDALLAS'sasmalltricklechargecurrentofthecircuitcapacity,themainfeatureistheuseofserialdatatransmission,canprovideprogrammablepower-downprotectionfunctionsofchargeandcanbeshutdownchargingfunctions.32.768kHzcrystalordinary.

2DS1302'sstructureandworkingprinciple

DALLAScompaniesDS1302istheUnitedStateslaunchedahigh-performance,lowpowerconsumption,withreal-timeclockcircuitoftheRAM,itcanbeyears,months,days,weekdays,hours,minutes,secondsfortime,withleapyearcompensation,theworkingvoltageto2.5V~5.5V.Theuseofthree-wireinterfaceforsynchronouscommunicationwiththeCPU,andtheuseofunexpectedwaystosendmorethanonebyteofdataclocksignal,orRAM.DS1302withina31×8forthetemporarystorageoftheRAMdataregister.DS1302istheDS1202toupgradeproducts,compatiblewiththeDS1202,buttheincreaseofthemainpowersupply/back-pindualpowersupply,whileprovidingthepowerbacktothesmalltricklechargecurrentcapacity.

FEATURES

●1Real-TimeClockCountsSeconds,Minutes,Hours,DateoftheMonth,Month,DayoftheWeek,andYearwithLeap-YearCompensationValidUpto2100

●231x8Battery-BackedGeneral-PurposeRAM

●3SerialI/OforMinimumPinCount

●32.0Vto5.5VFullOperation

●4UsesLessthan300nAat2.0V

●5Single-ByteorMultiple-Byte(BurstMode)DataTransferforReadorWriteofClockorRAMData

●68-PinDIPorOptional8-PinSOforSurfaceMount

●7Simple3-WireInterface

●8TTL-Compatible(VCC=5V)

●9OptionalIndustrialTemperatureRange:

-40°Cto+85°C

2.1Pinfunctionandstructure

PINDESCRIPTION

1)X1,X2–32.768kHzCrystalPins

2)GND–Ground

3)RST–Reset

4)I/O–DataInput/Output

5)SCLK–SerialClock

6)VCC1,VCC2–PowerSupplyPins

Figure1showingapinoftheDS1302,whichVcc1forback-uppowersupply,VCC2-basedpower.Inthemainpoweroff,theclockisalsoabletomaintaincontinuousoperation.Vcc2bytheDS1302orwhicheverVcc1thegreaterpower.WhenVcc2thanVcc1+0.2Vwhen,Vcc2powersupplytotheDS1302.WhenVcc1lessthanVcc2when,DS1302poweredbyVcc1.X1andX2isthesourceofoscillation,anexternal32.768kHzcrystal.RSTisthereset/chipselectlines,throughtheRSTinputhighdrivehometostartallofthedatatransfer.RSTinputhastwofunctions:

First,RSTaccesscontrollogic,allowingtheaddress/commandsequenceintotheshiftregister;Secondly,RSTtoterminatetheprovisionofsingle-byteormulti-bytedatatransmission.WhenRSTishigh,alldataareinitializedtoallowtheDS1302tooperateon.IfinthecourseofRSTsenthomeforthelow,itwillterminatethedatatransfer,I/Opinintohighimpedancestate.Run-timepower,Vcc≥2.5Vinbefore,RSTmustremainlow.SCLKlowonlywhentheRSTcanbesettohigh.I/Oforserialdatainputandoutputside(two-way),followedbyadetaileddescription.IsalwaystheSCLKinput.

2.2DS1302controlbyte

DS1302controlwordasshowninFigure2.ControlbyteMSB(bit7)mustbelogic1,ifitis0,arenotabletowritedataintheDS1302,bit6if0,thenthecalendarclockanddataaccess,thataccesstoRAMto1data;bit5tobit1oftheaddressunitinstructions;leastsignificantbit(bit0)inthecaseof0towriteto,readto1,saidoperation,thecontrolbyteisalwaysthebeginningoftheoutputfromthelowestbit.

2.3Datainputandoutput(I/O)

InstructionwordinthecontrolinputofthenextclockrisingedgeofSCLK,thedataiswrittenintotheDS1302,datainputfromthelowenthronement0.Similarly,inthefollowing8-bitinstructionwordcontrolafterthenextfallingedgeofSCLKpulsetoreadouttheDS1302data,readthedatafrom0to7.

2.4DS1302register

DS1302thereare12registers,whichregisterwiththesevencalendar,clockrelateddatastoredindigitalformasaBCDcode,thecalendarandtimeregistersandcontrolwordsinTable1.

Inaddition,DS1302yearalsoregister,controlregister,thechargeregister,theclockregi

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 幼儿教育 > 唐诗宋词

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1