| Electronic Components Datasheet Search |
|
HT45F39 Datasheet(PDF) 76 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F39 Datasheet(HTML) 76 Page - Holtek Semiconductor Inc |
|
76 / 102 page ![]() Rev. 1.10 76 July 01, 2016 Rev. 1.10 77 July 01, 2016 HT45F39/HT45F391 Ultrasonic Distance Measurement 8-bit Flash MCU HT45F39/HT45F391 Ultrasonic Distance Measurement 8-bit Flash MCU IOC PA2 PA7 PA3 PA6 PA3 I/O PA6 I/O INSEL1 INSEL2 download 0 0 1 1 uploading ThefollowingistheAutoIDsetupprocedurefortheUltrasonicSensormodule: • BeforetheUltrasonicSensormoduleplugontheBus,thereisnoIDinthismodule. ThesetupfortheBusControlUnit,isasfollows,IOC=0,INSEL1=0andINSEL2=1. WhentheIOCbitisclearedto"0",itwilldisconnectthePA2toPA3pathandconnectPA7tothe PA6MUXinput.WhenINSEL1=0,PA3isselectedtohaveanI/Ofunction.WhenINSEL2=1, PA6isselectedasaPA7toPA6pathfunction. NowtheHT45F39/HT45F391beginstosendanIDrequesttotheHostthroughPA3.Allthe moduleswhichhavenoIDinthemshouldimplementthesamesetupandsendanIDrequestto thehost.PA7hastobesetupasaninputpinandPA3shouldbesetupasanoutputpin. • WhentheHT45F39/HT45F391(1)isconnectecdtotheBUS,theHOSTwillreceiveanID requestfromtheHT45F39/HT45F391(1)andsendacorrespondingIDtoit.TheIDwillbe receivedbythePA7pin. • WhentheHT45F39/HT45F391(1)hasreceivedtheID,ithastosetIOC=1andINSEL1=1toset thepath,PA2toPA3fortheHT45F39/HT45F391(2). • WhentheHT45F39/HT45F391(2)isconnectedtotheBUS,followingthestep1andstep2,an IDwillbesenttoitbythePA7inputpinfromtheHOST. • WhentheHT45F39/HT45F391(2)asreceivedtheID,ithastosetIOC=1andINSEL1=1toset thepathforanothermodule. • WhenallthemoduleshavereceivedtheircorrespondingIDs,thenwhentheHOSTsendsacom- havereceivedtheircorrespondingIDs,thenwhentheHOSTsendsacom- theircorrespondingIDs,thenwhentheHOSTsendsacom- correspondingIDs,thenwhentheHOSTsendsacom- correspondingIDs,thenwhentheHOSTsendsacom- thenwhentheHOSTsendsacom- whentheHOSTsendsacom- mand,allthemodules,namelyHT45F39/HT45F391(n),willreceivethecommandatthesame timeandcheckifthecommandismatched. • IftheIDismatched,theHT45F39/HT45F391hastosetIOC=0andINSEL1=0,andthensend aResponsecommandtotheHOSTthroughthePA3outputpin.IftheIDismismatched,the HT45F39/HT45F391hastosetIOC=1andINSEL1=1tosetthepath,PA2toPA3. • WhentheResponsecommandissentcompletely,alloftheHT45F39/HT45F391devicesinthe modulesshouldsetIOC=0andINSEL2=1towaitforthethenextHOSTcommand. |
|
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 |