tag 标签: pic16f628

相关资源
  • 所需E币: 4
    时间: 2020-1-9 16:00
    大小: 147.92KB
    上传者: 微风DS
    PIC16F628SPI接口應用ApplicationNote2361InterfacinganSPI-InterfaceRTCwithaPICMicrocontrollerwww.maxim-ic.comPINCONFIGURATIONTOPVIEWVCC2VBATX1X2N.C.INT0INT1GND12344567816VCC1DallasSemiconductorDS130515PF1413VCCIFSDO12SDI11SCLK10CE9SERMODEDESCRIPTIONTheDS1305real-timeclock(RTC)canbeinterfacedwithamicrocontroller(mC)usinga3-wireoranSPIinterface.ThisapplicationnoteshowshowtoconnectaDS1305toaPIC16F628mC.TheDS1306couldalsobeusedinthisapplication.Thecircuitusesaserialinterfaceforcommunications.AterminalprogramwithusercontroloftheRS232DTRcontrollineisrequired.DTRisusedtoresetthemCandstartcodeexecution.ADS232isusedtoperformTTL/RS232leveltranslation.Aschematicofthecircuitissho……