WO2019071485A1 - Detection system for hardware module - Google Patents

Detection system for hardware module Download PDF

Info

Publication number
WO2019071485A1
WO2019071485A1 PCT/CN2017/105756 CN2017105756W WO2019071485A1 WO 2019071485 A1 WO2019071485 A1 WO 2019071485A1 CN 2017105756 W CN2017105756 W CN 2017105756W WO 2019071485 A1 WO2019071485 A1 WO 2019071485A1
Authority
WO
WIPO (PCT)
Prior art keywords
pull
module
hardware
gpio
input module
Prior art date
Application number
PCT/CN2017/105756
Other languages
French (fr)
Chinese (zh)
Inventor
朱勇
Original Assignee
深圳传音通讯有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳传音通讯有限公司 filed Critical 深圳传音通讯有限公司
Priority to PCT/CN2017/105756 priority Critical patent/WO2019071485A1/en
Publication of WO2019071485A1 publication Critical patent/WO2019071485A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere

Definitions

  • the present invention relates to the field of electronic device detection, and more particularly to a detection system for a hardware module.
  • an object of the present invention is to provide a detection system for a hardware module, which can realize rapid detection and differentiation for products of different vendors.
  • the invention discloses a detection system for a hardware module, the detection system comprises: an interconnected GPIO module and a hardware module, the GPIO module comprises: a pull-up input module, a pull-down input module and a GPIO port, wherein ,
  • the pull-up input module and the pull-down input module are connected to the GPIO port to control the pull-up enable or pull-down enable of the GPIO port;
  • the hardware module includes an input/output interface connected to the GPIO port and a detection interface component disposed in the hardware module, where the detection interface component includes:
  • the hardware IO end, the breaking end, and the ground end are respectively connected to the input/output interface, and feedback a high level or a low level to the pull-up input module or the pull-down input module to detect the configuration of the hardware module.
  • the pull-up input module comprises:
  • a pull-up resistor and a first switch connected to the pull-up resistor, and the pull-up resistor and the first switch are connected between the first end and the power source positive VDD;
  • the pull-down input module includes:
  • the hardware IO end is a Vendor_ID pin of the hardware module.
  • the detecting interface component further includes:
  • the single-pole three-throw switch is disposed in the hardware module, and includes a switch piece, a static contact, and a first movable contact, a second movable contact, and a third movable contact;
  • One end of the switch piece is pivotally connected to the static contact, and the other end is switched in contact between the first movable contact, the second movable contact and the third movable contact;
  • the static contact is connected to the Vendor_ID foot
  • the first movable contact is connected to the hardware IO end
  • the second movable contact is connected to the disconnecting end
  • the third movable contact is connected to the ground.
  • the GPIO module when the switch piece is in contact with the first movable contact, the GPIO module is in a first state, wherein the pull-up input module is at a high level, and the pull-down input module is at a high level ;
  • the GPIO module When the switch piece is in contact with the second movable contact, the GPIO module is in a second state, wherein the pull-up input module is at a low level, and the pull-down input module is at a low level;
  • the GPIO module When the switch piece is in contact with the third movable contact, the GPIO module is in a third state, wherein the pull-up input module is at a high level, and the pull-down input module is at a low level.
  • the Vendor_ID pin outputs the number 1;
  • the Vendor_ID pin When the GPIO module is in the second state, the Vendor_ID pin outputs the number 0;
  • the Vendor_ID pin When the GPIO module is in the third state, the Vendor_ID pin outputs the number 2.
  • the hardware module is an LCD display module.
  • the GPIO module is a BBIC chip.
  • FIG. 1 is a schematic structural diagram of a detection system for a hardware module in accordance with a preferred embodiment of the present invention
  • FIG. 2 is a schematic diagram showing the circuit structure of a pull-up input module and a pull-down input module in accordance with a preferred embodiment of the present invention.
  • first, second, third, etc. may be used in the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other.
  • first information may also be referred to as second information without departing from the scope of the present disclosure.
  • second information may also be referred to as first information.
  • word "if” as used herein may be interpreted as "when” or "when” or "in response to determination.”
  • module means, “component” or “unit” used to represent components are only used. For the explanation of the present invention, it does not have a specific meaning per se. Therefore, “module” and “component” can be used in combination.
  • FIG. 1 is a schematic structural diagram of a detection system for a hardware module according to a preferred embodiment of the present invention.
  • the hardware module is detected, and a GPIO module is connected thereto, and the GPIO module is changed to increase the height of the pair.
  • the pull-up input module and the pull-down input module are respectively disposed in the GPIO module and are connected in parallel with the GPIO port, thereby realizing control of the pull-up enable and pull-down enable of the GPIO port, thereby controlling the GPIO module to be pulled up and enabled.
  • the difference between the hardware modules can be identified through a combination of various high-low state states.
  • the input and output interfaces connected to the GPIO port and the detection interface component disposed in the hardware module extend from the hardware module and extend toward the GPIO module until connected to The GPIO port, the input/output interface receives the detection signal sent from the GPIO port for the hardware module detection, and then forwards it to the detection interface component.
  • the detection interface component includes: a hardware IO end, which is connected with a chip in the hardware module to obtain a signal and a wiring relationship of the chip in the hardware module; the disconnection end is suspended at one end and is in an open state, and is disposed in the hardware module.
  • the hardware IO terminal, the disconnecting terminal and the grounding terminal are respectively connected with the input/output interface.
  • the hardware IO terminal, the disconnecting terminal and the grounding terminal respectively feed back the high voltage.
  • the circuit component in the pull-up input module comprises: a first end connected to the GPIO port; a positive power supply VDD; a pull-up resistor and a first switch connected to the pull-up resistor, and The pull-up resistor is connected to the first switch and the power supply positive VDD, and the resistor component in the pull-down input module comprises: a second end connected to the GPIO port and simultaneously connected to the first end; the power supply negative VSS; A pull-down resistor and a second switch connected to the pull-down resistor, and the pull-down resistor and the second switch are connected between the second end and the power supply negative VSS.
  • the pull-up resistor and the pull-down resistor For the configuration and function of the pull-up resistor and the pull-down resistor, it includes:
  • Pull-up is to clamp the indeterminate signal through a resistor at a high level, and the resistor acts as a current-limiter at the same time.
  • the pull-up is to inject current into the device and the pull-down is the output current.
  • Weak strength is only the resistance of the pull-up resistor is different, no What is strictly distinguished.
  • the function of pull-up resistors is mainly to output current channels for open-collector output circuits.
  • the pull resistor when the single button is used for triggering, if the IC itself does not have an internal resistor, in order to maintain the single button in the untriggered state or return to the original state after the trigger, it must be connected to the outside of the IC. resistance.
  • Digital circuits have three states: high, low, and high-impedance. Some applications do not want high-impedance. They can be stabilized by pull-up or pull-down resistors, depending on design requirements. .
  • I/O ports some can be set, some can not be set, some are built-in, some need to be external, the output of I/O port is similar to C of a triode, when C is connected through a resistor and power supply
  • the resistor becomes the upper C-pull resistor, that is, if the port is high when it is normal, and C is connected to the ground through a resistor, the resistor is called a pull-down resistor, so that the port is normally Low level, for example, when a port with a pull-up resistor is set to the input state, the normal state is high, which is used to detect the input of the low level.
  • Pull-up resistors are used to provide current when the bus drive capability is insufficient. The general term is to draw current, and the pull-down resistor is used to sink current.
  • the pull-down resistor is resistance matching, which effectively suppresses reflected wave interference.
  • Resistor series is a good way to achieve impedance matching.
  • the magnitude of the line resistance is in the order of tens of ohms. If the pull-down is added, the power consumption is too large.
  • the TTL circuit drives the COMS circuit, if the high level of the TTL circuit output is lower than the lowest level of the COMS circuit (typically 3.5V), then the pull-up resistor needs to be connected to the output of the TTL to increase the output. The value of the level. For high speed circuits, excessive pull-up resistors may flatten the edges. The drive requirements of the lower level circuit. Similarly, for the above pull-up resistor, when the output is high, the switch is turned off, and the pull-up resistor should be properly selected to provide sufficient current to the lower stage circuit.
  • the output stage of the CMOS circuit is basically push-pull.
  • the ground level is output, the lower MOSFET turns off and the upper side turns on. The high level is reversed.
  • the TTL circuit drives the COMS circuit, if the high level of the TTL circuit output is lower than the lowest level of the COMS circuit (generally 3.5V), then the pull-up resistor needs to be connected at the output end of the TTL to improve Output a high value.
  • the OC gate circuit must be equipped with a pull-up resistor before it can be used.
  • the pull-up resistor is connected to reduce the input impedance and provide a discharge path.
  • the pin of the chip is added with a pull-up resistor to increase the output level, thereby improving the noise margin of the input signal of the chip and enhancing the anti-interference ability.
  • the resistance mismatch in long-line transmission is easy to cause reflected wave interference
  • the pull-down resistor is resistance matching, which effectively suppresses reflected wave interference.
  • the selection criteria for the value of the pull-up resistor include:
  • the selection of the pull-up resistor and the pull-down resistor should be set in combination with the characteristics of the switching transistor and the input characteristics of the lower-level circuit. The following factors should be considered:
  • the above pull-up resistor, the capacitance between the pull-up resistor and the drain-source of the switch and the input capacitance between the lower-level circuits form an RC delay.
  • the pull-up resistor should be set to account for the needs of the circuit in this regard.
  • the principle of setting the pull-down resistor is the same as the pull-up resistor.
  • the pull-up current is provided by a pull-up resistor.
  • the input terminal is not more than 100uA per port, and the output current of the output port is about 500uA.
  • the standard operating voltage is 5V.
  • the high and low thresholds are 0.8V (below this value is low); 2V (high threshold).
  • 200uA x15K 3V, that is, the pull-up resistor has a voltage drop of 3V, and the output port can reach 2V.
  • This resistance is the maximum resistance value, and it will not be able to pull 2V. Choose 10K available.
  • the leakage current of the tube can not be neglected during design.
  • the actual current of the IO port is different at different levels. The above is only the principle. In one sentence, it is summarized as follows: when the output is high, the input port should be fed, and the output should not be low. The output port feeds, otherwise the excess current is fed to the cascaded input port, which is unreliable above the low level threshold.
  • Input pins that are not used in digital circuits must be connected to a fixed level and connected to a high level or ground through a 1k resistor.
  • the function of the pull-up resistor includes: the resistor is to prevent the input terminal from floating, to reduce the interference of the external current on the chip, to protect the protection diode in the CMOS, the current is not more than 10mA, pull-up and pull-down, current limit, change level The potential, the determined state when the pin is floating, the drive capability when the high level output is increased, and the OC gate provides the current.
  • the hardware IO end is the Vendor_ID pin of the hardware module.
  • the Vendor_ID pin is the manufacturer code manufacturer ID identifier, and the supplier can extract the identification pin from its own hardware module for detection by the GPIO module.
  • the detection interface component further comprises: a single-pole three-throw switch, disposed in the hardware module, comprising a switch piece, a static contact and the first movable contact, the second movable contact, the third movable contact; one end of the switch piece The static contact is pivotally connected, and the other end is switched between the first movable contact, the second movable contact and the third movable contact; and for the configuration of each contact, the static contact is connected with the Vendor_ID leg; The first moving contact is connected to the hardware IO end; the second moving contact is connected to the breaking end; and the third moving contact is connected to the ground end.
  • a single-pole three-throw switch disposed in the hardware module, comprising a switch piece, a static contact and the first movable contact, the second movable contact, the third movable contact; one end of the switch piece The static contact is pivotally connected, and the other end is switched between the first movable contact, the second movable contact and the third movable contact; and for
  • the switch piece rotates on the contact of the static contact with the static contact as the axis, and the other end is in the first movable contact, the second movable contact, and the third movable contact, and the first movement After the contact, the second movable contact and the third movable contact are in contact, the internal chip of the hardware module can be connected.
  • the GPIO module When the switch piece is in contact with the first movable contact, the GPIO module is in the first state, wherein the pull-up input module is at a low level, and the pull-down input module is at a low level;
  • the GPIO module When the switch piece is in contact with the second movable contact, the GPIO module is in the second state, wherein the pull-up input module is at a high level, and the pull-down input module is at a high level;
  • the GPIO module When the switch piece is in contact with the third moving contact, the GPIO module is in the third state, wherein the pull-up input module is at a high level, and the pull-down input module is at a low level.
  • the Vendor_ID pin when the GPIO module is in the first state, the Vendor_ID pin outputs the number 1; when the GPIO module is in the second state, the Vendor_ID pin outputs the number 0; when the GPIO module is in the third state, the Vendor_ID pin outputs the number 2. Differentiate the devices provided by different vendors by different output numbers.
  • the hardware module is an LCD display module
  • the GPIO module is a BBIC chip.
  • the mobile terminal can be implemented in various forms.
  • the terminal described in the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a PDA (Personal Digital Assistant), a PAD (Tablet), a PMP (Portable Multimedia Player), a navigation device, and the like, and such as Fixed terminal for digital TV, desktop computer, etc.
  • a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a PDA (Personal Digital Assistant), a PAD (Tablet), a PMP (Portable Multimedia Player), a navigation device, and the like
  • the terminal is a mobile terminal.
  • those skilled in the art will appreciate that configurations in accordance with embodiments of the present invention can be applied to fixed type terminals in addition to components that are specifically for mobile purposes.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Semiconductor Integrated Circuits (AREA)

