Method and device for recognizing equipment version information through GPIO port line

A technology of version information and identification equipment, which is applied in the direction of instruments, electrical digital data processing, etc., can solve the problems of difficult compliance and limited version status, and achieve the effect of compatibility, simple and accurate identification process

Inactive Publication Date: 2015-01-21
FUJIAN LANDI COMML EQUIP CO LTD
View PDF3 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the existing method of using GPIO lines to identify the module version, one GPIO line only has two ways of high and low, and two lines can only be configured with 2 N The identification schemes, namely 00, 01, 10, and 11, can identify only a limited number of module versions. With the development trend of more complex structures and more diverse configurations of electronic equipment, it will be difficult to meet the needs of actual applications.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for recognizing equipment version information through GPIO port line
  • Method and device for recognizing equipment version information through GPIO port line
  • Method and device for recognizing equipment version information through GPIO port line

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0048] Please refer to image 3 , Embodiment 1 of the present invention is:

[0049] The CPU uses 3.3V power supply, input level V at the CMOS interface IH >0.7VDD, VIH=2.3V and V IL <0.3, VIL=1V.

[0050] Read the state level Vin of the GIPO port line. If the Vin level is greater than 2.3V, it is 1, and if it is less than 1V, it is 0. Preferably, a 100K pull-up and pull-down resistor can be configured inside the CPU. The GPIO port line structure inside the CPU is as shown in the figure .

[0051] The device is a liquid crystal, and three different versions of A / B / C are used in one system. The version identification line of the liquid crystal has been configured according to the corresponding 1, 0 and * states of pull-up, pull-down and floating before leaving the factory. There are different identification states, for example, the identification state configured on the version identification port of A liquid crystal body is high level; the identification state of B liquid ...

Embodiment 2

[0064] Please refer to Figure 4 , the second embodiment of the present invention is:

[0065] Configuration identification scheme for different printer cores

[0066] There are 3 A / B / C printer suppliers, and each printer manufacturer has 3 print head suppliers (1 / 2 / 3 respectively). That is, there are 9 possible types of printers used in the machine: A1, A2, A3, B1, B2, B3, C1, C2, and C3. In order to distinguish these configurations, the two ports in the printer FPC are also made to be suspended (*) , pull high (1), pull low (0), so that the system can automatically identify. When the printer fails, you can accurately locate which printer manufacturer (such as A) and which model (such as 1), and you can identify the status through the internal port line of the machine by looking at the silk screen content on the printer without disassembling the machine.

Embodiment 3

[0067] Please refer to Figure 5 , Embodiment three of the present invention is:

[0068] Identification scheme for different versions of batteries

[0069] Before the battery leaves the factory, it is configured with different identification states according to the 1, 0 and * states corresponding to the pull-up, pull-down and floating. By identifying whether the inside of the battery is pulled up, pulled down or suspended, the purpose of identifying the battery type is achieved. Take the example of pulling 10K to 3.3V battery as follows:

[0070] The CPU reads the state of the GPIO line as high level 1, which can determine the type or manufacturer of the connected battery. Correspondingly call the driver of this battery for work (Note: Different batteries may have different discharge capabilities, strong batteries can allow large current discharge to speed up transaction printing speed, etc.).

[0071] In summary, the method and device for identifying device version infor...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a method and device for recognizing equipment version information through a GPIO port line. The method includes the steps that the port line on a piece of equipment is configured to be in one of the three recognition states of a high-level recognition state, a low-level recognition state and a suspension state according to the version information of the equipment, and the port line serves as the version recognition port line of the equipment; The GPIO port line is connected with the version recognition port line; the GPIO port line is sequentially connected with a pull-up resistor and a pull-down resistor, and the states of the GPIO port line are read sequentially; the recognition state of the equipment is obtained through the two read results, the version information of the equipment is obtained by comparing the equipment recognition state and the equipment recognition state configured in advance. By means of the method and device for recognizing the equipment version information through the GPIO port line, 3N (N represents the number of port lines) different configuration recognition schemes of the equipment to be recognized can be provided, the version of the equipment is judged by reading the state of the connected GPIO port line without altering the software version information of the equipment.

Description

technical field [0001] The invention relates to the field of port line identification of electronic equipment, in particular to a method and device for GPIO line identification of device version information. Background technique [0002] In the electronic equipment of the prior art, a machine often corresponds to modules with different configuration versions, and each module corresponds to a different driver IC. When mobilizing the corresponding driver software, the system CPU needs to know which configuration version the module is currently using. . The traditional solution uses different modules and needs to be matched with different software carriers. There is often a phenomenon of mixed hardware debugging versions of various versions, which is inconvenient for production and management, and is prone to errors. Therefore, the version configuration of different modules is often judged by the high and low states of the port line. For example, when a certain GPIO line show...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F13/38
CPCG06F13/4068
Inventor 曾德炎李聪华苏龙胡长发
Owner FUJIAN LANDI COMML EQUIP CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products