The invention discloses a circuit, a terminal and a control method for supporting the OTG function. The terminal comprises a processor, a power supply module, Type interface and CC C logic chip, the voltage output end and the Type C interface power module VBUS pin connection, processor for detecting CC logic chip ID pin is low, the power control module to the output voltage of the output voltage, the terminal also comprises a switch at the end, and the voltage output end connected with the other end of the pin, VBUS detection CC logic chip processor is used for connection; the low level control switch is detected in the ID pin. Compared with the prior art, and when the terminal connection from the equipment of large power consumption, the need for an external power supply, whether it is from the first device into the terminal, or the external power source is inserted into the first terminal, the invention can successfully identify the equipment from the role, but also can ensure the normal operation of CC logic chip in role identification after.
【技术实现步骤摘要】
支持OTG功能的电路、终端及其控制方法
本专利技术涉及OTG
,特别涉及一种支持OTG功能的电路,还涉及一种支持OTG功能的终端及其控制方法。
技术介绍
OTG(On-The-Go)是近年发展起来的技术,主要应用于各种不同的设备或终端间的联接,进行数据交换、充电等,而不需要像以前那样,各设备之间必须通过PC(PersonalComputer)来进行连接。例如,通过OTG技术使数码相机直接连接到打印机上,将拍摄的照片打印出来;又例如,将数码相机中的照片通过OTG技术发送到USB接口的移动硬盘上;还例如,将U盘中的视频通过OTG技术传输到手机上,通过手机观看U盘中的视频。目前,支持OTG功能的终端的主流接口共有两种:MircoUSB接口和Type-C接口。其中,MircoUSB接口共有5个引脚,其中2个引脚用于电源,2个引脚用于传输数据,剩下的1个引脚则用来检测OTG功能是否被触发。MircoUSB接口没有多余的引脚来识别与终端连接的设备是主设备还是从设备。与MicroUSB接口相比,Type-C接口还具有CC引脚(包括CC1引脚和CC2引脚),单纯依靠Type ...
【技术保护点】
一种支持OTG功能的终端,包括处理器、电源模块以及相互连接的Type‑C接口和CC逻辑芯片,所述电源模块的电压输出端与Type‑C接口的VBUS引脚连接,所述处理器用于在检测到CC逻辑芯片的ID引脚为低电平时,控制所述电源模块向所述电压输出端输出电压,其特征在于,所述终端还包括开关,所述开关的一端与所述电压输出端连接,另一端与CC逻辑芯片的VBUS检测引脚连接;所述处理器还用于在检测到所述ID引脚为低电平时,控制所述开关导通;否则,控制所述开关断开。
【技术特征摘要】
1.一种支持OTG功能的终端,包括处理器、电源模块以及相互连接的Type-C接口和CC逻辑芯片,所述电源模块的电压输出端与Type-C接口的VBUS引脚连接,所述处理器用于在检测到CC逻辑芯片的ID引脚为低电平时,控制所述电源模块向所述电压输出端输出电压,其特征在于,所述终端还包括开关,所述开关的一端与所述电压输出端连接,另一端与CC逻辑芯片的VBUS检测引脚连接;所述处理器还用于在检测到所述ID引脚为低电平时,控制所述开关导通;否则,控制所述开关断开。2.根据权利要求1所述的终端,其特征在于,所述Type-C接口的D+和D-引脚均与所述处理器连接。3.根据权利要求1或2所述的终端,其特征在于,所述开关为三极管或MOS管。4.一种支持OTG功能的终端的控制方法,所述终端包括电源模块以及相互连接的Type-C接口和CC逻辑芯片,所述电源模块的电压输出端与Type-C接口的VBUS引脚连接,所述方法包括:在检测到CC逻辑芯片的ID引脚为低电平时,控制所述电源模块向所述电压输出端输出电压;其特征在于,所述方法还包括:在检测到所述ID引脚为低电平时,控制串联在所述电压输出端和CC逻辑芯片的VBUS检测引脚之间的开关导通;否则,控制所述开关断开。5.根据权利要求4所述的方法,其特征在于...
【专利技术属性】
技术研发人员:尹荣贻,
申请(专利权)人:青岛海信移动通信技术股份有限公司,
类型:发明
国别省市:山东,37
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。