CN202551158U - Mobile terminal capable of detecting hardware types conveniently - Google Patents
Mobile terminal capable of detecting hardware types conveniently Download PDFInfo
- Publication number
- CN202551158U CN202551158U CN2012201036308U CN201220103630U CN202551158U CN 202551158 U CN202551158 U CN 202551158U CN 2012201036308 U CN2012201036308 U CN 2012201036308U CN 201220103630 U CN201220103630 U CN 201220103630U CN 202551158 U CN202551158 U CN 202551158U
- Authority
- CN
- China
- Prior art keywords
- division module
- management chip
- resistance
- portable terminal
- power management
- Prior art date
- Legal status (The legal status 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 status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Telephone Function (AREA)
Abstract
The utility model discloses a mobile terminal capable of detecting hardware types conveniently. A first voltage distribution module, a second voltage distribution module and a power supply management chip are arranged on a main board of the mobile terminal; one end of the first voltage distribution module is connected with a power supply end of the power supply management chip, and the other end is connected with one end of the second voltage distribution module and a general purpose input and output (GPIO) port of the power supply management chip; and the other end of the second voltage distribution module is grounded. According to the mobile terminal capable of detecting the hardware types conveniently, the first voltage distribution module and the second voltage distribution module are arranged on the main board of the mobile terminal, the first voltage distribution module and the second voltage distribution module are connected with the GPIO port of the power supply management chip, the analog voltage of the GPIO port is converted to digital voltage read by software through the power supply management chip, the hardware types can be recognized by the software, and then the software correspondingly processes different hardware platforms, so the same type of software can run on different hardware platforms.
Description
Technical field
The utility model relates to the electronic communication field, particularly a kind of portable terminal of being convenient to the detection hardware type.
Background technology
When producing the exploitation mobile phone; Usually can create a soft project for each hardware; If a software developer will develop several projects simultaneously; Will bring some problems: 1, each soft project all needs to recompilate, and need expend a lot of times of developer, has directly increased the research and development expense; 2, every money software can only move on a hardware, and this brings many troubles can for downloaded software and hardware debug.
At present, the mobile phone market competition is growing more intense, and mobile-phone manufacturers tend on same software platform, derive many moneys product in order to practice thrift cost, come all to be spread out in the research and development expense on this platform with this, and then reduce production costs.But because product or style are different; Or owing to market orientation differs; Can make and have some differences on product appearance and the Hardware configuration; And how therefore most of product can make the type of software detection hardware based on developing on a kind of software platform, become this area urgent problem.
Summary of the invention
In view of the weak point of above-mentioned prior art, the purpose of the utility model is to provide a kind of portable terminal of being convenient to the detection hardware type, for magnitude of voltage of every money hardware setting, just can make the software detection type of hardware.
In order to achieve the above object, the utility model has been taked following technical scheme:
A kind of portable terminal of being convenient to the detection hardware type, the mainboard of said portable terminal is provided with first division module, second division module and power management chip; One end of said first division module connects the power end of power management chip; The other end connects an end of second division module and the GPIO mouth of power management chip; The other end ground connection of second division module; After converting the aanalogvoltage of GPIO mouth into digital voltage by power management chip, read digital voltage value, automatically the type of detection hardware.
In the above-mentioned portable terminal of being convenient to the detection hardware type, said first division module comprises first resistance, and second division module comprises second resistance; One end of said first resistance connects the power end of power management chip, and the other end connects an end of second resistance and the GPIO mouth of power management chip, the other end ground connection of second resistance.
In the above-mentioned portable terminal of being convenient to the detection hardware type, it is the integrated chip of PM8029 that power management chip adopts model.
A kind of portable terminal of being convenient to the detection hardware type, the mainboard of said portable terminal are provided with power module, first division module, second division module, ADC modular converter and CPU processor; One end of said first division module connects power module; The other end connects an end of second division module and the input of ADC modular converter; The other end ground connection of second division module, the output of said ADC modular converter connects the CPU processor, and the ADC modular converter is to export to the CPU processor behind the digital voltage with the voltage transitions of its input; Read digital voltage value through the CPU processor, automatically the type of detection hardware.
In the above-mentioned portable terminal of being convenient to the detection hardware type, said first division module comprises first resistance, and said second division module comprises second resistance; One end of said first resistance connects power module, and the other end connects an end of second resistance and the input of ADC modular converter, the other end ground connection of second resistance.
Compared to prior art; The portable terminal of being convenient to the detection hardware type that the utility model provides; Adopted first division module and second division module have been set on the portable terminal mainboard; First division module all is connected power management chip GPIO mouth with second division module, converts the aanalogvoltage of GPIO mouth to digital voltage that software readable is got through power management chip, and software just can be discerned the type of hardware; Software is made handled to different hardware platforms afterwards, just can make with a running software on different hardware platforms.
Description of drawings
Fig. 1 is convenient to the structured flowchart of first preferred embodiment of the portable terminal of detection hardware type for the utility model.
Fig. 2 is convenient to the circuit diagram of first preferred embodiment of the portable terminal of detection hardware type for the utility model.
Fig. 3 is convenient to the structured flowchart of second preferred embodiment of the portable terminal of detection hardware type for the utility model.
Fig. 4 is convenient to the circuit diagram of second preferred embodiment of the portable terminal of detection hardware type for the utility model.
Embodiment
The utility model provides a kind of portable terminal of being convenient to the detection hardware type, for purpose, technical scheme and the effect that makes the utility model is clearer, clear and definite, below develops simultaneously embodiment to the utility model further explain with reference to accompanying drawing.Should be appreciated that specific embodiment described herein only in order to explanation the utility model, and be not used in qualification the utility model.
See also Fig. 1, it is convenient to the structured flowchart of first preferred embodiment of the portable terminal of detection hardware type for the utility model.The portable terminal of being convenient to the detection hardware type as shown in the figure, that the utility model first preferred embodiment provides, the mainboard 10 of said portable terminal are provided with first division module 101, second division module 102 and power management chip 103.One end of said first division module 101 connects the power end VREG of power management chip 103, and the other end connects an end of second division module 102 and the GPIO mouth of power management chip 103, the other end ground connection of second division module 102.
The voltage of the power end output of said power management chip 103 is 1.8V direct voltage (this 1.8V voltage can also be provided by other chip on the portable terminal certainly); After carrying out dividing potential drop through first division module 101 and 102 pairs of 1.8V voltages of second division module; Obtain the voltage of the GPIO mouth of power management chip 103; GPIO mouth through with power management chip 103 is configured to the analog input pattern; The aanalogvoltage of this GPIO mouth being imported through power management chip 103 converts digital voltage into, just can make software read this digital voltage value, thereby makes the software type of detection hardware automatically.
In the specific implementation; Said first division module 101 comprises first resistance R 1; Second division module 102 comprises second resistance R 2, and is as shown in Figure 2, the power end of an end power management chip 103 of said first resistance R 1; The other end connects an end of second resistance R 2 and the GPIO mouth of power management chip 103, the other end ground connection of second resistance R 2.
Below be that the voltage of the power end VREG of mobile phone, power management chip 103 is that the resistance of 1.8V, first resistance R 1 and second resistance R 2 is that to adopt models be that the integrated chip of PM8029 or principle that isonomic power supply chip is the application implementation example portable terminal of being convenient to the detection hardware type that first preferred embodiment provides to the utility model are elaborated for 100K Ω, power management chip 103 with the portable terminal:
1, calculates the magnitude of voltage of the GPIO mouth of power management chip
2, obtain digital voltage through ADC conversion (analog-to-digital conversion)
Because software can only be handled the data of numeral, so the magnitude of voltage of GPIO mouth also need be converted to the manageable digital value of software through power management chip 103 inside.
PMU with 8029 (power management module) chip is an example; Because a lot of similar GPIO mouths are arranged on the PM8029 chip; They can be configured to the analog input pattern and just can use as ADC; And have a lot of GPIO mouths, this chip to apply to generally vacant GPIO mouth can be arranged all in the mobile phone on this PM8029 chip, so can't increase extra work amount and cost to mobile phone hardware like this.
For example, the other end of first resistance R 1 and an end of second resistance R 2 are directly connected on the mpp8 pin of PM 8029 chips, through following software interface mpp8 are configured to the analog input pattern then:
Pm_mpp_config_analog_input (PM_MPP_8, PM_MPP__AIN__CH_AMUX8); // mpp8 is configured to the analog input pattern
3, cell phone software is judged type of hardware through digital voltage value
Power consumption for the control mobile phone; The hardware platform of mobile phone generally all can be integrated on 8029 chips at present; Manage and reduce the power consumption of mobile phone through 8029 chips; Platform with qualcomm7227a is an example, because integrated PM8029 chip, so the control interface of this PM8029 chip has been arranged also in the software platform.In the present embodiment; Only need utilize of the input of the GPIO pin of a free time on the PM8029 chip as ADC; Owing to this GPIO pin (being the mpp8 pin) is being made into the analog input pattern; Only need call the interface of following request ADC conversion this moment, can convert the magnitude of voltage of simulation to software discernible digital voltage value:
DalAdc_RequestConversion (); // request beginning ADC conversion
Above-mentioned interface will return the magnitude of voltage nMV (digital voltage value, the mv of unit) after the conversion after ADC converts, this magnitude of voltage has been arranged, and what hardware platform what software just can be known current use has been.
For example, the definition of hardware platform and corresponding voltage value is following:
0mv ~ 449mv is defined as: HW_PLATFORM_A
450mv ~ 549mv is defined as: HW_PLATFORM_B
850mv ~ 1049mv is defined as: HW_PLATFORM_C
1050mv ~ 1449mv is defined as: HW_PLATFORM_D
1450mv ~ 1800mv is defined as: HW_PLATFORM_E
Several kinds of hardware platforms of concrete definition only need to get final product according to the actual requirements, only need the value of digital voltage be sat in the right seat in the software like this, just know the hardware platform type.
Software just can be made different processing to different hardware platforms afterwards.In general, the difference of mobile phone hardware generally has: GPIO disposes different; The external equipment that uses is different, such as LCD, and touch-screen, camera also has various transducers etc.; Might upgrade by whole hardware platform, uprise such as cpu frequency, it is big that internal memory becomes.Yet; Cell phone software all will be realized the correct control to these different hardware; Can be through being placed on these Different control codes in the same software, as long as which platform what then judge present use is, operation is fit to that of this platform partly code is just passable then.
Associated treatment through above-mentioned software and hardware; The utility model only needs on existing hardware platform, to use two resistance to form a simple bleeder circuit; Utilize GPIO pin and the existing control interface of software platform of a free time on the hardware platform existing P MU chip again to this PMU chip; Just can realize that software judges type of hardware automatically and handle respectively to different hardware, thereby reach the purpose of on different hardware platforms, moving with a running software.
The utility model is convenient to second preferred embodiment of the portable terminal of detection hardware type; As shown in Figure 3, the mainboard 10 of said portable terminal is provided with power module 106, first division module 101, second division module 102, ADC modular converter 104 and CPU processor 105; One end of said first division module 101 connects power module 106; The other end connects an end of second division module 102 and the input of ADC modular converter 104; The other end ground connection of second division module 102, the output of said ADC modular converter 104 connects CPU processor 105, and ADC modular converter 104 is to export to CPU processor 105 behind the digital voltage with the voltage transitions of its input; Read digital voltage value through CPU processor 105, software is the type of detection hardware automatically just.
Said ADC modular converter 104 is newly-increased on the portable terminal mainboard 10 analog-to-digital conversion module, and this scheme is mainly used in does not have ADC modular converter 104 on the portable terminal mainboard 10, perhaps do not have the situation of idle GPIO pin on the power management chip 103.
Similar, in the specific implementation, first division module 101 comprises that first resistance R, 1, the second division module 102 comprises second resistance R 2; One end of said first resistance R 1 connects power module 106, and the other end connects an end of second resistance R 2 and the input of ADC modular converter 104, the other end ground connection of second resistance R 2.
Because present embodiment is identical with the principle that above-mentioned first preferred embodiment realizes, therefore repeat no more here.
In sum; The portable terminal of being convenient to the detection hardware type that the utility model provides; Adopted first division module and second division module have been set on the portable terminal mainboard; First division module all is connected power management chip GPIO mouth with second division module, converts the aanalogvoltage of GPIO mouth to digital voltage that software readable is got through power management chip, and software just can be discerned the type of hardware; Software is made handled to different hardware platforms afterwards, just can make with a running software on different hardware platforms.
It is understandable that; Concerning those of ordinary skills; Can be equal to replacement or change according to the technical scheme and the utility model design thereof of the utility model, and all these changes or replacement all should belong to the protection range of the appended claim of the utility model.
Claims (5)
1. a portable terminal of being convenient to the detection hardware type is characterized in that, the mainboard of said portable terminal is provided with first division module, second division module and power management chip; One end of said first division module connects the power end of power management chip; The other end connects an end of second division module and the GPIO mouth of power management chip; The other end ground connection of second division module; After converting the aanalogvoltage of GPIO mouth into digital voltage by power management chip, read digital voltage value, automatically the type of detection hardware.
2. the portable terminal of being convenient to the detection hardware type according to claim 1 is characterized in that, said first division module comprises first resistance, and second division module comprises second resistance; One end of said first resistance connects the power end of power management chip, and the other end connects an end of second resistance and the GPIO mouth of power management chip, the other end ground connection of second resistance.
3. the portable terminal of being convenient to the detection hardware type according to claim 1 and 2 is characterized in that, it is the integrated chip of PM8029 that power management chip adopts model.
4. a portable terminal of being convenient to the detection hardware type is characterized in that, the mainboard of said portable terminal is provided with power module, first division module, second division module, ADC modular converter and CPU processor; One end of said first division module connects power module; The other end connects an end of second division module and the input of ADC modular converter; The other end ground connection of second division module, the output of said ADC modular converter connects the CPU processor, and the ADC modular converter is to export to the CPU processor behind the digital voltage with the voltage transitions of its input; Read digital voltage value through the CPU processor, automatically the type of detection hardware.
5. the portable terminal of being convenient to the detection hardware type according to claim 4 is characterized in that, said first division module comprises first resistance, and said second division module comprises second resistance; One end of said first resistance connects power module, and the other end connects an end of second resistance and the input of ADC modular converter, the other end ground connection of second resistance.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012201036308U CN202551158U (en) | 2012-03-20 | 2012-03-20 | Mobile terminal capable of detecting hardware types conveniently |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012201036308U CN202551158U (en) | 2012-03-20 | 2012-03-20 | Mobile terminal capable of detecting hardware types conveniently |
Publications (1)
Publication Number | Publication Date |
---|---|
CN202551158U true CN202551158U (en) | 2012-11-21 |
Family
ID=47171718
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012201036308U Expired - Fee Related CN202551158U (en) | 2012-03-20 | 2012-03-20 | Mobile terminal capable of detecting hardware types conveniently |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN202551158U (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104104763A (en) * | 2014-07-24 | 2014-10-15 | Tcl通讯(宁波)有限公司 | Detection device and detection method for mainboard type of mobile terminal |
CN105791996A (en) * | 2016-01-08 | 2016-07-20 | 深圳创维-Rgb电子有限公司 | Main board operating parameter loading method and device |
CN106598564A (en) * | 2016-10-24 | 2017-04-26 | 郑州云海信息技术有限公司 | Method for implementing BIOS capable of self-adapting to different main boards, BIOS, and main board |
CN106681700A (en) * | 2015-11-09 | 2017-05-17 | 中国长城计算机深圳股份有限公司 | Firmware identification method and system based on mainboard ID |
CN106897244A (en) * | 2017-03-01 | 2017-06-27 | 浙江大华技术股份有限公司 | A kind of expansion module recognition methods and device |
CN109032869A (en) * | 2018-07-26 | 2018-12-18 | 郑州云海信息技术有限公司 | A kind of portable servicer hardware testing terminal |
CN110187731A (en) * | 2019-05-16 | 2019-08-30 | 华为技术有限公司 | A kind of power-conditioning device and electronic equipment |
CN112037726A (en) * | 2020-09-09 | 2020-12-04 | 珠海格力电器股份有限公司 | Display screen drive control method, device and system and household appliance |
CN114446213A (en) * | 2020-11-02 | 2022-05-06 | 联发科技(新加坡)私人有限公司 | Mainboard, display device, display method and computer readable storage medium |
-
2012
- 2012-03-20 CN CN2012201036308U patent/CN202551158U/en not_active Expired - Fee Related
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104104763A (en) * | 2014-07-24 | 2014-10-15 | Tcl通讯(宁波)有限公司 | Detection device and detection method for mainboard type of mobile terminal |
CN104104763B (en) * | 2014-07-24 | 2018-03-16 | Tcl通讯(宁波)有限公司 | A kind of detection means and detection method of the motherboard type of mobile terminal |
CN106681700A (en) * | 2015-11-09 | 2017-05-17 | 中国长城计算机深圳股份有限公司 | Firmware identification method and system based on mainboard ID |
CN105791996A (en) * | 2016-01-08 | 2016-07-20 | 深圳创维-Rgb电子有限公司 | Main board operating parameter loading method and device |
CN106598564A (en) * | 2016-10-24 | 2017-04-26 | 郑州云海信息技术有限公司 | Method for implementing BIOS capable of self-adapting to different main boards, BIOS, and main board |
CN106897244A (en) * | 2017-03-01 | 2017-06-27 | 浙江大华技术股份有限公司 | A kind of expansion module recognition methods and device |
CN109032869A (en) * | 2018-07-26 | 2018-12-18 | 郑州云海信息技术有限公司 | A kind of portable servicer hardware testing terminal |
CN109032869B (en) * | 2018-07-26 | 2021-11-05 | 郑州云海信息技术有限公司 | Portable server hardware test terminal |
CN110187731A (en) * | 2019-05-16 | 2019-08-30 | 华为技术有限公司 | A kind of power-conditioning device and electronic equipment |
CN110187731B (en) * | 2019-05-16 | 2021-12-17 | 荣耀终端有限公司 | Power supply adjusting device and electronic equipment |
CN112037726A (en) * | 2020-09-09 | 2020-12-04 | 珠海格力电器股份有限公司 | Display screen drive control method, device and system and household appliance |
CN114446213A (en) * | 2020-11-02 | 2022-05-06 | 联发科技(新加坡)私人有限公司 | Mainboard, display device, display method and computer readable storage medium |
US11842704B2 (en) | 2020-11-02 | 2023-12-12 | Mediatek Singapore Pte. Ltd. | Mainboard with at least two interfaces to boost performance for connecting different displays and the related device and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN202551158U (en) | Mobile terminal capable of detecting hardware types conveniently | |
US8175099B2 (en) | Embedded system development platform | |
CN104020704B (en) | I/O mouth die intends the mini embedded controller apparatus and method of SPI interface | |
CN102662648B (en) | A kind of embedded software developing emulation platform of communicating terminal and application thereof | |
CN101409456A (en) | Charger and charging method thereof | |
US10409936B2 (en) | Method and apparatus for modelling power consumption of integrated circuit | |
CN108923957B (en) | Distribution network terminal DTU fault elimination method and device and terminal equipment | |
CN102567022B (en) | Frame-type design method of instrument system for spectrum analyzers | |
CN205123711U (en) | Analog -to -digital conversion chip volume production test circuit | |
CN102116814A (en) | Multifunction integrated electronic measurement method and device | |
CN100547600C (en) | A kind of remote wakening system and terminal based on WAN module | |
CN106297614A (en) | A kind of method of testing of LCD product | |
CN106528936B (en) | A kind of the submodel test device and method of dynamic system simulation | |
CN204119337U (en) | A kind of hunting camera of built Bluetooth module | |
CN202057736U (en) | Handheld power load control equipment fault detector | |
CN203587757U (en) | Hand-held digital integrated circuit parameter tester | |
CN205921407U (en) | Electronic equipment | |
CN201869253U (en) | Mobile phone with function of voltmeter | |
CN102944846B (en) | A kind of method and system detecting battery electric quantity in mobile terminal constant voltage charge process | |
TW200743976A (en) | Multi-project System-on-Chip platform and the design method thereof | |
CN2938208Y (en) | Power supply sequence control device | |
CN102116800A (en) | Multi-resistance measuring method for satisfying wireless signal output and measuring device | |
CN204989880U (en) | Website controller based on cortex | |
CN110456206A (en) | A kind of family becomes the judgment method of relationship and judges system | |
Burse et al. | Evaluation of low-cost microcontroller-based systems for simple sensor applications |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20121121 Termination date: 20130320 |