| Electronic Components Datasheet Search |
|
HT45F65 Datasheet(PDF) 154 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F65 Datasheet(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 |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |