| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
HT45F65 bảng dữ liệu(PDF) 154 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F65 bảng dữ liệu(HTML) 154 Page - Holtek Semiconductor Inc |
|
154 / 231 page ![]() Rev. 1.60 1�� �ove��e� ��� �01� Rev. 1.60 1�� �ove��e� ��� �01� HT45F65/HT45F66/HT45F67 Glucose Meter 8-Bit Flash MCU Serial Interface Module – SIM ThedevicescontainaSerialInterfaceModule,whichincludesboththefourlineSPIinterfaceand thetwolineI2Cinterfacetypes,toallowaneasymethodofcommunicationwithexternalperipheral hardware.Havingrelativelysimplecommunicationprotocols,theseserialinterfacetypesallowthe microcontrollertointerfacetoexternalSPIorI2Cbasedhardwaresuchassensors,Flashmemory, etc.TheSIMinterfacepinsarepin-sharedwithotherI/OpinsthereforetheSIMinterfacefunction mustfirstbeselectedusingaconfigurationoption.Asbothinterfacetypessharethesamepinsand registers,thechoiceofwhethertheSPIorI2CtypeisusedismadeusingtheSIMoperatingmode controlbits,namedSIM2~SIM0,intheSIMC0register.Thesepull-highresistorsoftheSIMpin- sharedI/Oareselectedusingpull-highcontrolregisters,andalsoiftheSIMfunctionisenabled. SPI Interface ThisSPIinterfacefunctionwhichiscontainedwithintheSerialInterfaceModule,shouldnotbe confusedwiththeotherindependentSPIfunction,knownasSPI1,whichisdescribedinanother sectionofthisdatasheet.TheSPIinterfaceisoftenusedtocommunicatewithexternalperipheral devicessuchassensors,Flashmemorydevicesetc.OriginallydevelopedbyMotorola,thefour lineSPIinterfaceisasynchronousserialdatainterfacethathasarelativelysimplecommunication protocolsimplifyingtheprogrammingrequirementswhencommunicatingwithexternalhardware devices. Thecommunicationisfullduplexandoperatesasaslave/mastertype,wherethedevicecanbe eithermasterorslave.AlthoughtheSPIinterfacespecificationcancontrolmultipleslavedevices fromasinglemaster,butthisdeviceprovidedonlyoneSCSpin.Ifthemasterneedstocontrol multipleslavedevicesfromasinglemaster,themastercanuseI/Opintoselecttheslavedevices. SPI Interface Operation TheSPIinterfaceisafullduplexsynchronousserialdatalink.Itisafourlineinterfacewithpin namesSDI,SDO,SCKandSCS.PinsSDIandSDOaretheSerialDataInputandSerialDataOutput lines,SCKistheSerialClocklineandSCSistheSlaveSelectline.AstheSPIinterfacepinsarepin- sharedwithnormalI/OpinsandwiththeI2Cfunctionpins,theSPIinterfacemustfirstbeenabledby selectingtheSIMenableconfigurationoptionandsettingthecorrectbitsintheSIMC0andSIMC2 registers.AftertheSPIconfigurationoptionhasbeenconfigureditcanalsobeadditionallydisabled orenabledusingtheSIMENbitintheSIMC0register.Communicationbetweendevicesconnected totheSPIinterfaceiscarriedoutinaslave/mastermodewithalldatatransferinitiationsbeing implementedbythemaster.TheMasteralsocontrolstheclocksignal.Asthedeviceonlycontains asingleSCSpinonlyoneslavedevicecanbeutilized.TheSCSpiniscontrolledbysoftware,set CSENbitto"1"toenableSCSpinfunction,setCSENbitto"0"theSCSpinwillbefloatingstate. SP I M ast er SP I Sl av e SC K SD O SD I SC S SC K SD I SD O SC S SPI Master/Slave Connection |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |