USB yog lub ntsiab lus luv ntawm Universal SerialBUS, thiab Suav yog Universal Serial Bus, uas yog hu ua "Tong String". USB yog tus qauv tsheb npav sab nraud, uas yog lub luag haujlwm hauv kev tswj hwm kev sib txuas thiab sib txuas lus ntawm cov khoos phis tawj thiab sab nraud khoom siv hluav taws xob. Nws yog ib qho interface technology thov hauv PC teb. USB interface txhawb nqa lub kub ntsaws ua haujlwm ntawm lub cuab yeej, ntsaws thiab ua si, thiab kev ua haujlwm yooj yim.

Nyob rau hauv OTG, lub cuab yeej ua thawj ua lub luag haujlwm hu ua A the device, thiab cov khoom siv sab nraud hu ua B ntaus ntawv. Nws lub luag haujlwm thawj zaug tuaj yeem txiav txim siab raws li txoj kab kev sib txuas cable.
Hauv tus tswv cuab kev sib tham (raws li tus txheej txheem HNP): Thaum ob lub xov tooj ntawm OTG txuas nrog los ntawm ib txoj hlua, yog tias tus lej ntawm tus lej ID tau pom, nws txhais tau tias lub neej ntawd yog A ntaus ntawv (tus tswv tsev), thiab thaum ib lub cuab yeej nrog tus pin ID nkag mus. kuaj pom, Nws txhais tau tias B ntaus ntawv (khoom siv). Yog lawm, ob lub luag haujlwm no tsis hloov pauv, thiab HNP raws tu qauv yuav siv tau rau kev hloov ua lub luag haujlwm.
Hauv cov ntawv thov kev thov raws tu qauv (SRP), lub cuab yeej B tau tso cai kom thov kom lub A ntaus ntawv qhib VBUS fais fab mov thaum siv lub zog sib tham. Ib qho kev sib tham ntawm OTG tuaj yeem txiav txim siab los ntawm lub sijhawm thaum A Cuab Yeej muab lub zog VBUS. Thaum cov cuab yeej thiab cov cuab yeej B tsis tas yuav sib txuas lus, qhov cuab yeej A tuaj yeem kaw VBUS kom xaus kev sib tham kom txuag hluav taws xob, thiab cov cuab yeej B nkag mus rau qis zog Kev siv hom yog qhov tseem ceeb heev rau cov khoom siv roj teeb.






