CN103279436A - Configuration method of functions of chip pin and chip - Google Patents

Configuration method of functions of chip pin and chip Download PDF

Info

Publication number
CN103279436A
CN103279436A CN2013101484820A CN201310148482A CN103279436A CN 103279436 A CN103279436 A CN 103279436A CN 2013101484820 A CN2013101484820 A CN 2013101484820A CN 201310148482 A CN201310148482 A CN 201310148482A CN 103279436 A CN103279436 A CN 103279436A
Authority
CN
China
Prior art keywords
chip
chip pin
configuration information
function
functional configuration
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.)
Pending
Application number
CN2013101484820A
Other languages
Chinese (zh)
Inventor
谢韶波
齐凡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chipsea Technologies Shenzhen Co Ltd
Original Assignee
Chipsea Technologies Shenzhen Co Ltd
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 Chipsea Technologies Shenzhen Co Ltd filed Critical Chipsea Technologies Shenzhen Co Ltd
Priority to CN2013101484820A priority Critical patent/CN103279436A/en
Publication of CN103279436A publication Critical patent/CN103279436A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Logic Circuits (AREA)

Abstract

The invention discloses a configuration method of functions of a chip pin. The configuration method of the functions of the chip pin comprises the steps of (1) reading stored function configuration information of the chip pin, (2) and configuring corresponding functions for the chip pin according to the read function configuration information. The invention further discloses a chip. According to the scheme, flexible configuration is carried out on the functions of each pin of the chip, dynamic change reuse is carried out on preset functions of each chip pin when the chip works, thus, reliability of function configuration of the chip pin is improved, wiring of a PCB is convenient, and further great convenience is brought to design of a PCB circuit.

Description

The collocation method of chip pin function and chip
Technical field
The present invention relates to the chip pin configuration, specially refer to a kind of collocation method and chip of chip pin function.
Background technology
The pin function of current chip is all fixed usually, though some pin can have a plurality of functions for multiplexing, but also be to be confined in pre-designed several functions, carry out multiplexing, then can't use for other function, make that the reliability of chip pin function configuration is lower; And such design has limited the cabling of PCB to a certain extent, the design of inconvenient PCB circuit.
Summary of the invention
Collocation method and the chip of fundamental purpose of the present invention for a kind of chip pin function is provided, each functions of pins is carried out flexible configuration, improve the reliability of chip pin function configuration, and make things convenient for the cabling of PCB, further bring convenience for the design of PCB circuit.
The invention provides a kind of collocation method of chip pin function, comprise step:
Read the functional configuration information of the chip pin of storage;
According to the described functional configuration information that reads, for chip pin disposes corresponding function.
Preferably, described functional configuration information is to generate according to the function of chip pin correspondence, and it is one of following that the function of chip pin comprises at least: common input/output function, digital circuit specific function input/output function and mimic channel specific function input/output function.
Preferably, before the step of the functional configuration information of carrying out the described chip pin that reads storage, also comprise:
The functional configuration information of the chip pin that reception writes, and store this functional configuration information.
Preferably, the described functional configuration information that described basis reads specifically comprises for chip pin disposes corresponding function institute step:
According to the described functional configuration information that reads, chip pin and functional configuration information are mated;
According to matching result, for chip pin disposes corresponding function.
The present invention also provides a kind of chip, comprises chip pin, also comprises the main control module that is arranged in the described chip and the configuration module that is connected with this main control module, wherein:
Described main control module, the functional configuration information for the chip pin that reads storage is sent to configuration module with the described functional configuration information that reads;
Described configuration module is for the described functional configuration information that reads according to main control module, for chip pin disposes corresponding function.
Preferably, described functional configuration information is to generate according to the function of chip pin correspondence, and it is one of following that the function of chip pin comprises at least: common input/output function, digital circuit specific function input/output function and mimic channel specific function input/output function.
Preferably, chip also comprises:
Storer is used for receiving the functional configuration information of the chip pin that writes, and stores this functional configuration information.
Preferably, described configuration module specifically is used for:
According to the described functional configuration information that reads, chip pin and functional configuration information are mated;
According to matching result, for chip pin disposes corresponding function.
The present invention reads the functional configuration information of each chip pin of wherein storing by when chip power resets from the storer of chip, and is that chip pin disposes corresponding function according to functional configuration information.Each functions of pins to chip is carried out flexible configuration, when chip operation, dynamically change multiplexing to the default function of each chip pin, thereby improved the reliability of chip pin function configuration, and made things convenient for the cabling of PCB, further brought great convenience for the design of PCB circuit.
Description of drawings
Fig. 1 is the schematic flow sheet of collocation method first embodiment of chip pin function of the present invention;
Fig. 2 is the schematic flow sheet of configuration pin function in the collocation method of chip pin function of the present invention;
Fig. 3 is the schematic flow sheet of collocation method second embodiment of chip pin function of the present invention;
Fig. 4 is the structural representation of chip first embodiment of the present invention;
Fig. 5 is the structural representation of chip second embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will be in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explaining the present invention, and be not used in restriction the present invention.
The invention provides a kind of collocation method of chip pin function, the functional configuration information of the function that will dispose for each chip pin of chip is written in the storer of chip in advance, when chip power resets, read this functional configuration information, thereby dispose corresponding function for each chip pin.
With reference to Fig. 1, Fig. 1 is the schematic flow sheet of collocation method first embodiment of chip pin function of the present invention.
The collocation method of the chip pin function that present embodiment provides comprises:
Step S100 reads the functional configuration information of the chip pin of storage;
When chip power resets, from the storer of chip, read the functional configuration information of each chip pin of wherein storing.In the present embodiment, this functional configuration information is for to be written in the storer in advance according to the actual requirements, it is the function generation according to the correspondence that disposes for the chip pin except the pin of power supply and ground connection in the chip, and the function of chip pin comprises functions such as common input/output function, digital circuit specific function input/output function and mimic channel specific function input/output function at least, can be the combination in any of each chip pin configuration simple function or a plurality of functions in functional configuration information.When the chip operate as normal, cannot change the chip pin function configuration, can only dynamically change multiplexing to the default function of each chip pin.
In the present embodiment, digital circuit specific function input/output function can comprise as functions such as SPI communication and PWM outputs; Mimic channel specific function input/output function can comprise as functions such as comparer input and analog to digital converter inputs.
Step S200 is according to the functional configuration information that reads, for chip pin disposes corresponding function.
After reading the functional configuration information of chip pin, according to the corresponding relation of chip pin with the functional configuration information that reads, according to the information in the functional configuration information, for each chip pin disposes corresponding function.
With reference to Fig. 2, Fig. 2 is the schematic flow sheet of configuration pin function in the collocation method of chip pin function of the present invention.
In the present embodiment, step S200 further comprises:
Step S201 according to the functional configuration information that reads, mates chip pin and functional configuration information;
Step S202 is according to matching result, for chip pin disposes corresponding function.
After reading the functional configuration information of chip pin, according to this functional configuration information that chip pin is corresponding with functional configuration information, be each chip pin coupling functional configuration information corresponding with it.After coupling is finished, according to the information in the functional configuration information and indication, for each chip pin disposes corresponding function, multiplexing for behind chip enable, carrying out.
The embodiment of the invention reads the functional configuration information of each chip pin of wherein storing by when chip power resets from the storer of chip, and is that chip pin disposes corresponding function according to functional configuration information.Each functions of pins to chip is carried out flexible configuration, when chip operation, dynamically change multiplexing to the default function of each chip pin, thereby improved the reliability of chip pin function configuration, and made things convenient for the cabling of PCB, further brought great convenience for the design of PCB circuit.
With reference to Fig. 3, Fig. 3 is the schematic flow sheet of collocation method second embodiment of chip pin function of the present invention.
On the basis of collocation method first embodiment of chip pin function of the present invention, before execution in step S100, this method also comprises:
Step S300 receives the functional configuration information of the chip pin that writes, and stores this functional configuration information.
Before chip power, at first according to the actual requirements, according to the function of imagination according to the required configuration of each chip pin of chip, generation is at the functional configuration information of each chip pin, and all functional configuration information is written in the storer of functional configuration information, and storer is stored to assigned address with it after receiving the functional configuration information that writes, be convenient to when chip power resets, read the functional configuration information of storage from this assigned address.In the present embodiment, storer can adopt as power down such as ROM, FLASH and EEPROM loss storage not.
Before chip power, the functional configuration information at each chip pin that reception writes, and store this functional configuration information to assigned address, thereby for each functions of pins of chip is carried out flexible configuration, the reliability that improves the chip pin function configuration provides the foundation.
The present invention also provides a kind of chip.
With reference to Fig. 4, Fig. 4 is the structural representation of chip first embodiment of the present invention.
The chip that present embodiment provides comprises chip pin, also comprises the main control module 100 that is arranged in the chip and the configuration module 200 that is connected with this main control module 100, wherein:
Main control module 100, the functional configuration information for the chip pin that reads storage is sent to configuration module with the functional configuration information that reads;
Configuration module 200 is for the functional configuration information that reads according to main control module, for chip pin disposes corresponding function.
When chip power resets, main control module 100 reads the functional configuration information of each chip pin of wherein storing from the storer of chip, and the functional configuration information that reads is sent to configuration module 200, this main control module 100 also is used for control configuration module 200 and carries out corresponding configuration operation.In the present embodiment, this functional configuration information is for to be written in the storer in advance according to the actual requirements, it is the function generation according to the correspondence that disposes for the chip pin except the pin of power supply and ground connection in the chip, and the function of chip pin comprises functions such as common input/output function, digital circuit specific function input/output function and mimic channel specific function input/output function at least, can be the combination in any of each chip pin configuration simple function or a plurality of functions in functional configuration information.When the chip operate as normal, cannot change the chip pin function configuration, can only dynamically change multiplexing to the default function of each chip pin.
In the present embodiment, digital circuit specific function input/output function can comprise as functions such as SPI communication and PWM outputs; Mimic channel specific function input/output function can comprise as functions such as comparer input and analog to digital converter inputs.
After main control module 100 reads the functional configuration information of chip pin and is sent to configuration module 200, configuration module 200 receives the steering order of main control module 100, according to the corresponding relation of chip pin with the functional configuration information that reads, according to the information in the functional configuration information, for each chip pin disposes corresponding function.
In the present embodiment, configuration module 200 specifically is used for:
Read the functional configuration information of chip pin at main control module 100 after, configuration module 200 is according to this functional configuration information, and chip pin is corresponding with functional configuration information, is each chip pin coupling functional configuration information corresponding with it.After coupling is finished, according to the information in the functional configuration information and indication, for each chip pin disposes corresponding function, multiplexing for behind chip enable, carrying out.
The embodiment of the invention reads the functional configuration information of each chip pin of wherein storing by when chip power resets from the storer of chip, and is that chip pin disposes corresponding function according to functional configuration information.Each functions of pins to chip is carried out flexible configuration, when chip operation, dynamically change multiplexing to the default function of each chip pin, thereby improved the reliability of chip pin function configuration, and made things convenient for the cabling of PCB, further brought great convenience for the design of PCB circuit.
With reference to Fig. 5, Fig. 5 is the structural representation of chip second embodiment of the present invention.
On the basis of chip first embodiment of the present invention, this chip also comprises:
Storer 300 is used for receiving the functional configuration information of the chip pin that writes, and stores this functional configuration information.
Before chip power, at first according to the actual requirements, according to the function of imagination according to the required configuration of each chip pin of chip, generation is at the functional configuration information of each chip pin, and all functional configuration information is written in the storer 300 of functional configuration information, and storer 300 is stored to assigned address with it after receiving the functional configuration information that writes, be convenient to when chip power resets, read the functional configuration information of storage from this assigned address.In the present embodiment, storer 300 can adopt as power down such as ROM, FLASH and EEPROM loss storage not.
Before chip power, the functional configuration information at each chip pin that reception writes, and store this functional configuration information to assigned address, thereby for each functions of pins of chip is carried out flexible configuration, the reliability that improves the chip pin function configuration provides the foundation.
The above only is the preferred embodiments of the present invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to do; or directly or indirectly be used in other relevant technical fields, all in like manner be included in scope of patent protection of the present invention.

Claims (8)

1. the collocation method of a chip pin function is characterized in that, comprises step:
Read the functional configuration information of the chip pin of storage;
According to the described functional configuration information that reads, for chip pin disposes corresponding function.
2. the collocation method of chip pin function according to claim 1, it is characterized in that, described functional configuration information is to generate according to the function of chip pin correspondence, and it is one of following that the function of chip pin comprises at least: common input/output function, digital circuit specific function input/output function and mimic channel specific function input/output function.
3. the collocation method of chip pin function according to claim 2 is characterized in that, before the step of the functional configuration information of carrying out the described chip pin that reads storage, also comprises:
The functional configuration information of the chip pin that reception writes, and store this functional configuration information.
4. according to the collocation method of each described chip pin function in the claim 1 to 3, it is characterized in that the described functional configuration information that described basis reads specifically comprises for chip pin disposes corresponding function institute step:
According to the described functional configuration information that reads, chip pin and functional configuration information are mated;
According to matching result, for chip pin disposes corresponding function.
5. a chip comprises chip pin, it is characterized in that, also comprises the main control module that is arranged in the described chip and the configuration module that is connected with this main control module, wherein:
Described main control module, the functional configuration information for the chip pin that reads storage is sent to configuration module with the described functional configuration information that reads;
Described configuration module is for the described functional configuration information that reads according to main control module, for chip pin disposes corresponding function.
6. chip according to claim 5, it is characterized in that, described functional configuration information is to generate according to the function of chip pin correspondence, and it is one of following that the function of chip pin comprises at least: common input/output function, digital circuit specific function input/output function and mimic channel specific function input/output function.
7. chip according to claim 6 is characterized in that, also comprises:
Storer is used for receiving the functional configuration information of the chip pin that writes, and stores this functional configuration information.
8. according to each described chip in the claim 5 to 7, it is characterized in that described configuration module specifically is used for:
According to the described functional configuration information that reads, chip pin and functional configuration information are mated;
According to matching result, for chip pin disposes corresponding function.
CN2013101484820A 2013-04-25 2013-04-25 Configuration method of functions of chip pin and chip Pending CN103279436A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013101484820A CN103279436A (en) 2013-04-25 2013-04-25 Configuration method of functions of chip pin and chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013101484820A CN103279436A (en) 2013-04-25 2013-04-25 Configuration method of functions of chip pin and chip

Publications (1)

Publication Number Publication Date
CN103279436A true CN103279436A (en) 2013-09-04

Family

ID=49061962

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013101484820A Pending CN103279436A (en) 2013-04-25 2013-04-25 Configuration method of functions of chip pin and chip

Country Status (1)

Country Link
CN (1) CN103279436A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015196578A1 (en) * 2014-06-25 2015-12-30 深圳市中兴微电子技术有限公司 Method and apparatus for pin multiplexing
CN105223492A (en) * 2015-10-23 2016-01-06 英特格灵芯片(天津)有限公司 A kind of chip pin configuration-system and method thereof
CN108700855A (en) * 2017-03-09 2018-10-23 深圳市大疆创新科技有限公司 The channels F control method and device
CN110674077A (en) * 2019-09-26 2020-01-10 北京智芯微电子科技有限公司 FPGA-based digital pin conversion device and method
CN113268026A (en) * 2021-05-20 2021-08-17 无锡矽杰微电子有限公司 Pin configuration method of MCU chip and MCU chip
CN113300005A (en) * 2020-02-21 2021-08-24 Oppo广东移动通信有限公司 Electric quantity detection device and method and electronic equipment
CN115938288A (en) * 2022-12-05 2023-04-07 无锡芯涛微电子科技有限公司 LED display line driving chip and line address mapping method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1244069A (en) * 1998-05-28 2000-02-09 密克罗奇普技术公司 Programmable lead assignment for semiconductor device
US20040107303A1 (en) * 2002-11-29 2004-06-03 Daniel Mulligan Configurable integrated circuit for use in a multi-function handheld device
CN101378617A (en) * 2007-08-30 2009-03-04 盛群半导体股份有限公司 Apparatus for dynamically configuring chip pin function

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1244069A (en) * 1998-05-28 2000-02-09 密克罗奇普技术公司 Programmable lead assignment for semiconductor device
US20040107303A1 (en) * 2002-11-29 2004-06-03 Daniel Mulligan Configurable integrated circuit for use in a multi-function handheld device
CN101378617A (en) * 2007-08-30 2009-03-04 盛群半导体股份有限公司 Apparatus for dynamically configuring chip pin function

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015196578A1 (en) * 2014-06-25 2015-12-30 深圳市中兴微电子技术有限公司 Method and apparatus for pin multiplexing
CN105279051A (en) * 2014-06-25 2016-01-27 深圳市中兴微电子技术有限公司 Method and device for realizing multiplexing pin
CN105223492A (en) * 2015-10-23 2016-01-06 英特格灵芯片(天津)有限公司 A kind of chip pin configuration-system and method thereof
CN105223492B (en) * 2015-10-23 2018-08-28 英特格灵芯片(天津)有限公司 A kind of chip pin configuration system and method
CN108700855A (en) * 2017-03-09 2018-10-23 深圳市大疆创新科技有限公司 The channels F control method and device
CN110674077A (en) * 2019-09-26 2020-01-10 北京智芯微电子科技有限公司 FPGA-based digital pin conversion device and method
CN110674077B (en) * 2019-09-26 2023-01-24 北京智芯微电子科技有限公司 FPGA-based digital pin conversion device and method
CN113300005A (en) * 2020-02-21 2021-08-24 Oppo广东移动通信有限公司 Electric quantity detection device and method and electronic equipment
CN113268026A (en) * 2021-05-20 2021-08-17 无锡矽杰微电子有限公司 Pin configuration method of MCU chip and MCU chip
CN113268026B (en) * 2021-05-20 2023-02-28 无锡矽杰微电子有限公司 Pin configuration method of MCU chip
CN115938288A (en) * 2022-12-05 2023-04-07 无锡芯涛微电子科技有限公司 LED display line driving chip and line address mapping method
CN115938288B (en) * 2022-12-05 2024-09-10 无锡芯涛微电子科技有限公司 LED display row driving chip and row address mapping method

