| поискавой системы для электроныых деталей |
|
HT69F360 датащи(PDF) 147 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT69F360 датащи(HTML) 147 Page - Holtek Semiconductor Inc |
|
147 / 235 page ![]() Rev. 1.30 14� �ove��e� 1�� �01� Rev. 1.30 147 �ove��e� 1�� �01� HT69F340/HT69F350/HT69F360 TinyPowerTM I/O Flash MCU with LCD & EEPROM HT69F340/HT69F350/HT69F360 TinyPowerTM I/O Flash MCU with LCD & EEPROM Serial Interface Module – SIM TheseriesdevicescontainaSerialInterfaceModule,whichincludesboththefour-lineSPIinterface ortwo-lineI2Cinterfacetypes,toallowaneasymethodofcommunicationwithexternalperipheral hardware.Havingrelativelysimplecommunicationprotocols,theseserialinterfacetypesallow themicrocontrollertointerfacetoexternalSPIorI2Cbasedhardwaresuchassensors,Flashor EEPROMmemory,etc.TheSIMinterfacepinsarepin-sharedwithotherI/Opinsandthereforethe SIMinterfacefunctionalpinsmustfirstbeselectedusingthecorrespondingpin-sharedfunction selectionbits.Asbothinterfacetypessharethesamepinsandregisters,thechoiceofwhetherthe SPIorI2CtypeisusedismadeusingtheSIMoperatingmodecontrolbits,namedSIM2~SIM0,in theSIMC0register.Thesepull-highresistorsoftheSIMpin-sharedI/Opinsareselectedusingpull- highcontrolregisterswhentheSIMfunctionisenabledandthecorrespondingpinsareusedasSIM inputpins. SPI Interface TheSPIinterfaceisoftenusedtocommunicatewithexternalperipheraldevicessuchassensors, FlashMemoryorEEPROMmemorydevicesetc.OriginallydevelopedbyMotorola,thefourline SPIinterfaceisasynchronousserialdatainterfacethathasarelativelysimplecommunication protocolsimplifyingtheprogrammingrequirementswhencommunicatingwithexternalhardware devices. Thecommunicationisfullduplexandoperatesasaslave/mastertype,wherethedevicecanbeeither masterorslave.AlthoughtheSPIinterfacespecificationcancontrolmultipleslavedevicesfroma singlemaster,butthedeviceprovidesonlyoneSCSpin.Ifthemasterneedstocontrolmultipleslave devicesfromasinglemaster,themastercanuseI/Opintoselecttheslavedevices. SPI Interface Operation TheSPIinterfaceisafullduplexsynchronousserialdatalink.Itisafourlineinterfacewithpin namesSDI,SDO,SCKandSCS.PinsSDIandSDOaretheSerialDataInputandSerialData Outputlines,SCKistheSerialClocklineandSCSistheSlaveSelectline.AstheSPIinterfacepins arepin-sharedwithnormalI/OpinsandwiththeI2Cfunctionpins,theSPIinterfacepinsmustfirst beselectedbyconfiguringthepin-sharedfunctionselectionbitsandsettingthecorrectbitsinthe SIMC0andSIMC2registers.AfterthedesiredSPIconfigurationhasbeensetitcanalsobedisabled orenabledusingtheSIMENbitintheSIMC0register.Communicationbetweendevicesconnected totheSPIinterfaceiscarriedoutinaslave/mastermodewithalldatatransferinitiationsbeing implementedbythemaster.TheMasteralsocontrolstheclocksignal.Asthedeviceonlycontains asingleSCSpinonlyoneslavedevicecanbeutilized.TheSCSpiniscontrolledbysoftware,set CSENbitto“1”toenableSCSpinfunction,setCSENbitto“0”theSCSpinwillbefloatingstate. TheSPIfunctioninthisdeviceoffersthefollowingfeatures: • Fullduplexsynchronousdatatransfer • BothMasterandSlavemodes • LSBfirstorMSBfirstdatatransmissionmodes • Transmissioncompleteflag • Risingorfallingactiveclockedge ThestatusoftheSPIinterfacepinsisdeterminedbyanumberoffactorssuchaswhetherthedevice isinthemasterorslavemodeandupontheconditionofcertaincontrolbitssuchasCSENand SIMEN. |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |