Motore di ricerca datesheet componenti elettronici |
|
HT46R068B Scheda tecnica(PDF) 86 Page - Holtek Semiconductor Inc |
|
HT46R068B Scheda tecnica(HTML) 86 Page - Holtek Semiconductor Inc |
86 / 135 page Rev. 1.50 86 �e���a�� 05� �015 Rev. 1.50 87 �e���a�� 05� �015 HT46R068B/HT46R069B Enhanced A/D 8-Bit OTP MCU HT46R068B/HT46R069B Enhanced A/D 8-Bit OTP MCU Serial Interface Module – SIM ThesedevicescontainaSerialInterfaceModule,whichincludesboththefourlineSPIinterfaceor thetwolineI2Cinterfacetypes,toallowaneasymethodofcommunicationwithexternalperipheral hardware.Havingrelativelysimplecommunicationprotocols,theseserialinterfacetypesallow themicrocontrollertointerfacetoexternalSPIorI2Cbasedhardwaresuchassensors,Flashor EEPROMmemory,etc.TheSIMinterfacepinsarepin-sharedwithotherI/OpinsthereforetheSIM interfacefunctionmustfirstbeselectedusingaconfigurationoption.Asbothinterfacetypesshare thesamepinsandregisters,thechoiceofwhethertheSPIorI2CtypeisusedismadeusingtheSIM operatingmodecontrolbits,namedSIM2~SIM0,intheSIMC0register.Thesepull-highresistorsof theSIMpin-sharedI/Oareselectedusingpull-highcontrolregisters,andalsoiftheSIMfunctionis enabled. SPI Interface ThisSPIinterfacefunctionwhichispartoftheSerialInterfaceModule,shouldnotbeconfusedwith theotherindependentSPIfunction,knownasSPIA,whichisdescribedinanothersectionofthis datasheet. TheSPIinterfaceisoftenusedtocommunicatewithexternalperipheraldevicessuchassensors, FlashorEEPROMmemorydevicesetc.OriginallydevelopedbyMotorola,thefourlineSPI interfaceisasynchronousserialdatainterfacethathasarelativelysimplecommunicationprotocol simplifyingtheprogrammingrequirementswhencommunicatingwithexternalhardwaredevices. Thecommunicationisfullduplexandoperatesasaslave/mastertype,wherethedevicecanbe eithermasterorslave.AlthoughtheSPIinterfacespecificationcancontrolmultipleslavedevices fromasinglemaster,butthisdeviceprovidedonlyoneSCSpin.Ifthemasterneedstocontrol multipleslavedevicesfromasinglemaster,themastercanuseI/Opintoselecttheslavedevices. • SPIInterfaceOperation TheSPIinterfaceisafullduplexsynchronousserialdatalink.Itisafourlineinterfacewithpin namesSDI,SDO,SCKandSCS.PinsSDIandSDOaretheSerialDataInputandSerialData Outputlines,SCKistheSerialClocklineandSCSistheSlaveSelectline.AstheSPIinterface pinsarepin-sharedwithnormalI/OpinsandwiththeI2Cfunctionpins,theSPIinterfacemust firstbeenabledbyselectingtheSIMenableconfigurationoptionandsettingthecorrectbitsinthe SIMC0andSIMC2registers.AftertheSPIconfigurationoptionhasbeenconfigureditcanalso beadditionallydisabledorenabledusingtheSIMENbitintheSIMC0register.Communication betweendevicesconnectedtotheSPIinterfaceiscarriedoutinaslave/mastermodewithalldata transferinitiationsbeingimplementedbythemaster.TheMasteralsocontrolstheclocksignal. AsthedeviceonlycontainsasingleSCSpinonlyoneslavedevicecanbeutilized.TheSCSpin iscontrolledbysoftware,setCSENbitto"1"toenableSCSpinfunction,setCSENbitto"0"the SCSpinwillbefloatingstate. 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 |
Codice articolo simile - HT46R068B_15 |
|
Descrizione simile - HT46R068B_15 |
|
|
Link URL |
Privacy Policy |
ALLDATASHEETIT.COM |
Lei ha avuto il aiuto da alldatasheet? [ DONATE ] |
Di alldatasheet | Richest di pubblicita | contatti | Privacy Policy | scambio Link | Ricerca produttore 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 |