Abstract

Provided is a detection system for a hardware module. The detection system comprises: a GPIO module and hardware modules. The GPIO module comprises: a pull-up input module, a pull-down input module and a GPIO port, wherein the pull-up input module, the pull-down input module and the GPIO port are connected in parallel, so as to control the enabling of pulling up and pulling down of GPIO. The hardware module comprises an input/output interface connected to the GPIO port and a detection interface component arranged in the hardware module, and the detection interface component comprises: a hardware IO end, which is connected to a chip in the hardware module; a open circuit end, which is suspended in the hardware module; and a grounding terminal, which is connected to the ground. The hardware IO end, the open circuit end and the ground terminal are respectively connected with the input/output interface, and the high level or low level is fed back to the pull-up input module or the pull-down input module to detect the configuration of the hardware module. With the above technical solutions, rapid detection and differentiation can be achieved for products from multiple different vendors.

Description

一种用于硬件模组的检测系统Detection system for hardware module 技术领域Technical field
本发明涉及电子设备检测领域,尤其涉及一种用于硬件模组的检测系统。The present invention relates to the field of electronic device detection, and more particularly to a detection system for a hardware module.
背景技术Background technique
目前,智能终端的发展越来越快,在人民群众中的普及率也越发提高。在对智能终端制造时,如显示屏、电池等配件为了供货的安全一般都有两到三家供应商。由于各家物料存在参数上的差异,所以软件上需要兼容各家的物料。通常为在软件上实现兼容,通常的方案就是给每一家供应商的物料一个标识ID号,通过标识ID号来区分对应的软件。而在硬件层面上,实现标识ID号的方案基本上有两种:其一为常规的ADC检测,其二为通用的GPIO检测。由于GPIO只能检测两种电平,即高电平和低电平,导致使用上有一定的局限性。一旦供货厂商增加,将无法区别供货厂商。At present, the development of intelligent terminals is getting faster and faster, and the penetration rate among the people is also increasing. In the manufacture of smart terminals, such as display screens, batteries and other accessories generally have two or three suppliers for the security of supply. Due to the difference in parameters of each material, the software needs to be compatible with each material. Usually it is compatible in software. The usual solution is to give each supplier's material an identification ID number and identify the corresponding software by identifying the ID number. At the hardware level, there are basically two ways to implement the ID number: one is the conventional ADC detection, and the other is the general GPIO detection. Since GPIO can only detect two levels, high level and low level, there are certain limitations in use. Once the supplier increases, it will not be able to distinguish the supplier.
因此,需要一种新型的对于硬件模组标识的检测系统及检测方法,可满足对多个硬件供应商不同供货产品的区分。Therefore, there is a need for a new type of detection system and detection method for hardware module identification, which can meet the distinction between different supply products of multiple hardware suppliers.
发明内容Summary of the invention
为了克服上述技术缺陷,本发明的目的在于提供一种用于硬件模组的检测系统,对于不同供应商的产品,可实现快速检测和区分。In order to overcome the above technical deficiencies, an object of the present invention is to provide a detection system for a hardware module, which can realize rapid detection and differentiation for products of different vendors.
本发明公开了一种用于硬件模组的检测系统,所述检测系统包括:互相连接的GPIO模块及硬件模组,所述GPIO模块包括:上拉输入模块、下拉输入模块及GPIO口,其中,The invention discloses a detection system for a hardware module, the detection system comprises: an interconnected GPIO module and a hardware module, the GPIO module comprises: a pull-up input module, a pull-down input module and a GPIO port, wherein ,
所述上拉输入模块、下拉输入模块与所述GPIO口并接,控制所述GPIO口上拉使能或下拉使能;The pull-up input module and the pull-down input module are connected to the GPIO port to control the pull-up enable or pull-down enable of the GPIO port;
所述硬件模组包括与所述GPIO口连接的输入输出接口及设于所述硬件模组内的检测接口组件,所述检测接口组件包括:The hardware module includes an input/output interface connected to the GPIO port and a detection interface component disposed in the hardware module, where the detection interface component includes:
硬件IO端,与所述硬件模组内的芯片连接;a hardware IO end connected to the chip in the hardware module;
断路端,悬空于所述硬件模组内;a disconnecting end, suspended in the hardware module;
接地端,与地连接;Ground terminal, connected to the ground;
所述硬件IO端、断路端、接地端分别与所述输入输出接口连接,反馈高电平或低电平至所述上拉输入模块或下拉输入模块,以检测所述硬件模组的配置。The hardware IO end, the breaking end, and the ground end are respectively connected to the input/output interface, and feedback a high level or a low level to the pull-up input module or the pull-down input module to detect the configuration of the hardware module.
优选地,所述上拉输入模块包括: Preferably, the pull-up input module comprises:
第一端,与所述GPIO口连接;a first end, connected to the GPIO port;
电源正极VDD;Power supply positive VDD;
上拉电阻及与所述上拉电阻连接的第一开关,且所述上拉电阻与第一开关连接于所述第一端及电源正极VDD间;a pull-up resistor and a first switch connected to the pull-up resistor, and the pull-up resistor and the first switch are connected between the first end and the power source positive VDD;
所述下拉输入模块包括:The pull-down input module includes:
第二端,与所述GPIO口连接,且同时与所述第一端连接;a second end connected to the GPIO port and simultaneously connected to the first end;
电源负极VSS;Power supply negative VSS;
下拉电阻及与所述下拉电阻连接的第二开关,且所述下拉电阻与第二开关连接于所述第二端及电源负极VSS间。And a second switch connected to the pull-down resistor, and the pull-down resistor and the second switch are connected between the second end and the power source negative VSS.
优选地,所述硬件IO端为所述硬件模组的Vendor_ID脚。Preferably, the hardware IO end is a Vendor_ID pin of the hardware module.
优选地,所述检测接口组件还包括:Preferably, the detecting interface component further includes:
单刀三掷开关,设于所述硬件模组内,包括开关片、静触点及第一动触点、第二动触点、第三动触点;The single-pole three-throw switch is disposed in the hardware module, and includes a switch piece, a static contact, and a first movable contact, a second movable contact, and a third movable contact;
所述开关片的一端与所述静触点枢轴连接,另一端于所述第一动触点、第二动触点、第三动触点间切换接触导通;One end of the switch piece is pivotally connected to the static contact, and the other end is switched in contact between the first movable contact, the second movable contact and the third movable contact;
所述静触点与所述Vendor_ID脚连接;The static contact is connected to the Vendor_ID foot;
所述第一动触点与所述硬件IO端连接;The first movable contact is connected to the hardware IO end;
所述第二动触点与所述断路端连接;The second movable contact is connected to the disconnecting end;
所述第三动触点与所述接地端连接。The third movable contact is connected to the ground.
优选地,所述开关片与所述第一动触点接触导通时,所述GPIO模块处于第一状态,其中所述上拉输入模块呈高电平,所述下拉输入模块呈高电平;Preferably, when the switch piece is in contact with the first movable contact, the GPIO module is in a first state, wherein the pull-up input module is at a high level, and the pull-down input module is at a high level ;
所述开关片与所述第二动触点接触导通时,所述GPIO模块处于第二状态,其中所述上拉输入模块呈低电平,所述下拉输入模块呈低电平;When the switch piece is in contact with the second movable contact, the GPIO module is in a second state, wherein the pull-up input module is at a low level, and the pull-down input module is at a low level;
所述开关片与所述第三动触点接触导通时,所述GPIO模块处于第三状态,其中所述上拉输入模块呈高电平,所述下拉输入模块呈低电平。When the switch piece is in contact with the third movable contact, the GPIO module is in a third state, wherein the pull-up input module is at a high level, and the pull-down input module is at a low level.
优选地,所述GPIO模块处于第一状态时,所述Vendor_ID脚输出编号1;Preferably, when the GPIO module is in the first state, the Vendor_ID pin outputs the number 1;
所述GPIO模块处于第二状态时,所述Vendor_ID脚输出编号0;When the GPIO module is in the second state, the Vendor_ID pin outputs the number 0;
所述GPIO模块处于第三状态时,所述Vendor_ID脚输出编号2。When the GPIO module is in the third state, the Vendor_ID pin outputs the number 2.
优选地,所述硬件模组为LCD显示模组。Preferably, the hardware module is an LCD display module.
优选地,所述GPIO模块为BBIC芯片。Preferably, the GPIO module is a BBIC chip.
采用了上述技术方案后,与现有技术相比,具有以下有益效果: After adopting the above technical solution, compared with the prior art, the following beneficial effects are obtained:
1.不同厂商在制造硬件时,无额外新增的配置,节省供货商处的流程;1. When different manufacturers make hardware, there is no additional configuration, saving the process at the supplier;
2.为GPIO口新增多种硬件标识的检测,适用程度更广。2. Add a variety of hardware identification tests for the GPIO port, which is more applicable.
附图说明DRAWINGS
图1为符合本发明一优选实施例中用于硬件模组的检测系统的结构示意图;1 is a schematic structural diagram of a detection system for a hardware module in accordance with a preferred embodiment of the present invention;
图2为符合本发明一优选实施例中上拉输入模块及下拉输入模块的电路结构示意图。2 is a schematic diagram showing the circuit structure of a pull-up input module and a pull-down input module in accordance with a preferred embodiment of the present invention.
具体实施方式Detailed ways
以下结合附图与具体实施例进一步阐述本发明的优点。Advantages of the present invention are further explained below in conjunction with the accompanying drawings and specific embodiments.
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. The following description refers to the same or similar elements in the different figures unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with aspects of the present disclosure as detailed in the appended claims.
在本公开使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本公开。在本公开和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terms used in the present disclosure are for the purpose of describing particular embodiments only, and are not intended to limit the disclosure. The singular forms "a", "the" and "the" It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
应当理解,尽管在本公开可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本公开范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。It should be understood that although the terms first, second, third, etc. may be used in the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, the first information may also be referred to as second information without departing from the scope of the present disclosure. Similarly, the second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when" or "when" or "in response to determination."
在本发明的描述中,需要理解的是,术语“纵向”、“横向”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。In the description of the present invention, it is to be understood that the terms "longitudinal", "transverse", "upper", "lower", "front", "rear", "left", "right", "vertical", The orientation or positional relationship of the indications of "horizontal", "top", "bottom", "inside", "outside", etc. is based on the orientation or positional relationship shown in the drawings, only for the convenience of describing the present invention and simplifying the description, rather than It is to be understood that the device or elements referred to have a particular orientation, are constructed and operated in a particular orientation and are therefore not to be construed as limiting.
在本发明的描述中,除非另有规定和限定,需要说明的是,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是机械连接或电连接,也可以是两个元件内部的连通,可以是直接相连,也可以通过中间媒介间接相连,对于本领域的普通技术人员而言,可以根据具体情况理解上述术语的具体含义。In the description of the present invention, unless otherwise specified and limited, it should be noted that the terms "mounted", "connected", and "connected" are to be understood broadly, and may be, for example, mechanical or electrical, or both. The internal communication of the components may be directly connected or indirectly connected through an intermediate medium. For those skilled in the art, the specific meanings of the above terms may be understood according to specific circumstances.
在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有 利于本发明的说明,其本身并没有特定的意义。因此,“模块”与“部件”可以混合地使用。In the following description, the suffixes such as "module", "component" or "unit" used to represent components are only used. For the explanation of the present invention, it does not have a specific meaning per se. Therefore, "module" and "component" can be used in combination.
参阅图1,为符合本发明一优选实施例中用于硬件模组的检测系统的结构示意图,为对硬件模组进行检测,与其连接有一GPIO模块,在改GPIO模块内,为增加其对高低电平的检测稳定性,以及在原有高低电平的基础上再增加一例如高阻状态的检测方案,在该GPIO模块内,包括了有上拉输入模块、下拉输入模块及GPIO口。上拉输入模块、下拉输入模块分别设置在GPIO模块内,并与GPIO口并接,从而可实现对GPIO口上拉使能和下拉使能的控制,进而将GPIO模块控制为上拉使能和下拉使能下的高电平状态、低电平状态,则通过多种高低电平状态的组合,便可识别出硬件模组的区别。而在硬件模组侧,其包括了与GPIO口连接的输入输出接口及设于硬件模组内的检测接口组件,该输入输出接口从硬件模组处延伸而出,向着GPIO模块延伸直至连接至GPIO口,该输入输出接口将接收从GPIO口发出的对于硬件模组检测的检测信号,后转发至检测接口组件。因此,检测接口组件包括了:硬件IO端,与硬件模组内的芯片连接,获取该硬件模组内芯片的信号及接线关系;断路端,一端悬空,呈断路状态,设置于硬件模组内;接地端,与地连接。上述硬件IO端、断路端、接地端分别与输入输出接口连接,当GPIO模块通过上拉输入模块和下拉输入模块上拉下拉使能时,硬件IO端、断路端、接地端将各自反馈高电平或低电平至上拉输入模块和下拉输入模块。可以理解的是,由于GPIO处于上拉或下拉的状态不同,可分别接收到:1 is a schematic structural diagram of a detection system for a hardware module according to a preferred embodiment of the present invention. The hardware module is detected, and a GPIO module is connected thereto, and the GPIO module is changed to increase the height of the pair. Level detection stability, and a high-impedance detection scheme based on the original high-low level, including the pull-up input module, the pull-down input module, and the GPIO port in the GPIO module. The pull-up input module and the pull-down input module are respectively disposed in the GPIO module and are connected in parallel with the GPIO port, thereby realizing control of the pull-up enable and pull-down enable of the GPIO port, thereby controlling the GPIO module to be pulled up and enabled. When the high-level state and the low-level state are enabled, the difference between the hardware modules can be identified through a combination of various high-low state states. On the hardware module side, the input and output interfaces connected to the GPIO port and the detection interface component disposed in the hardware module extend from the hardware module and extend toward the GPIO module until connected to The GPIO port, the input/output interface receives the detection signal sent from the GPIO port for the hardware module detection, and then forwards it to the detection interface component. Therefore, the detection interface component includes: a hardware IO end, which is connected with a chip in the hardware module to obtain a signal and a wiring relationship of the chip in the hardware module; the disconnection end is suspended at one end and is in an open state, and is disposed in the hardware module. ; ground terminal, connected to the ground. The hardware IO terminal, the disconnecting terminal and the grounding terminal are respectively connected with the input/output interface. When the GPIO module is pulled up and pulled through the pull-up input module and the pull-down input module, the hardware IO terminal, the disconnecting terminal and the grounding terminal respectively feed back the high voltage. Flat or low to pull up input module and pull down input module. It can be understood that since the GPIO is in a state of being pulled up or pulled down, it can be separately received:
①上拉为高、下拉为高;1 pull-up is high and pull-down is high;
②上拉为低、下拉为低;2 pull-up is low, pull-down is low;
③上拉为高、下拉为低;3 pull-up is high and pull-down is low;
④上拉为低、下拉为高;4 pull-up is low, pull-down is high;
这四种反馈信息,从而可获知当前硬件组件的标识为何,进而区别不同产品供货商给出的产品。These four kinds of feedback information can be used to know the identification of the current hardware components, and thus distinguish the products given by different product suppliers.
参阅图2,在一优选实施例中,上拉输入模块内的电路组成包括了:第一端,与GPIO口连接;电源正极VDD;上拉电阻及与上拉电阻连接的第一开关,且上拉电阻与第一开关连接于第一端及电源正极VDD间,而下拉输入模块内的电阻组成包括了:第二端,与GPIO口连接,且同时与第一端连接;电源负极VSS;下拉电阻及与下拉电阻连接的第二开关,且下拉电阻与第二开关连接于第二端及电源负极VSS间。Referring to FIG. 2, in a preferred embodiment, the circuit component in the pull-up input module comprises: a first end connected to the GPIO port; a positive power supply VDD; a pull-up resistor and a first switch connected to the pull-up resistor, and The pull-up resistor is connected to the first switch and the power supply positive VDD, and the resistor component in the pull-down input module comprises: a second end connected to the GPIO port and simultaneously connected to the first end; the power supply negative VSS; A pull-down resistor and a second switch connected to the pull-down resistor, and the pull-down resistor and the second switch are connected between the second end and the power supply negative VSS.
对于上拉电阻及下拉电阻的配置及作用,包括了:For the configuration and function of the pull-up resistor and the pull-down resistor, it includes:
上拉就是将不确定的信号通过一个电阻嵌位在高电平,电阻同时起限流作用,下拉同理。上拉是对器件注入电流,下拉是输出电流。弱强只是上拉电阻的阻值不同,没有 什么严格区分。对于非集电极(或漏极)开路输出型电路(如普通门电路)提升电流和电压的能力是有限的,上拉电阻的功能主要是为集电极开路输出型电路输出电流通道。Pull-up is to clamp the indeterminate signal through a resistor at a high level, and the resistor acts as a current-limiter at the same time. The pull-up is to inject current into the device and the pull-down is the output current. Weak strength is only the resistance of the pull-up resistor is different, no What is strictly distinguished. For non-collector (or drain) open-circuit output circuits (such as ordinary gate circuits), the ability to boost current and voltage is limited. The function of pull-up resistors is mainly to output current channels for open-collector output circuits.
至于为什么要使用拉电阻,一般作单键触发使用时,如果IC本身没有内接电阻,为了使单键维持在不被触发的状态或是触发后回到原状态,必须在IC外部另接一电阻。数字电路有三种状态:高电平、低电平、和高阻状态,有些应用场合不希望出现高阻状态,可以通过上拉电阻或下拉电阻的方式使处于稳定状态,具体视设计要求而定。一般说的是I/O端口,有的可以设置,有的不可以设置,有的是内置,有的是需要外接,I/O端口的输出类似与一个三极管的C,当C接通过一个电阻和电源连接在一起的时候,该电阻成为上C拉电阻,也就是说,如果该端口正常时为高电平,C通过一个电阻和地连接在一起的时候,该电阻称为下拉电阻,使该端口平时为低电平,比如:当一个接有上拉电阻的端口设为输如状态时,常态就为高电平,用于检测低电平的输入。上拉电阻是用来解决总线驱动能力不足时提供电流的。一般说法是拉电流,下拉电阻是用来吸收电流的。As for why the pull resistor is used, when the single button is used for triggering, if the IC itself does not have an internal resistor, in order to maintain the single button in the untriggered state or return to the original state after the trigger, it must be connected to the outside of the IC. resistance. Digital circuits have three states: high, low, and high-impedance. Some applications do not want high-impedance. They can be stabilized by pull-up or pull-down resistors, depending on design requirements. . Generally speaking, I/O ports, some can be set, some can not be set, some are built-in, some need to be external, the output of I/O port is similar to C of a triode, when C is connected through a resistor and power supply When together, the resistor becomes the upper C-pull resistor, that is, if the port is high when it is normal, and C is connected to the ground through a resistor, the resistor is called a pull-down resistor, so that the port is normally Low level, for example, when a port with a pull-up resistor is set to the input state, the normal state is high, which is used to detect the input of the low level. Pull-up resistors are used to provide current when the bus drive capability is insufficient. The general term is to draw current, and the pull-down resistor is used to sink current.
此外,长线传输中电阻不匹配容易引起反射波干扰,加上下拉电阻是电阻匹配,有效的抑制反射波干扰。电阻串联才是实现阻抗匹配的好方法。通常线阻的数量级都在几十ohm,如果加上下拉的话,功耗太大。当TTL电路驱动COMS电路时,如果TTL电路输出的高电平低于COMS电路的最低高电平(一般为3.5V),这时就需要在TTL的输出端接上拉电阻,以提高输出高电平的值。对于高速电路,过大的上拉电阻可能边沿变平缓。下级电路的驱动需求。同样以上拉电阻为例,当输出高电平时,开关管断开,上拉电阻应适当选择以能够向下级电路提供足够的电流。In addition, the resistance mismatch in long-line transmission is likely to cause reflected wave interference, and the pull-down resistor is resistance matching, which effectively suppresses reflected wave interference. Resistor series is a good way to achieve impedance matching. Usually the magnitude of the line resistance is in the order of tens of ohms. If the pull-down is added, the power consumption is too large. When the TTL circuit drives the COMS circuit, if the high level of the TTL circuit output is lower than the lowest level of the COMS circuit (typically 3.5V), then the pull-up resistor needs to be connected to the output of the TTL to increase the output. The value of the level. For high speed circuits, excessive pull-up resistors may flatten the edges. The drive requirements of the lower level circuit. Similarly, for the above pull-up resistor, when the output is high, the switch is turned off, and the pull-up resistor should be properly selected to provide sufficient current to the lower stage circuit.
当输出高电平时,CMOS电路的输出级基本上是推拉时。输出地电平时,下面的MOSFET关断,上面的导通。高电平时反过来。When the output is high, the output stage of the CMOS circuit is basically push-pull. When the ground level is output, the lower MOSFET turns off and the upper side turns on. The high level is reversed.
使用上拉电阻及下拉电阻时,需注意:When using pull-up resistors and pull-down resistors, be aware of:
1、当TTL电路驱动COMS电路时,如果TTL电路输出的高电平低于COMS电路的最低高电平(一般为3.5V),这时就需要在TTL的输出端接上拉电阻,以提高输出高电平的值。1. When the TTL circuit drives the COMS circuit, if the high level of the TTL circuit output is lower than the lowest level of the COMS circuit (generally 3.5V), then the pull-up resistor needs to be connected at the output end of the TTL to improve Output a high value.
2、OC门电路必须加上拉电阻,才能使用。2. The OC gate circuit must be equipped with a pull-up resistor before it can be used.
3、为加大输出引脚的驱动能力,有的单片机管脚上也常使用上拉电阻。3, in order to increase the drive capability of the output pin, some of the microcontroller pins often use pull-up resistors.
4、在COMS芯片上,为了防止静电造成损坏,不用的管脚不能悬空,一般接上拉电阻产生降低输入阻抗,提供泄荷通路。4. On the COMS chip, in order to prevent damage caused by static electricity, the unused pins cannot be suspended. Generally, the pull-up resistor is connected to reduce the input impedance and provide a discharge path.
5、芯片的管脚加上拉电阻来提高输出电平,从而提高芯片输入信号的噪声容限增强抗干扰能力。 5. The pin of the chip is added with a pull-up resistor to increase the output level, thereby improving the noise margin of the input signal of the chip and enhancing the anti-interference ability.
6、提高总线的抗电磁干扰能力。管脚悬空就比较容易接受外界的电磁干扰。6. Improve the anti-electromagnetic interference capability of the bus. When the pins are suspended, it is easier to accept external electromagnetic interference.
7、长线传输中电阻不匹配容易引起反射波干扰,加上下拉电阻是电阻匹配,有效的抑制反射波干扰。7. The resistance mismatch in long-line transmission is easy to cause reflected wave interference, and the pull-down resistor is resistance matching, which effectively suppresses reflected wave interference.
上拉电阻阻值的选择原则包括:The selection criteria for the value of the pull-up resistor include:
1、从节约功耗及芯片的灌电流能力考虑应当足够大;电阻大,电流小。1. It should be large enough to save power and the current sinking capacity of the chip; the resistance is large and the current is small.
2、从确保足够的驱动电流考虑应当足够小;电阻小,电流大。2, from the consideration of ensuring sufficient drive current should be small enough; small resistance, large current.
3、对于高速电路,过大的上拉电阻可能边沿变平缓。综合考虑3. For high-speed circuits, excessive pull-up resistors may flatten the edges. Considering
以上三点,通常在1k到10k之间选取。对下拉电阻也有类似道理The above three points are usually selected between 1k and 10k. Similar to the pull-down resistor
对上拉电阻和下拉电阻的选择应结合开关管特性和下级电路的输入特性进行设定,主要需要考虑以下几个因素:The selection of the pull-up resistor and the pull-down resistor should be set in combination with the characteristics of the switching transistor and the input characteristics of the lower-level circuit. The following factors should be considered:
1.驱动能力与功耗的平衡。以上拉电阻为例,一般地说,上拉电阻越小,驱动能力越强,但功耗越大,设计是应注意两者之间的均衡。1. The balance between drive capability and power consumption. The above pull-up resistor is taken as an example. Generally speaking, the smaller the pull-up resistor, the stronger the driving capability, but the greater the power consumption, the design should pay attention to the balance between the two.
2.下级电路的驱动需求。同样以上拉电阻为例,当输出高电平时,开关管断开,上拉电阻应适当选择以能够向下级电路提供足够的电流。2. The drive requirements of the lower level circuit. Similarly, for the above pull-up resistor, when the output is high, the switch is turned off, and the pull-up resistor should be properly selected to provide sufficient current to the lower stage circuit.
3.高低电平的设定。不同电路的高低电平的门槛电平会有不同,电阻应适当设定以确保能输出正确的电平。以上拉电阻为例,当输出低电平时,开关管导通,上拉电阻和开关管导通电阻分压值应确保在零电平门槛之下。3. High and low level settings. The threshold of the high and low levels of different circuits will be different, and the resistor should be properly set to ensure that the correct level can be output. For example, when the pull-up resistor is output, when the output is low, the switch is turned on, and the pull-up resistor and the on-resistance of the switch should be kept below the zero level threshold.
4.频率特性。以上拉电阻为例,上拉电阻和开关管漏源级之间的电容和下级电路之间的输入电容会形成RC延迟,电阻越大,延迟越大。上拉电阻的设定应考虑电路在这方面的需求。4. Frequency characteristics. For example, the above pull-up resistor, the capacitance between the pull-up resistor and the drain-source of the switch and the input capacitance between the lower-level circuits form an RC delay. The larger the resistance, the greater the delay. The pull-up resistor should be set to account for the needs of the circuit in this regard.
下拉电阻的设定的原则和上拉电阻是一样的。The principle of setting the pull-down resistor is the same as the pull-up resistor.
OC门输出高电平时是一个高阻态,其上拉电流要由上拉电阻来提供,设输入端每端口不大于100uA,设输出口驱动电流约500uA,标准工作电压是5V,输入口的高低电平门限为0.8V(低于此值为低电平);2V(高电平门限值)。When the OC gate outputs a high level, it is a high-impedance state. The pull-up current is provided by a pull-up resistor. The input terminal is not more than 100uA per port, and the output current of the output port is about 500uA. The standard operating voltage is 5V. The high and low thresholds are 0.8V (below this value is low); 2V (high threshold).
选上拉电阻时:When the pull-up resistor is selected:
500uA x 8.4K=4.2即选大于8.4K时输出端能下拉至0.8V以下,此为最小阻值,再小就拉不下来了。如果输出口驱动电流较大,则阻值可减小,保证下拉时能低于0.8V即可。500uA x 8.4K=4.2 When the output is greater than 8.4K, the output can be pulled down to below 0.8V. This is the minimum resistance value, and it will not be pulled down. If the output current of the output port is large, the resistance value can be reduced, and it can be lower than 0.8V when the pull-down is performed.
当输出高电平时,忽略管子的漏电流,两输入口需200uA。When the output is high, the leakage current of the tube is ignored, and the two input ports need 200uA.
200uA x15K=3V即上拉电阻压降为3V,输出口可达到2V,此阻值为最大阻值,再大就拉不到2V了。选10K可用。 200uA x15K=3V, that is, the pull-up resistor has a voltage drop of 3V, and the output port can reach 2V. This resistance is the maximum resistance value, and it will not be able to pull 2V. Choose 10K available.
设计时管子的漏电流不可忽略,IO口实际电流在不同电平下也是不同的,上述仅仅是原理,一句话概括为:输出高电平时要喂饱后面的输入口,输出低电平不要把输出口喂撑,否则多余的电流喂给级联的输入口,高于低电平门限值就不可靠。The leakage current of the tube can not be neglected during design. The actual current of the IO port is different at different levels. The above is only the principle. In one sentence, it is summarized as follows: when the output is high, the input port should be fed, and the output should not be low. The output port feeds, otherwise the excess current is fed to the cascaded input port, which is unreliable above the low level threshold.
在数字电路中不用的输入脚都要接固定电平,通过1k电阻接高电平或接地。Input pins that are not used in digital circuits must be connected to a fixed level and connected to a high level or ground through a 1k resistor.
上拉电阻的作用包括了:接电阻就是为了防止输入端悬空、减弱外部电流对芯片产生的干扰、保护cmos内的保护二极管,一般电流不大于10mA、上拉和下拉、限流、改变电平的电位、在引脚悬空时有确定的状态、增加高电平输出时的驱动能力、OC门提供电流。The function of the pull-up resistor includes: the resistor is to prevent the input terminal from floating, to reduce the interference of the external current on the chip, to protect the protection diode in the CMOS, the current is not more than 10mA, pull-up and pull-down, current limit, change level The potential, the determined state when the pin is floating, the drive capability when the high level output is increased, and the OC gate provides the current.
继续参阅图1,在该实施例中,硬件IO端为硬件模组的Vendor_ID脚。该Vendor_ID脚为运营商代码厂商ID制造商标识,供货商可从自身的硬件模组引出该标识脚,供GPIO模块检测。同时,检测接口组件还包括:单刀三掷开关,设于硬件模组内,包括开关片、静触点及第一动触点、第二动触点、第三动触点;开关片的一端与静触点枢轴连接,另一端于第一动触点、第二动触点、第三动触点间切换接触导通;而对于各触点的配置,静触点与Vendor_ID脚连接;第一动触点与硬件IO端连接;第二动触点与断路端连接;第三动触点与所述接地端连接。该开关片在静触点的接触处,以静触点为轴旋转,另一端则在第一动触点、第二动触点、第三动触点择一的接触,一旦与第一动触点、第二动触点、第三动触点接触后,便可与硬件模组的内部芯片连接。With continued reference to FIG. 1, in this embodiment, the hardware IO end is the Vendor_ID pin of the hardware module. The Vendor_ID pin is the manufacturer code manufacturer ID identifier, and the supplier can extract the identification pin from its own hardware module for detection by the GPIO module. At the same time, the detection interface component further comprises: a single-pole three-throw switch, disposed in the hardware module, comprising a switch piece, a static contact and the first movable contact, the second movable contact, the third movable contact; one end of the switch piece The static contact is pivotally connected, and the other end is switched between the first movable contact, the second movable contact and the third movable contact; and for the configuration of each contact, the static contact is connected with the Vendor_ID leg; The first moving contact is connected to the hardware IO end; the second moving contact is connected to the breaking end; and the third moving contact is connected to the ground end. The switch piece rotates on the contact of the static contact with the static contact as the axis, and the other end is in the first movable contact, the second movable contact, and the third movable contact, and the first movement After the contact, the second movable contact and the third movable contact are in contact, the internal chip of the hardware module can be connected.
使用时,由于动触点分为三个,因此,开关片的不同位置也会将GPIO模块分处于三个状态,分别为:In use, since the moving contact is divided into three, the different positions of the switch piece will also divide the GPIO module into three states, namely:
①开关片与第一动触点接触导通时,GPIO模块处于第一状态,其中上拉输入模块呈低电平,下拉输入模块呈低电平;When the switch piece is in contact with the first movable contact, the GPIO module is in the first state, wherein the pull-up input module is at a low level, and the pull-down input module is at a low level;
②开关片与第二动触点接触导通时,GPIO模块处于第二状态,其中上拉输入模块呈高电平,下拉输入模块呈高电平;When the switch piece is in contact with the second movable contact, the GPIO module is in the second state, wherein the pull-up input module is at a high level, and the pull-down input module is at a high level;
③开关片与第三动触点接触导通时,GPIO模块处于第三状态,其中上拉输入模块呈高电平,下拉输入模块呈低电平。When the switch piece is in contact with the third moving contact, the GPIO module is in the third state, wherein the pull-up input module is at a high level, and the pull-down input module is at a low level.
在上述三种状态中,Vendor_ID脚的真值如下表所示:In the above three states, the true value of the Vendor_ID pin is shown in the following table:
Figure PCTCN2017105756-appb-000001
Figure PCTCN2017105756-appb-000001
Figure PCTCN2017105756-appb-000002
Figure PCTCN2017105756-appb-000002
也就是说:GPIO模块处于第一状态时,Vendor_ID脚输出编号1;GPIO模块处于第二状态时,Vendor_ID脚输出编号0;GPIO模块处于第三状态时,Vendor_ID脚输出编号2。通过不同的输出编号,实现对不同供应商提供的器件的区分。That is to say: when the GPIO module is in the first state, the Vendor_ID pin outputs the number 1; when the GPIO module is in the second state, the Vendor_ID pin outputs the number 0; when the GPIO module is in the third state, the Vendor_ID pin outputs the number 2. Differentiate the devices provided by different vendors by different output numbers.
上述任意实施例中,硬件模组为LCD显示模组,而GPIO模块为BBIC芯片。In any of the above embodiments, the hardware module is an LCD display module, and the GPIO module is a BBIC chip.
移动终端可以以各种形式来实施。例如,本发明中描述的终端可以包括诸如移动电话、智能电话、笔记本电脑、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、导航装置等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。下面,假设终端是移动终端。然而,本领域技术人员将理解的是,除了特别用于移动目的的元件之外,根据本发明的实施方式的构造也能够应用于固定类型的终端。The mobile terminal can be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a PDA (Personal Digital Assistant), a PAD (Tablet), a PMP (Portable Multimedia Player), a navigation device, and the like, and such as Fixed terminal for digital TV, desktop computer, etc. In the following, it is assumed that the terminal is a mobile terminal. However, those skilled in the art will appreciate that configurations in accordance with embodiments of the present invention can be applied to fixed type terminals in addition to components that are specifically for mobile purposes.
应当注意的是,本发明的实施例有较佳的实施性,且并非对本发明作任何形式的限制,任何熟悉该领域的技术人员可能利用上述揭示的技术内容变更或修饰为等同的有效实施例,但凡未脱离本发明技术方案的内容,依据本发明的技术实质对以上实施例所作的任何修改或等同变化及修饰,均仍属于本发明技术方案的范围内。 It should be noted that the embodiments of the present invention are preferred embodiments, and are not intended to limit the scope of the present invention. Any one skilled in the art may use the above-disclosed technical contents to change or modify the equivalent embodiments. Any modification or equivalent changes and modifications of the above embodiments in accordance with the technical spirit of the present invention are still within the scope of the technical solutions of the present invention.

