| Electronic Components Datasheet Search |
|
HT82B42R Datasheet(PDF) 57 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT82B42R Datasheet(HTML) 57 Page - Holtek Semiconductor Inc |
|
57 / 86 page ![]() Rev. 1.00 56 October 27, 2011 Rev. 1.00 57 October 27, 2011 HT82B42R/HT82B42RE I/O MCU with USB Interface Serial Interface – SPI TheSPIinterfaceisoftenusedtocommunicatewithexternalperipheraldevicessuchassensors, FlashorEEPROMmemorydevicesetc..OriginallydevelopedbyMotorola,thefourlineSPI interfaceisasynchronousserialdatainterfacethathasarelativelysimplecommunicationprotocol simplifyingtheprogrammingrequirementswhencommunicatingwithexternalhardwaredevices. Thecommunicationisfullduplexandoperatesasaslave/mastertype,wherethedevicecanbe eithermasterorslave.AlthoughtheSPIinterfacespecificationcancontrolmultipleslavedevices fromasinglemaster,howeverthisdeviceisprovidedwithonlyoneSCSpin.Ifthemasterneedsto controlmultipleslavedevicesfromasinglemaster,themastercanuseI/Opinstoselecttheslave devices. SPI Interface Operation TheSPIinterfaceisafullduplexsynchronousserialdatalink.Itisafourlineinterfacewithpin namesSDI,SDO,SCKandSCS.PinsSDIandSDOaretheSerialDataInputandSerialData Outputlines,SCKistheSerialClocklineandSCSistheSlaveSelectline.AstheSPIinterfacepins arepin-sharedwithnormalI/Opins,theSPIinterfacemustfirstbeenabledbysettingthecorrect bitsintheSBCRandSPIRregisters.TheSPIcanbedisabledorenabledusingtheSPI_ENbitin theSPIRregister.CommunicationbetweendevicesconnectedtotheSPIinterfaceiscarriedoutin aslave/mastermodewithalldatatransferinitiationsbeingimplementedbythemaster.TheMaster alsocontrolstheclocksignal.AsthedeviceonlycontainsasingleSCSpinonlyoneslavedevice canbeutilized. TheSCSpiniscontrolledbytheapplicationprogram,settheCSENbitto“1”toenabletheSCSpin functionandcleartheCSENbitto“0”toplacetheSCSpinintoafloatingstate. SP I M ast er SP I Sl ave SC K SD O SD I SC S SC K SD I SD O SC S SPI Master/Slave Connection Da ta B us SD I P in SD O Pi n SB DR Tx /R x Sh i ft R egi st er Bu sy St at us TR F Fl ag WC OL F la g Cl oc k E dge/ Po la ri ty Co nt ro l Cl oc k So ur ce S el ec t f SY S SC K Pi n SC S Pi n So ft wa re Op ti on CS E N bi t SPI _C SE N SPI _M OD E b it SP I_ CP OL b it SPI Block Diagram |
|
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 |