Similar Documents

Publication Publication Date Title
CN103279436A (en) Configuration method of functions of chip pin and chip
CN103309408A (en) Function extension combination module for intelligent terminal
US20110276738A1 (en) Sensor node including general-purpose interface port and plug and play function, sensor board including general-purpose interface port and sensor device driver, general-purpose interface port, and operation method of sensor node, sensor board, and general-purpose interface port
CN104317257A (en) System and method for controlling multiple sockets based on wireless internet control
CN102172095A (en) Method for connecting bluetooth devices and bluetooth device
CN104020851A (en) Input device and method for vehicle information codes
CN104461660A (en) Multi-mode dynamic loading method of heterogeneous system
CN103219042A (en) Circuit for realizing program burning through USB interface and memory circuit
CN102981858B (en) Integrated circuit programming system and method based on mobile device
CN105355223A (en) Novel wireless audio playback system and initialization method therefor
CN204028243U (en) A kind of frequency converter debug system
CN205210574U (en) Two obs core control modules based on microcontroller realizes FPGA data configuration
CN203084708U (en) Integrated circuit programming system based on mobile device
CN204680000U (en) The wireless renovator of a kind of DSP program code
CN102236749A (en) Computer equipment capable of additionally setting boost and shutdown time
CN203259592U (en) Electric energy metering device and electric energy metering chip thereof
CN202067551U (en) Multipurpose portable hard disk
CN204206154U (en) The gate circuit conversion equipment of a kind of universal serial port and ISO7816 agreement
CN203588693U (en) Voice circuit structure
CN206004900U (en) Raise one's voice equipment and terminal assembly
CN104111608A (en) Method and device for setting signals and parameters in Simulink model
CN202677385U (en) Interface circuit for application upgrade
CN212726950U (en) Power amplification circuit and device of voice chip and elevator
CN208079133U (en) Smart mobile phone
CN103901248A (en) Voltage detecting circuit in vehicle-mounted equipment and vehicle-mounted equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130904