| Electronic Components Datasheet Search |
|
HT66F20 Datasheet(PDF) 186 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F20 Datasheet(HTML) 186 Page - Holtek Semiconductor Inc |
|
186 / 298 page ![]() Rev. 1.90 186 �e���a�� 18� �01� Rev. 1.90 187 �e���a�� 18� �01� HT66F20/HT66F30/HT66F40/HT66F50/HT66F60 HT66FU30/HT66FU40/HT66FU50/HT66FU60 Enhanced A/D Flash Type 8-Bit MCU with EEPROM HT66F20/HT66F30/HT66F40/HT66F50/HT66F60 HT66FU30/HT66FU40/HT66FU50/HT66FU60 Enhanced A/D Flash Type 8-Bit MCU with EEPROM Serial Interface Module – SIM ThesedevicescontainaSerialInterfaceModule,whichincludesboththefourlineSPIinterfaceor thetwolineI2Cinterfacetypes,toallowaneasymethodofcommunicationwithexternalperipheral hardware.Havingrelativelysimplecommunicationprotocols,theseserialinterfacetypesallowthe microcontrollertointerfacetoexternalSPIorI2Cbasedhardwaresuchassensors,FlashorEEPROM memory,etc.TheSIMinterfacepinsarepin-sharedwithotherI/OpinsthereforetheSIMinterface functionmustfirstbeselectedusingaconfigurationoption.Asbothinterfacetypessharethesame pinsandregisters,thechoiceofwhethertheSPIorI2CtypeisusedismadeusingtheSIMoperating modecontrolbits,namedSIM2~SIM0,intheSIMC0register.Thesepull-highresistorsoftheSIM pin-sharedI/Oareselectedusingpull-highcontrolregisters,andalsoiftheSIMfunctionisenabled. SPI Interface TheSPIinterfaceisoftenusedtocommunicatewithexternalperipheraldevicessuchassensors, FlashorEEPROMmemorydevicesetc.OriginallydevelopedbyMotorola,thefourlineSPI interfaceisasynchronousserialdatainterfacethathasarelativelysimplecommunicationprotocol simplifyingtheprogrammingrequirementswhencommunicatingwithexternalhardwaredevices. 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 CSENbitto1toenableSCSpinfunction,setCSENbitto0theSCSpinwillbefloatingstate. TheSPIfunctioninthisdeviceoffersthefollowingfeatures: • Fullduplexsynchronousdatatransfer • BothMasterandSlavemodes • LSBfirstorMSBfirstdatatransmissionmodes • Transmissioncompleteflag • Risingorfallingactiveclockedge • WCOLandCSENbitenabledordisableselect |
|
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 |