Claims (8)

  1. 一种用于硬件模组的检测系统,所述检测系统包括:互相连接的GPIO模块及硬件模组,其特征在于,A detection system for a hardware module, the detection system comprising: an interconnected GPIO module and a hardware module, wherein
    所述GPIO模块包括:上拉输入模块、下拉输入模块及GPIO口,其中,The GPIO module includes: a pull-up input module, a pull-down input module, and a GPIO port, wherein
    所述上拉输入模块、下拉输入模块与所述GPIO口并接,控制所述GPIO口上拉使能或下拉使能;The pull-up input module and the pull-down input module are connected to the GPIO port to control the pull-up enable or pull-down enable of the GPIO port;
    所述硬件模组包括与所述GPIO口连接的输入输出接口及设于所述硬件模组内的检测接口组件,所述检测接口组件包括:The hardware module includes an input/output interface connected to the GPIO port and a detection interface component disposed in the hardware module, where the detection interface component includes:
    硬件IO端,与所述硬件模组内的芯片连接;a hardware IO end connected to the chip in the hardware module;
    断路端,悬空于所述硬件模组内;a disconnecting end, suspended in the hardware module;
    接地端,与地连接;Ground terminal, connected to the ground;
    所述硬件IO端、断路端、接地端分别与所述输入输出接口连接,反馈高电平或低电平至所述上拉输入模块或下拉输入模块,以检测所述硬件模组的配置。The hardware IO end, the breaking end, and the ground end are respectively connected to the input/output interface, and feedback a high level or a low level to the pull-up input module or the pull-down input module to detect the configuration of the hardware module.
  2. 如权利要求1所述的检测系统,其特征在于,The detection system of claim 1 wherein:
    所述上拉输入模块包括:The pull-up input module includes:
    第一端,与所述GPIO口连接;a first end, connected to the GPIO port;
    电源正极VDD;Power supply positive VDD;
    上拉电阻及与所述上拉电阻连接的第一开关,且所述上拉电阻与第一开关连接于所述第一端及电源正极VDD间;a pull-up resistor and a first switch connected to the pull-up resistor, and the pull-up resistor and the first switch are connected between the first end and the power source positive VDD;
    所述下拉输入模块包括:The pull-down input module includes:
    第二端,与所述GPIO口连接,且同时与所述第一端连接;a second end connected to the GPIO port and simultaneously connected to the first end;
    电源负极VSS;Power supply negative VSS;
    下拉电阻及与所述下拉电阻连接的第二开关,且所述下拉电阻与第二开关连接于所述第二端及电源负极VSS间。And a second switch connected to the pull-down resistor, and the pull-down resistor and the second switch are connected between the second end and the power source negative VSS.
  3. 如权利要求1所述的检测系统,其特征在于,The detection system of claim 1 wherein:
    所述硬件IO端为所述硬件模组的Vendor_ID脚。The hardware IO end is a Vendor_ID pin of the hardware module.
  4. 如权利要求3所述的检测系统,其特征在于,The detection system of claim 3 wherein:
    所述检测接口组件还包括:The detection interface component further includes:
    单刀三掷开关,设于所述硬件模组内,包括开关片、静触点及第一动触点、第二动触点、 第三动触点;The single-pole three-throw switch is disposed in the hardware module, and includes a switch piece, a static contact, a first movable contact, a second movable contact, Third moving contact;
    所述开关片的一端与所述静触点枢轴连接,另一端于所述第一动触点、第二动触点、第三动触点间切换接触导通;One end of the switch piece is pivotally connected to the static contact, and the other end is switched in contact between the first movable contact, the second movable contact and the third movable contact;
    所述静触点与所述Vendor_ID脚连接;The static contact is connected to the Vendor_ID foot;
    所述第一动触点与所述硬件IO端连接;The first movable contact is connected to the hardware IO end;
    所述第二动触点与所述断路端连接;The second movable contact is connected to the disconnecting end;
    所述第三动触点与所述接地端连接。The third movable contact is connected to the ground.
  5. 如权利要求4所述的检测系统,其特征在于,The detection system of claim 4 wherein:
    所述开关片与所述第一动触点接触导通时,所述GPIO模块处于第一状态,其中所述上拉输入模块呈高电平,所述下拉输入模块呈高电平;When the switch piece is in contact with the first movable contact, the GPIO module is in a first state, wherein the pull-up input module is at a high level, and the pull-down input module is at a high level;
    所述开关片与所述第二动触点接触导通时,所述GPIO模块处于第二状态,其中所述上拉输入模块呈低电平,所述下拉输入模块呈低电平;When the switch piece is in contact with the second movable contact, the GPIO module is in a second state, wherein the pull-up input module is at a low level, and the pull-down input module is at a low level;
    所述开关片与所述第三动触点接触导通时,所述GPIO模块处于第三状态,其中所述上拉输入模块呈高电平,所述下拉输入模块呈低电平。When the switch piece is in contact with the third movable contact, the GPIO module is in a third state, wherein the pull-up input module is at a high level, and the pull-down input module is at a low level.
  6. 如权利要求5所述的检测系统,其特征在于,The detection system of claim 5 wherein:
    所述GPIO模块处于第一状态时,所述Vendor_ID脚输出编号1;When the GPIO module is in the first state, the Vendor_ID pin outputs the number 1;
    所述GPIO模块处于第二状态时,所述Vendor_ID脚输出编号0;When the GPIO module is in the second state, the Vendor_ID pin outputs the number 0;
    所述GPIO模块处于第三状态时,所述Vendor_ID脚输出编号2。When the GPIO module is in the third state, the Vendor_ID pin outputs the number 2.
  7. 如权利要求1所述的检测系统,其特征在于,The detection system of claim 1 wherein:
    所述硬件模组为LCD显示模组。The hardware module is an LCD display module.
  8. 如权利要求1所述的检测系统,其特征在于,The detection system of claim 1 wherein:
    所述GPIO模块为BBIC芯片。 The GPIO module is a BBIC chip.
