| Electronic Components Datasheet Search |
|
HT45F39 Datasheet(PDF) 78 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F39 Datasheet(HTML) 78 Page - Holtek Semiconductor Inc |
|
78 / 102 page ![]() Rev. 1.10 78 July 01, 2016 Rev. 1.10 79 July 01, 2016 HT45F39/HT45F391 Ultrasonic Distance Measurement 8-bit Flash MCU HT45F39/HT45F391 Ultrasonic Distance Measurement 8-bit Flash MCU ThefollowingistheAutoIDSettingprocedurefortheUltrasonicSensormodule: • BeforetheUltrasonicSensormoduleisconnectedtotheBus,asthereisnoIDinthismodulethe setupoftheBusControlUnithastobeIOCNT=0. WhentheIOCNTbitisclearedto"0",itwilldisconnectthePA2toPA7path.Then,the HT45F39/HT45F391willstarttosendanIDrequesttotheHostthroughPA7.Allthemodules whichhavenoIDinthemimplementthesamesettingandsendanIDrequesttothehost.The PA7hastobesetupasanoutputpintotransmitanIDrequestandsetupasinputpinwhentheID requestistransmittedcompletely. • WhentheHT45F39/HT45F391(1)isconnectedtotheBUS,theHOSTwillreceiveanIDrequest fromtheHT45F39/HT45F391(1)andsendacorrespondingIDtoit.TheIDwillbereceivedby thePA7pin. • WhentheHT45F39/HT45F391(1)receivestheID,ithastosetIOCNT=1tosetthepath,PA2to PA7,fortheHT45F39/HT45F391(2). • WhentheHT45F39/HT45F391(2)isconnectedtotheBUS,followingstep1andstep2,anID willbesenttoitbythePA7inputpinfromtheHOST. • WhentheHT45F39/HT45F391(2)hasreceivedtheID,ithastosetIOCNT=1,tosetthepathfor anothermodule. • WhenallthemoduleshavereceviedthecorrespondingIDs,thenwhentheHOSTsendsacom- havereceviedthecorrespondingIDs,thenwhentheHOSTsendsacom- thecorrespondingIDs,thenwhentheHOSTsendsacom- thenwhentheHOSTsendsacom- whentheHOSTsendsacom- mand,allthemodules,namelyHT45F39/HT45F391(n),willreceiveitatthesametimeand checkifthecommandismatched. • IftheIDismatched,theHT45F39/HT45F391hastosetIOCNT=1andthensendaResponse commandtotheHOSTthroughthePA7outputpin. • WhentheResponsecommandissentcompletely,alloftheHT45F39/HT45F391devicesinthe modulesshouldsetIOCNT=1towaitthenextcommandfromtheHOST. |
|
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 |