The utility model relates to a circuit for switching USB interface to complete charging and OTG functions at the same time, including a switching chip, which is connected with a processor on the device. The switching chip is also connected with a first interface and a second interface. The first interface is also connected with a charging chip on the device, the second interface is connected with an OTG circuit, and the OTG circuit is connected with a processor at the S end of the switching chip. One resistor, the other end of the first resistor is connected with the negative pole of the power supply, and the D+end, D_end and S end of the switching chip are connected with the processor; if the first and second interfaces are inserted into the external devices at the same time, if the first interface is a communication device, then the communication signal remains in the first interface to communicate directly with the processor of the device, when the first interface is inserted into the charging device and the second interface is inserted into the communication device. When the circuit can work normally, it has the advantages of small size, simple structure, wide applicability and low cost.
【技术实现步骤摘要】
一种USB接口切换同时完成充电和OTG功能的电路
本技术涉及OTG电路
,更具体地说,涉及一种USB接口切换同时完成充电和OTG功能的电路。
技术介绍
科技不断的发展,手机,平板等移动终端也日新月异,家家户户基本有手机、平板这类电子产品,同时产品的接口数量需求也越来越高,目前手机、平板产品大多为1个MicroUSB接口,但是实际使用过程中因为鼠标、U盘等外设需要连接产品只能使用OTG线材作为转换器件,但是此时无法充电,电池电量较低时比较尴尬,与此同时产品的轻薄化与用户的接口数量要求矛盾,同时芯片本身的信号引脚也随着芯片产品的面积和体积缩小无法增加,普通用户一般也不会备有OTG转接线等器件,因此使用原有数量引脚完成多个接口的功能来满足用户需求是一种可行的方法。
技术实现思路
本技术要解决的技术问题在于,针对现有技术的上述缺陷,提供一种体积小,结构简单,适用性广泛,成本低的USB接口切换同时完成充电和OTG功能的电路。本技术解决其技术问题所采用的技术方案是:构造一种USB接口切换同时完成充电和OTG功能的电路,包括切换芯片;其中,所述切换芯片与设备上的处理器连接,所述切换芯片还连接有第一接口和第二接口,所述第一接口还与设备上的充电芯片连接,所述第二接口连接有OTG电路,所述OTG电路与所述处理器连接;所述切换芯片的S端连接有第一电阻,所述第一电阻的另一端连接电源负极,所述切换芯片的D+端、D-端、S端均与所述处理器连接。本技术所述的USB接口切换同时完成充电和OTG功能的电路,其中,所述第一接口的USB1_DP端连接所述切换芯片的HSD1+端;所述第一接口的US ...
【技术保护点】
1.一种USB接口切换同时完成充电和OTG功能的电路,包括切换芯片;其特征在于,所述切换芯片与设备上的处理器连接,所述切换芯片还连接有第一接口和第二接口,所述第一接口还与设备上的充电芯片连接,所述第二接口连接有OTG电路,所述OTG电路与所述处理器连接;所述切换芯片的S端连接有第一电阻,所述第一电阻的另一端连接电源负极,所述切换芯片的D+端、D‑端、S端均与所述处理器连接。
【技术特征摘要】
1.一种USB接口切换同时完成充电和OTG功能的电路,包括切换芯片;其特征在于,所述切换芯片与设备上的处理器连接,所述切换芯片还连接有第一接口和第二接口,所述第一接口还与设备上的充电芯片连接,所述第二接口连接有OTG电路,所述OTG电路与所述处理器连接;所述切换芯片的S端连接有第一电阻,所述第一电阻的另一端连接电源负极,所述切换芯片的D+端、D-端、S端均与所述处理器连接。2.根据权利要求1所述的USB接口切换同时完成充电和OTG功能的电路,其特征在于,所述第一接口的USB1_DP...
【专利技术属性】
技术研发人员:左凯,
申请(专利权)人:惠州市米琦通信设备有限公司,
类型:新型
国别省市:广东,44
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。