PCT/CN2017/105756 2017-10-11 2017-10-11 Detection system for hardware module WO2019071485A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/105756 WO2019071485A1 (en) 2017-10-11 2017-10-11 Detection system for hardware module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/105756 WO2019071485A1 (en) 2017-10-11 2017-10-11 Detection system for hardware module

Publications (1)

Publication Number Publication Date
WO2019071485A1 true WO2019071485A1 (en) 2019-04-18

Family

ID=66100214

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/105756 WO2019071485A1 (en) 2017-10-11 2017-10-11 Detection system for hardware module

Country Status (1)

Country Link
WO (1) WO2019071485A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110916469A (en) * 2018-08-30 2020-03-27 佛山市顺德区美的电热电器制造有限公司 Detection circuit, control system of cooking equipment and cooking equipment
CN111983437A (en) * 2020-08-25 2020-11-24 深圳市旗开电子有限公司 5G module product GPIO port test circuit and test method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020161938A1 (en) * 2001-04-27 2002-10-31 International Business Machine Corporation Increasing control information from a single general purpose input/output (GPIO) mechanism
CN102411915A (en) * 2011-11-29 2012-04-11 康佳集团股份有限公司 Method for preventing automatic identification failure of LCD (Liquid Crystal Display)
CN203883814U (en) * 2014-06-10 2014-10-15 珠海煌荣集成电路科技有限公司 Key detection circuit and electronic device
CN204928957U (en) * 2015-09-23 2015-12-30 上海华掌通信技术有限公司 A circuit that is used for beautiful mark earphone automated inspection of smart mobile phone eu standard
CN106556752A (en) * 2015-09-25 2017-04-05 鸿富锦精密工业(武汉)有限公司 GPIO interface circuit for detecting

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020161938A1 (en) * 2001-04-27 2002-10-31 International Business Machine Corporation Increasing control information from a single general purpose input/output (GPIO) mechanism
CN102411915A (en) * 2011-11-29 2012-04-11 康佳集团股份有限公司 Method for preventing automatic identification failure of LCD (Liquid Crystal Display)
CN203883814U (en) * 2014-06-10 2014-10-15 珠海煌荣集成电路科技有限公司 Key detection circuit and electronic device
CN204928957U (en) * 2015-09-23 2015-12-30 上海华掌通信技术有限公司 A circuit that is used for beautiful mark earphone automated inspection of smart mobile phone eu standard
CN106556752A (en) * 2015-09-25 2017-04-05 鸿富锦精密工业(武汉)有限公司 GPIO interface circuit for detecting

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110916469A (en) * 2018-08-30 2020-03-27 佛山市顺德区美的电热电器制造有限公司 Detection circuit, control system of cooking equipment and cooking equipment
CN111983437A (en) * 2020-08-25 2020-11-24 深圳市旗开电子有限公司 5G module product GPIO port test circuit and test method
CN111983437B (en) * 2020-08-25 2023-09-08 深圳市旗开电子有限公司 5G module product GPIO port test circuit and test method

