データシートサーチシステム |
|
HT46R068B データシート(PDF) 86 Page - Holtek Semiconductor Inc |
|
HT46R068B データシート(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 |
同様の部品番号 - HT46R068B_15 |
|
同様の説明 - HT46R068B_15 |
|
|
リンク URL |
プライバシーポリシー |
ALLDATASHEET.JP |
ALLDATASHEETはお客様のビジネスに役立ちますか? [ DONATE ] |
Alldatasheetは | 広告 | お問い合わせ | プライバシーポリシー | リンク交換 | メーカーリスト 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 |