发明名称 USB KEY AND A METHOD FOR COMMUNICATION BETWEEN THE USB KEY AND A TERMINAL
摘要 A USB Key and a method for communication between the USB Key and a terminal are provided, of which the USB Key includes an interface module, a power module and an MCU module. The MCU module is configured to make initialization setting after power on, check for power level status of each mode pin in the MCU module, and in case of the power level status conforms to a first predetermined condition, set the pin for serial interface communication in the MCU module to a high impedance state, configure a USB function, receive a request for enumerating the device being initiated by a terminal connecting to the interface module, and after enumeration, perform USB communication with the terminal; and in case that the power level status conforms to a second predetermined condition, set a pin for performing USB communication in the MCU module to high impedance state, set the serial interface function, initiate a request for enumerating the device to the terminal connecting to the interface module, and after enumeration, perform a serial-interface communication with the terminal. The USB Key in the invention is able to be compatible with a USB interface and a serial interface.
申请公布号 US2014201395(A1) 申请公布日期 2014.07.17
申请号 US201213824443 申请日期 2012.09.25
申请人 Feitian Technologies Co.,Ltd 发明人 Lu Zhou;Yu Huazhang
分类号 G06F21/44;G06F13/10;G06F1/26 主分类号 G06F21/44
代理机构 代理人
主权项 1. A universal serial bus line USB Key, wherein said USB key comprises an interface module, a power module and a micro control unit (MCU) module, wherein the interface module is configured to connect with a terminal; the power module is configured to supply power to the MCU module in case that the interface module is connected with the terminal; and the MCU module is configured to perform initialization setting after power on, and detect power level status of a mode pin inside the MCU module, in case that the power level status conforms to a first predetermined condition, set a pin for serial interface communication in the MCU module to a high impedance state, configure a USB function, receive a request for enumerating a device being sent from the terminal connecting to the interface module, and perform USB communication with the terminal after enumeration; in case that the power level status conforms to a second predetermined condition, set a pin for USB communication in the MCU module to a high impedance state, configure a serial interface function, send a request for enumerating a device to the terminal connecting to the interface module, and perform a serial interface communication with the terminal after enumeration, in which the mode pin is configured to indicate a communication mode between the USB Key and the terminal by the power level status of the mode pin itself.
地址 Beijing CN