Similar Documents

Publication Publication Date Title
CN107491159B (en) Low power implementation of Type-C connector subsystem
US9525294B2 (en) USB device for making I/O pin with intact voltage during charging procedure and related method
JP6505283B2 (en) Power-up control circuit and mobile battery
US7451328B2 (en) Display device with USB connectivity
US20190079130A1 (en) Device and method of detecting leakage current generation condition in usb interface
EP3602713B1 (en) Power multiplexing with an active load
US6691201B1 (en) Dual mode USB-PS/2 device
US20070075680A1 (en) Charging mode control circuit
US8935451B2 (en) Network card detecting circuit
US11404094B2 (en) Transmitter circuitry with N-type pull-up transistor and low output voltage swing
WO2019071485A1 (en) Detection system for hardware module
US20150316943A1 (en) Control chip and connection module utilizing the same
US20190332151A1 (en) Storage system and control method
US7745960B2 (en) Power supply control signal generating circuit
US9306563B2 (en) Configurable single-ended driver
CN106059553B (en) Device for realizing Ra resistance in USB Type-C EMCA cable
CN108631377B (en) Power-on control circuit and mobile power supply device using same
US20070153440A1 (en) Circuit for protecting motherboard
US9018982B2 (en) Over-voltage tolerant level detection circuit
CN105242591B (en) A kind of input/output interface combination system
CN110688260B (en) EC reset circuit and electronic equipment based on earphone interface
TWI505058B (en) Voltage control circuit
CN215009602U (en) Drive-by-wire ware and electrical equipment
US10879898B2 (en) Power gating circuit for holding data in logic block
US20160141844A1 (en) Power supply identification apparatus and power supply identification method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17928256

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17928256

Country of ref document: EP

Kind code of ref document: A1