CN106354683A - Micro-control device and input/output system applied to same - Google Patents
Micro-control device and input/output system applied to same Download PDFInfo
- Publication number
- CN106354683A CN106354683A CN201610851985.8A CN201610851985A CN106354683A CN 106354683 A CN106354683 A CN 106354683A CN 201610851985 A CN201610851985 A CN 201610851985A CN 106354683 A CN106354683 A CN 106354683A
- Authority
- CN
- China
- Prior art keywords
- interface
- data
- input
- output
- engine
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/4068—Electrical coupling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/20—Handling requests for interconnection or transfer for access to input/output bus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0016—Inter-integrated circuit (I2C)
Abstract
The invention provides a micro-control device and an input/output system applied to the same. The input/output system comprises input/output interfaces and an interface management controller which is coupled with a CPU (central processing unit) and the input/output interfaces, wherein the interface management controller is configured to be transformed into a specific interface controller corresponding to a specific interface protocol according to a data transmission request under the specific interface protocol so as to control the input/output interfaces for corresponding data transmission.
Description
Technical field
The present invention relates to technical field of integrated circuits, more particularly to a kind of micromonitor system and be applied to micromonitor system
Input/output.
Background technology
Mcu (micro control unit, micro-control unit), also known as scm (single chip microcomputer,
One chip microcomputer) or single-chip microcomputer, it is that (central processing unit, central authorities are processed by the cpu of computer
Device), ram (random access memory, random access memory), rom (read-only memory, read only memory), fixed
Hour counter and multiple i/o (input/output, input/output interface) are integrated on one chip, form the micro- of chip-scale
Control device.On the basis of this hardware circuit, data to be processed, computational methods, step, operational order are compiled into program,
Deposit in memorizer inside or outside mcu, mcu chip operationally automatically, continuously can take out from memorizer and hold
OK.
Appearance with large scale integrated circuit and its development, current mcu chip utilizes advanced technology and powerful
Processor core is built, and can complete more more complicated tasks compared to former generation, the trend of mcu chip is will be increasing
Function integrates.Therefore, from primary processor is more and more crowded with the i/o interface quantity that carries out data transmission of outside, class
Type becomes more various and complicated, increased chip design complexities and difficulty, and, often can't fully meet user's
Expected value is it is impossible to provide the user the additional functionality outside the function of having designed.
Refer to Fig. 1, it is the configuration diagram of conventional mcu chip in prior art.As shown in figure 1, this mcu chip
Including: substrate, positioned at the primary processor 11 of substrate, positioned at the input/output interface 13 of substrate perimeter, positioned at primary processor 11 He
Between input/output interface 13 and be located on the functional module interface 12 of primary processor 11, wherein functional module interface 12 type
Various, (universal asynchronous receiver/transmitter, universal asynchronous receiving-transmitting transmits for example uart
Device) functional module interface, i2c (inter-integrated circuit, inter-integrated circuit) functional module interface, spi
(serial peripheral interface, Serial Peripheral Interface (SPI)) functional module interface, qep (quadrature encoder
Pulse, quadrature coding pulse) functional module interface, ecap functional module interface etc., and each functional module interface is according to reality
Demand and quantity differ (can be one or more, and multiple can make different layouts according to the actual requirements).Wherein, interface work(
Energy module 12 is coupled in the input/output interface 13 of outside by interface multiplexer or corsspoint switch matrix structure 14, thus
Realize interface function corresponding with functional module interface 12.In the prior art, functional module interface 12 and input/output interface
Coupled relation between 13 is realized by interface multiplexer or corsspoint switch matrix structure 14, so certainly will increased electricity
The complexity on road and the difficulty of chip design, and because Technology (such as chip size and integrated technique) and market are considered
(such as cost or customer group), the coupled relation between functional module interface 12 and input/output interface 13 is solidifying and setting
, input/output interface 13 is limited to the function designed by functional module interface 12 coupled thereto, i.e. input/output interface
The function of 13 functional module interfaces 12 being only provided that specific function coupled thereto is it is impossible to make other changes.
In one case, targeted user may only need to the input/output interface of partial function in mcu chip and
All might not must need institute's functional input/output interface in mcu chip, so, just certainly will cause part of functions
The idle waste of input/output interface and increase mcu chip manufacturing cost;And in another scenario, the mcu chip base of molding
Originally it is to be difficult to realize extension, i.e. the functional module interface 12 of new function cannot be increased or cannot pass through to change interface duplex
Device or corsspoint switch matrix structure 14 are setting up coupled relation between new functional module interface 12 and input/output interface 13.
Content of the invention
The present invention provides a kind of micromonitor system and the input/output being applied to micromonitor system, existing for solving
The problems such as have complicated, input/output interface the function solidification of circuit structure in mcu chip structure in technology can not adjust.
For achieving the above object and other purposes, the present invention provides a kind of input/output system being applied to micromonitor system
System, described micromonitor system includes primary processor, and described input/output includes:
Input/output interface;And
Interface management controller, is coupled in described primary processor and described input/output interface;Described interface management controls
Device is configured to according to the data transfer request under special interface agreement and is converted to spy corresponding with described special interface agreement
Inhibition and generation interface controller, to control described input/output interface to carry out corresponding data transfer.
In some embodiments, described interface management controller is configured to be passed according to the data under special interface agreement
Defeated request and be converted to specialization interface controller corresponding with described special interface agreement, to control described input/output to connect
Mouth executes corresponding data transfer, comprising:
Described interface management controller is configured to the data under the special interface agreement according to the initiation of described primary processor
Output is asked and is converted to specialization interface controller corresponding with described special interface agreement to control described input/output to connect
Data in the described data output request of mouth output correspondence;Or
Described interface management controller is configured to according to the external data input request under special interface agreement change
It is that specialization interface controller corresponding with described special interface agreement is corresponding described to control described input/output interface to receive
Data in external data input request.
In some embodiments, described interface management controller includes: data input deposit unit, is coupled in described defeated
Enter/output interface, be configured to store the data entry information of described input/output interface;Data output deposit unit, coupling
In described input/output interface, it is configured to store the data out message of described input/output interface.
In some embodiments, described interface management controller also includes: programmable interface engine, is coupled in described master
Processor, described data input deposit unit and described data output deposit unit;Described programmable interface engine is configured
It is the data output request under the special interface agreement according to the initiation of described primary processor, execution and the request of described data output are right
The interface programming information answered and program and turn to specialization interface engine;Or, described programmable interface engine is configured to basis
Via the external data input request of described input deposit unit, execution interface corresponding with the input request of described external data is compiled
Journey information and program and turn to specialization interface engine.
In some embodiments, described interface management controller also includes:
DCU data control unit, is coupled in described programmable interface engine and described data input deposit unit and described number
According to output deposit unit;
Described DCU data control unit is configured to receive the data input control instruction of described programmable interface engine to control
Make described data input deposit unit and data input is carried out by the described input/output interface of coupling;Or, described data control
Unit processed is configured to receive the data output control instruction of described programmable interface engine to control described data output to deposit
Unit carries out data output by the described input/output interface of coupling.
In some embodiments, described interface management controller also includes: triggering logical block, defeated positioned at described data
Enter between deposit unit and described programmable interface engine and be coupled in described data input deposit unit and described programmable connect
Mouth engine;Described triggering logical block is configured to described data input deposit unit and is posted with described data input to detect
The data receiver action of the described input/output interface of memory cell coupling, and there is number detecting described input/output interface
According to the data-triggered information that exports during reception action to described programmable interface engine.
In some embodiments, described interface management controller also includes: memory element, is coupled in described programmable connect
Mouth engine, is configured to the interface programming information that is stored with.
In some embodiments, described memory element is Electrically Erasable Read Only Memory or flash memory.
In some embodiments, described programmable interface engine be programmable logic chip, embedded control chip or
Custom chip.
The application also provides a kind of micromonitor system, including primary processor and input/output, wherein, input/defeated
Go out system and include input/output interface and interface management controller;Described interface management controller is coupled in described primary processor
With described input/output interface;Described interface management controller is configured according to the data transfer request under special interface agreement
And be converted to specialization interface controller corresponding with described special interface agreement, to control described input/output interface to carry out
Corresponding data transfer.
In some embodiments, described interface management controller is configured to be passed according to the data under special interface agreement
Defeated request and be converted to specialization interface controller corresponding with described special interface agreement, to control described input/output to connect
Mouth executes corresponding data transfer, comprising:
Described interface management controller is configured to the data under the special interface agreement according to the initiation of described primary processor
Output is asked and is converted to specialization interface controller corresponding with described special interface agreement to control described input/output to connect
Data in the described data output request of mouth output correspondence;Or
Described interface management controller is configured to according to the external data input request under special interface agreement change
It is that specialization interface controller corresponding with described special interface agreement is corresponding described to control described input/output interface to receive
Data in external data input request.
In some embodiments, described interface management controller includes: data input deposit unit, is coupled in described defeated
Enter/output interface, be configured to store the data entry information of described input/output interface;Data output deposit unit, coupling
In described input/output interface, it is configured to store the data out message of described input/output interface.
In some embodiments, described interface management controller also includes:
Programmable interface engine, is coupled in described primary processor, described data input deposit unit and described data defeated
Go out deposit unit;
Described programmable interface engine is configured to the data under the special interface agreement according to the initiation of described primary processor
Output request, execution asks corresponding interface programming information to program and turn to specialization interface engine with described data output;Or
Person, described programmable interface engine is configured to according to the external data input request via described input deposit unit, execution
Input the corresponding interface programming information of request with described external data and program and turn to specialization interface engine.
In some embodiments, described interface management controller also includes:
DCU data control unit, is coupled in described programmable interface engine and described data input deposit unit and described number
According to output deposit unit;
Described DCU data control unit is configured to receive the data input control instruction of described programmable interface engine to control
Make described data input deposit unit and data input is carried out by the described input/output interface of coupling;Or, described data control
Unit processed is configured to receive the data output control instruction of described programmable interface engine to control described data output to deposit
Unit carries out data output by the described input/output interface of coupling.
In some embodiments, described interface management controller also includes: triggering logical block, defeated positioned at described data
Enter between deposit unit and described programmable interface engine and be coupled in described data input deposit unit and described programmable connect
Mouth engine;Described triggering logical block is configured to described data input deposit unit and is posted with described data input to detect
The data receiver action of the described input/output interface of memory cell coupling, and there is number detecting described input/output interface
According to the data-triggered information that exports during reception action to described programmable interface engine.
In some embodiments, described interface management controller also includes: memory element, is coupled in described programmable connect
Mouth engine, is configured to the interface programming information that is stored with.
In some embodiments, described memory element is Electrically Erasable Read Only Memory or flash memory.
In some embodiments, described programmable interface engine be programmable logic chip, embedded control chip or
Custom chip.
As described above, the micromonitor system of the application and the input/output being applied to micromonitor system, this input/
Output system is type variable input/output, has input/output interface and interface management controller, this interface management control
Device processed is coupled in primary processor and input/output interface, can be assisted according to the special interface in data transfer request in practical application
Discuss and be adaptively converted to specialization interface controller, thus completing corresponding data input/output.
Brief description
Fig. 1 is the configuration diagram of conventional mcu chip in prior art.
Fig. 2 is the block architecture diagram of the application micromonitor system.
Fig. 3 be Fig. 2 in one embodiment realize block diagram.
Fig. 4 be Fig. 2 in another embodiment realize block diagram.
Fig. 5 be Fig. 2 in another embodiment realize block diagram.
Fig. 6 is that Fig. 2 realizes block diagram in another embodiment.
Fig. 7 is that Fig. 2 realizes block diagram in yet another embodiment.
Specific embodiment
Below by way of specific instantiation, presently filed embodiment is described, those skilled in the art can be by this specification
Disclosed content understands other advantages and effect of the application easily.The application can also be by addition different concrete realities
The mode of applying is carried out or applies, and the every details in this specification can also be based on different viewpoints and application, without departing from
Carry out various modifications and changes under spirit herein.
It should be noted that structure depicted in this specification institute accompanying drawings, ratio, size etc., all only in order to coordinate
Content disclosed in bright book, so that those skilled in the art understands and reads, is not limited to the enforceable limit of the application
Fixed condition, therefore do not have technical essential meaning, the adjustment of the modification of any structure, the change of proportionate relationship or size, not
Under impact the application effect that can be generated by and the purpose that can reach, all should still fall and obtain in techniques disclosed in this application content
In the range of covering.
Meanwhile, in this specification cited as " on ", D score, " in " and " one " etc. term, be merely convenient to describe
Understand, and be not used to limit the enforceable scope of the application, being altered or modified of its relativeness, in no essence change technology
Inside hold, when being also considered as the enforceable category of the application.
In view of input/output interface function is solidifying and setting and the disappearance that cannot change in prior art mcu chip, this Shen
Please essentially consist in and propose a kind of new type variable input/output and be configured with the micro- of this type variable input/output
Control device, by this type variable input/output, without predefined and solidify the function of each input/output interface
Type, but specialization with described Data Matching can be adaptively converted to according to the virtual condition of data input/output
Input/output interface framework, realize real change on demand, compared to existing technology, enormously simplify circuit structure and reduction
Design difficulty, increased transmutability and the motility of input/output interface function.
Refer to Fig. 2, be shown as the application micromonitor system block architecture diagram in one embodiment.In present embodiment
In, micromonitor system here illustrates taking mcu chip as a example, mcu (micro control unit, microcontroller list
Unit) it is by central processing unit cpu, memorizer (random access memory ram and/or read only memory), timer conter and multiple defeated
Enter/output interface i/o is integrated on one chip, forms the micromonitor system of chip-scale, is that different application Scene realization is different
Control.
As shown in Fig. 2 the application micromonitor system includes: primary processor 20 and input/output 22.
Primary processor 20 is located at the middle section of substrate.In actual applications, primary processor is cpu (central
Processing unit, CPU), generally ip core (intellectual property core, intellectual property
Core), so-called ip core, generally one party provide, form is logical block, the reusable module in chip design.Cpu is
Computing and control core in mcu chip, can execute program in machine code that software translating completes etc., reach each in control mcu chip
The purpose partly rationally run.
Input/output 22 is type variable input/output, is coupled in primary processor 20, can be according to practical application
In data input/output request in Data Transmission Feature and adaptively change, to realize and the data of required transmission
The input/output function joined, completes data input/output.
On implementing, input/output 22 further includes: input/output interface 21 and interface management control
Device 23.
Input/output interface 21 is large number of, is laid in substrate perimeter.In the present embodiment, input/output interface 21
Input-output characteristic is predefined but transmission mode is undefined, specifically, for any one input/output interface
21, input/output interface 21 is two-way, is sometimes operated in output state, is sometimes operated in input state, sometimes simultaneously defeated
Do well and input state.
Interface management controller 23 is located between primary processor 20 and input/output interface 21 and is coupled in primary processor 20
With input/output interface 21.Interface management controller 23 can be converted to according to the data transfer request under special interface agreement
Specialization interface controller corresponding with described special interface agreement, to control described input/output interface to be counted accordingly
According to transmission.
In the present embodiment, interface management controller 23 is specifically configured to: 1, specific according to primary processor 20 initiation
Data output under interface protocol is asked and is converted to specialization interface controller and exports correspondence with control input/output interface 21
Data in described data output request;2nd, according under special interface agreement external data input request and be converted to described
Special interface agreement corresponding specialization interface controller receives corresponding described external data to control described input/output interface
Data in input request.Due to interface management controller 23 so that each input/output interface 21 can be converted to support data
The type variable input/output interface of the special interface agreement in transmission request, to realize the data under new data-transmission mode
Transmission.
The micromonitor system of the application, including primary processor and input/output, this input/output is variable
Formula input/output, has input/output interface and interface management controller, and this interface management controller is coupled in main place
Reason device and input/output interface, can change according to the special interface agreement in the data input/output request in practical application
For specialization interface controller, thus completing corresponding data input/output.
Refer to Fig. 3, its be Fig. 2 in one embodiment realize block diagram.
As shown in figure 3, input/output 22 includes: input/output interface 21 and interface management controller 23.Interface
Management Controller 23 has further included data input deposit unit 231 data output deposit unit 233.
Data input deposit unit 231 is coupled in input/output interface 21, is configured to store input/output interface 21
Data entry information.Specifically, to be stored in corresponding data defeated for the data entry information of each input/output interface 21
Enter in deposit unit 231.
Data output deposit unit 233 is coupled in input/output interface 21, is configured to store input/output interface 21
Data out message.Specifically, to be stored in corresponding data defeated for the data out message of each input/output interface 21
Go out in deposit unit 233.
In the present embodiment, the data under the special interface agreement that interface management controller 23 is initiated according to primary processor 20
Export request and be converted to specialization interface controller defeated with control data output deposit unit 233 and input/output interface 21
Go out the data in correspondence described data output request, interface management controller 23 is always according to the external data under special interface agreement
Input is asked and is converted to specialization interface controller and is connect with control input/output interface 21 and data input deposit unit 231
Receive the data in corresponding external data input request.By means of interface management controller 23 so that each input/output interface 21
Be converted to the type variable input/output interface supporting the special interface agreement in data transfer request, passed with realizing new data
Data transfer under defeated pattern.
Refer to Fig. 4, its be Fig. 2 in another embodiment realize block diagram.
As shown in figure 4, input/output 22 includes: input/output interface 21 and interface management controller 23.Interface
Management Controller 23 has further included data input deposit unit 231, data output deposit unit 233 and programmable interface engine
235.
Data input deposit unit 231 is coupled in input/output interface 21, is configured to store input/output interface 21
Data entry information.Specifically, to be stored in corresponding data defeated for the data entry information of each input/output interface 21
Enter in deposit unit 231.
Data output deposit unit 233 is coupled in input/output interface 21, is configured to store input/output interface 21
Data out message.Specifically, to be stored in corresponding data defeated for the data out message of each input/output interface 21
Go out in deposit unit 233.
Programmable interface engine 235, is coupled in primary processor 20, data input deposit unit 231 and data output and posts
Memory cell 233.The data that programmable interface engine 235 is configured under the special interface agreement according to primary processor 20 initiation is defeated
Go out request, execution asks corresponding interface programming information to program and turn to specialization interface engine with described data output.Can compile
Journey interface engine 235 is additionally configured to according to the external data input request via input deposit unit 231, and execution is outer with described
Portion's data input request corresponding interface programming information and program and turn to specialization interface engine.In actual applications, programmable
Interface engine 235 is preferably programmable logic chip (such as fpga chip), embedded control chip or custom chip.
In the present embodiment, when micromonitor system will to outside equipment sending data when, data is sent by primary processor 20
Output request, programmable interface engine 235 obtains described data output request from primary processor 20, please according to described data output
Ask and execute the interface protocol code asked with described data output in corresponding interface programming information, thus programming turns to coupling
In the specialization interface engine of described interface protocol, thus control data output deposit unit 233 and input/output interface 21 enter
Row data output.When micromonitor system will receive from the data that external equipment is sent, programmable interface engine 235 basis
(that is, input/output interface 21 exists for the data receiver action of input/output interface 21 and data input deposit unit 231 generation
Data receiver action can regard as there is external data input request), execute interface corresponding with described data input request
Interface protocol code in programming information, thus programming turns to the specialization interface engine being matched with described interface protocol, thus
Control data data input deposit unit 231 and input/output interface 21 carry out data input.
In the present embodiment, the programmable interface engine 235 in interface management controller 23 is according to the number of primary processor 20
Be converted to specialization interface engine according to output request defeated with control data output deposit unit 233 and input/output interface 21
Go out the data in correspondence described data output request, the programmable interface engine 235 in interface management controller 23 is always according to outer
Portion's data input request and be converted to specialization interface engine with control input/output interface 21 and data input deposit unit
231 receive the data in corresponding external data input request.
Refer to Fig. 5, its be Fig. 2 in another embodiment realize block diagram.
As shown in figure 5, input/output 22 includes: input/output interface 21 and interface management controller 23.Interface
Management Controller 23 has further included data input deposit unit 231, data output deposit unit 233, programmable interface engine
235 and DCU data control unit 236.
Data input deposit unit 231 is coupled in input/output interface 21, is configured to store input/output interface 21
Data entry information.Specifically, to be stored in corresponding data defeated for the data entry information of each input/output interface 21
Enter in deposit unit 231.
Data output deposit unit 233 is coupled in input/output interface 21, is configured to store input/output interface 21
Data out message.Specifically, to be stored in corresponding data defeated for the data out message of each input/output interface 21
Go out in deposit unit 233.
Programmable interface engine 235, is coupled in primary processor 20, data input deposit unit 231 and data output and posts
Memory cell 233.The data that programmable interface engine 235 is configured under the special interface agreement according to primary processor 20 initiation is defeated
Go out request, execution asks corresponding interface programming information to program and turn to specialization interface engine with described data output.Can compile
Journey interface engine 235 is additionally configured to according to the external data input request via input deposit unit 231, and execution is outer with described
Portion's data input request corresponding interface programming information and program and turn to specialization interface engine.In actual applications, programmable
Interface engine 235 is preferably programmable logic chip (such as fpga chip), embedded control chip or custom chip.
In the present embodiment, when micromonitor system will to outside equipment sending data when, data is sent by primary processor 20
Output request, programmable interface engine 235 obtains described data output request from primary processor 20, please according to described data output
Ask and execute the interface protocol code asked with described data output in corresponding interface programming information, thus programming turns to coupling
In the specialization interface engine of described interface protocol, to be controlled by instructing to DCU data control unit 236 output data output control
Data output deposit unit 233 processed and input/output interface 21 carry out data output.When micromonitor system will receive from outside
During the data that equipment is sent, programmable interface engine 235 is according to input/output interface 21 and data input deposit unit 231
Occur data receiver action (that is, input/output interface 21 exist data receiver action can regard as there is external data defeated
Enter request), execute the interface protocol code in interface programming information corresponding with described data input request, thus programming turns to
It is matched with the specialization interface engine of described interface protocol, by inputting control instruction to DCU data control unit 236 output data
Carry out control data data input deposit unit 231 and input/output interface 21 carries out data input.
DCU data control unit 236 is coupled in programmable interface engine 235 and data input deposit unit 231 data is defeated
Go out deposit unit 233.In the present embodiment, DCU data control unit 236 is configured to receive programmable interface engine 235 (now,
Programmable interface engine 235 is converted to specialization interface engine) data input control instruction with control data input storage receipt
The input/output interface 21 that unit 231 passes through coupling carries out data input, or, receive programmable interface engine 235 and (now, may be used
DLL engine 235 is converted to specialization interface engine) data output control instruction with control data export deposit unit
233 input/output interfaces 21 passing through coupling carry out data output.
In the present embodiment, the programmable interface engine 235 in interface management controller 23 is according to the number of primary processor 20
Be converted to specialization interface engine according to output request, by coming to the instruction of DCU data control unit 236 output data output control
Control data exports the data in deposit unit 233 and the described data output request of input/output interface 21 output correspondence, interface
Programmable interface engine 235 in Management Controller 23 inputs request always according to external data and is converted to specialization interface and draws
Hold up, by inputting control instruction come control data data input deposit unit 231 and defeated to DCU data control unit 236 output data
Enter/output interface 21 input correspondence described data output request in data.
Refer to Fig. 6, it is that Fig. 2 realizes block diagram in another embodiment.
As shown in fig. 6, input/output 22 includes: input/output interface 21 and interface management controller 23.Interface
Management Controller 23 further included data input deposit unit 231, triggering logical block 232, data output deposit unit 233,
Programmable interface engine 235 and DCU data control unit 236.
Data input deposit unit 231 is coupled in input/output interface 21, is configured to store input/output interface 21
Data entry information.Specifically, to be stored in corresponding data defeated for the data entry information of each input/output interface 21
Enter in deposit unit 231.
Triggering logical block 232 is coupled in data input deposit unit 231 and programmable interface engine 235, is configured to
Detect the data of the input/output interface 21 coupling with data input deposit unit 231 by data input deposit unit 231
Reception action, and (that is, there is number in input/output interface 21 detecting when input/output interface 21 has data receiver action
Can regard as there is external data input request according to reception action) produce a data-triggered information and described data-triggered is believed
Breath sends to programmable interface engine 235.In actual applications, triggering logical block 232 may be designed as edge triggered flip flop (example
As: upper edge triggering, lower edge are triggered, are still both comprised), but be not limited thereto, triggering logical block 232 can also
It is other kinds of trigger, such as level trigger (for example: low level triggering, high level trigger, still both comprise).
Data output deposit unit 233 is coupled in input/output interface 21, is configured to store input/output interface 21
Data out message.Specifically, to be stored in corresponding data defeated for the data out message of each input/output interface 21
Go out in deposit unit 233.
Programmable interface engine 235, is coupled in primary processor 20, triggering logical block 232 and DCU data control unit
236.The data output that programmable interface engine 235 is configured under the special interface agreement according to primary processor 20 initiation please
Ask, execution asks corresponding interface programming information to program and turn to specialization interface engine with described data output.Programmable connect
Mouthful engine 235 is additionally configured to the data-triggered information that sends according to triggering logical block 232, and (this data-triggered information represents
There are external data input request), execution with described external data input request corresponding interface programming information and programming
For specialization interface engine.In actual applications, programmable interface engine 235 preferably be programmable logic chip (for example
Fpga chip), embedded control chip or custom chip.
In the present embodiment, when micromonitor system will to outside equipment sending data when, data is sent by primary processor 20
Output request, programmable interface engine 235 obtains described data output request from primary processor 20, please according to described data output
Ask and execute the interface protocol code asked with described data output in corresponding interface programming information, thus programming turns to coupling
In the specialization interface engine of described interface protocol, to be controlled by instructing to DCU data control unit 236 output data output control
Data output deposit unit 233 processed and input/output interface 21 carry out data output.When micromonitor system will receive from outside
During the data that equipment is sent, triggering logical block 232 detects input/output interface 21, and to there is data receiver action (that is, defeated
Enter/there is data receiver action and can regard as existing external data input request in output interface 21) produce a data-triggered letter
Breath simultaneously sends described data-triggered information to programmable interface engine 235, and programmable interface engine 235 touches according to described data
Photos and sending messages, execute the interface protocol code in interface programming information corresponding with described data input request, thus programming turns to
It is matched with the specialization interface engine of described interface protocol, by inputting control instruction to DCU data control unit 236 output data
Carry out control data data input deposit unit 231 and input/output interface 21 carries out data input.
DCU data control unit 236 is coupled in programmable interface engine 235 and data input deposit unit 231 data is defeated
Go out deposit unit 233.In the present embodiment, DCU data control unit 236 is configured to receive programmable interface engine 235 (now,
Programmable interface engine 235 is converted to specialization interface engine) data input control instruction with control data input storage receipt
The input/output interface 21 that unit 231 passes through coupling carries out data input, or, receive programmable interface engine 235 and (now, may be used
DLL engine 235 is converted to specialization interface engine) data output control instruction with control data export deposit unit
233 input/output interfaces 21 passing through coupling carry out data output.
In the present embodiment, the programmable interface engine 235 in interface management controller 23 is according to the number of primary processor 20
Be converted to specialization interface engine according to output request, by coming to the instruction of DCU data control unit 236 output data output control
Control data exports the data in deposit unit 233 and the described data output request of input/output interface 21 output correspondence, interface
Data-triggered information (the data that programmable interface engine 235 in Management Controller 23 produces always according to triggering logical block 232
Trigger message represents that there are external data input asks) and be converted to specialization interface engine, by Data Control list
Unit 236 output datas input control instructions carry out control data data input deposit unit 231 and input/output interface 21 input right
Answer the data in described data output request.
Refer to Fig. 7, it is that Fig. 2 realizes block diagram in yet another embodiment.
As shown in fig. 7, interface management controller 23 further includes: data input deposit unit 231, triggering logical block
232nd, data output deposit unit 233, memory element 234, programmable interface engine 235 and DCU data control unit 236.
Data input deposit unit 231 is coupled in input/output interface 21, is configured to store input/output interface 21
Data entry information.Specifically, to be stored in corresponding data defeated for the data entry information of each input/output interface 21
Enter in deposit unit 231.
Triggering logical block 232 is coupled in data input deposit unit 231 and programmable interface engine 235, is configured to
Detect the data of the input/output interface 21 coupling with data input deposit unit 231 by data input deposit unit 231
Reception action, and (that is, there is number in input/output interface 21 detecting when input/output interface 21 has data receiver action
Can regard as there is external data input request according to reception action) produce a data-triggered information and described data-triggered is believed
Breath sends to programmable interface engine 235.In actual applications, triggering logical block 232 may be designed as edge triggered flip flop (example
As: upper edge triggering, lower edge are triggered, are still both comprised), but be not limited thereto, triggering logical block 232 can also
It is other kinds of trigger, such as level trigger (for example: low level triggering, high level trigger, still both comprise).
Data output deposit unit 233 is coupled in input/output interface 21, is configured to store input/output interface 21
Data out message.Specifically, to be stored in corresponding data defeated for the data out message of each input/output interface 21
Go out in deposit unit 233.
Memory element 234 is configured to the information of correlation that is stored with.In the present embodiment, memory element 234 is mainly used in
Store two category informations: a class is parameter definition information, this class parameter definition information is for defining interface Management Controller 23
In each functional unit basic parameter.These parameter definition information can for example include: the attribute of each input/output interface,
That is, a certain input/output interface is the definition as input interface or output interface;The triggering of triggering logical block 232 is fixed
Justice, i.e. a certain triggering logical block 232 is that edge triggered flip flop (upper edge triggering, lower edge are triggered or both comprised) is gone back
Be level trigger (low level triggering, high level triggering, or both comprise) etc..Another kind of is interface protocol code.Micro-
Control device is wanted to complete data transfer it is necessary to support certain interface protocol.
For example: in one case, when micromonitor system is connected from different external equipments and needs to carry out data transmission,
It is assumed that wherein, external equipment a supporting interface agreement a, external equipment b supporting interface agreement b, then in data transfer, microcontroller
The input/output interface being connected with external equipment a in device must be just can supporting interface agreement a, with realize micromonitor system with
The data transfer of external equipment a, the input/output interface being connected with external equipment b in micromonitor system must be just to support to connect
Mouth agreement b, to realize the data transfer of micromonitor system and external equipment b.
For example: in another scenario, micromonitor system is connected with an external equipment but need to process different types of data
Transmission it is assumed that data support interfaces agreement c of c type in this external equipment, data support interfaces agreement d of d type, then,
Must be connect by means of support in micromonitor system during the data transfer of the data that micromonitor system carries out c type with this external equipment
Realizing, micromonitor system and this external equipment carry out the data transfer of the data of d type to the input/output interface of mouthful agreement c
When must be realized by means of the input/output interface of supporting interface agreement d in micromonitor system.Therefore, for different outer
Portion's equipment or different types of data are directed to different external equipment or different types of it is desirable to be equipped with micromonitor system
Data and configure the interface protocol of the data that can support these external equipments and these types.
In actual applications, memory element 234 is programmable storage, the read-only storage of for example, one electrically erasable
Device (erasable programmable read only memory, eprom) or a flash memory flash memory, so, use
Family can as desired memory element 234 be programmed it may be assumed that can as needed by the parameter definition information of required application and/
Or interface protocol is write, also can by written into parameter definition information and/or interface protocol wiped after rewrite again,
Deng.
The interface protocol code as it was previously stated, memory element 234 is stored with.In actual applications, for general microcontroller
Device, micromonitor system can configure the input/output interface 21 supporting the corresponding interface agreement.In actual applications, for covering more
On a large scale data transfer it is however generally that, each common on the market interface protocol all can be deposited in memory element 234
Storage.Specifically, this interface protocol may include such as uart interface protocol, i2c interface protocol, spi interface protocol, i2s interface
Agreement, ecap interface protocol, qep interface protocol etc..Uart is one kind of asynchronous serial communication agreement, for asynchronous communication.One
As, uart is used for communicate between main frame and auxiliary equipment, data is changed by serial communication and parallel communicationss catch cropping transmission (and
Row incoming serial exports), operation principle is to transmit each character one of transmission data with connecing one.Using simultaneously inside main frame
Row data just can carry out asynchronous transmission it is impossible to directly data is dealt into serial device it is necessary to arrange through uart, and its process is:
Mcu or cpu in main frame is first put into the data preparing write serial device in uart, then passes through fifo (first input
First output, FIFO) it is sent to serial device.I2c is the twin wire universal serial bus developed by philips company,
For connecting microcontroller and its ancillary equipment.The meaning of i2c bus is that " information between integrated circuit or functional unit that completes is handed over
The specification changed or agreement ", is a kind of widely used bus standard in microelectronics Control on Communication field, it is one kind of synchronous communication
Specific form, has the advantages of interface line is few, and control mode is simple, and device packing forms are little, traffic rate is higher.Spi be by
The communication protocol that motorola proposes.Spi is a kind of synchronous serial peripheral interface, it support main frame (include cpu or mcu) with each
Plant and synchronize serial data transmission between peripheral low-speed device, under the shift pulse of main frame, data step-by-step is transmitted, and a high position exists
Before, low level rear, is full-duplex communication, and data transmission bauds is faster than i2c bus on the whole, and speed can reach several mbps.
I2s (inter-ic sound, integrated circuit built-in audio bus), is that PHILIPS Co. is directed to digital audio-frequency apparatus (as cd broadcasts
Put device, digital sound effect processor, DTV sound system) between voice data transmission and a kind of bus standard of formulating.
This bus specializes in the data transfer between audio frequency apparatus, is widely used in various multimedia systems.It employs along independent
The design of wire transmission clock and data signal, by separating data with clock signal, it is to avoid the distortion that induces because of the time difference,
Save the expense of the professional equipment buying opposing audio jitter for user.Qep (quadrature encoder pulse, just
Hand over coded pulse circuit), be ti company of Texas Instruments (Texas Instruments) dsp in a mould in task manager
Block.After qep circuit is enabled, the quadrature coding pulse signal of input on pin cap1/qep1 and cap2/qep2 can be carried out
Decoding and counting, qep circuit is generally used for the photoelectric encoder interface of rotating machinery, to obtain its position and rate information.
Programmable interface engine 235 be coupled in primary processor 20, triggering logical block 232, DCU data control unit 236, with
And memory element 234, it is configured to the number that the data output request according to primary processor 20 or triggering logical block 232 send
Access memory element 234 according to trigger message and obtain and described data output request or described external number from memory element 234
Ask corresponding interface programming information according to input, program by executing the described interface programming information that obtains that to turn to specialization defeated
Enter/output interface engine.In actual applications, programmable interface engine 235 is preferably programmable logic chip (such as fpga
Chip), embedded control chip or custom chip.
In the present embodiment, when micromonitor system will to outside equipment sending data when, data is sent by primary processor 20
Output request, programmable interface engine 235 obtains described data output request from primary processor 20, please according to described data output
Ask and access memory element 234 and obtain and the described data output corresponding interface programming information of request from memory element 234, hold
Interface protocol code in the described interface programming information of row, thus programming turns to the specialization interface being matched with described interface protocol
Engine, exports deposit unit 233 and defeated by carrying out control data to the instruction of DCU data control unit 236 output data output control
Enter/output interface 21 carries out data output;When micromonitor system will receive from the data that external equipment is sent, triggering is patrolled
Volume unit 232 detects input/output interface 21 to be had data receiver action (that is, input/output interface 21 has data receiver
Action can regard as there is external data input request) produce a data-triggered information and described data-triggered information is sent
To programmable interface engine 235, programmable interface engine 235 accesses memory element 234 simultaneously according to described data-triggered information
Obtain interface programming information corresponding with described data input request from memory element 234, execute in described interface programming information
Interface protocol code, thus programming turn to the specialization interface engine being matched with described interface protocol, by Data Control
Unit 236 output data input control instruction carrys out control data data input deposit unit 231 and input/output interface 21 is carried out
Data input.
DCU data control unit 236 is coupled in programmable interface engine 235 and data input deposit unit 231 data is defeated
Go out deposit unit 233.In the present embodiment, DCU data control unit 236 is configured to receive programmable interface engine 235 (now,
Programmable interface engine 235 is converted to specialization interface engine) data input control instruction with control data input storage receipt
The input/output interface 21 that unit 231 passes through coupling carries out data input, or, receive programmable interface engine 235 and (now, may be used
DLL engine 235 is converted to specialization interface engine) data output control instruction with control data export deposit unit
233 input/output interfaces 21 passing through coupling carry out data output.
In the present embodiment, the programmable interface engine 235 in interface management controller 23 is according to the number of primary processor 20
Access memory element 234 according to output request and obtain interface volume corresponding with the request of described data output from memory element 234
Journey information, executes the interface protocol code in described interface programming information and is converted to specialization interface engine, by data
The instruction of control unit 236 output data output control carrys out control data output deposit unit 233 and input/output interface 21 exports
Data in correspondence described data output request, the programmable interface engine 235 in interface management controller 23 is always according to triggering
Data-triggered information that logical block 232 produces (this data-triggered information represent there are external data input request) and is visited
Ask memory element 234 and obtain interface programming information corresponding with described data input request from memory element 234, execution is described
Interface protocol code in interface programming information, thus programming turns to the specialization interface engine being matched with described interface protocol,
By to DCU data control unit 236 output data input control instruction come control data data input deposit unit 231 and input/
Output interface 21 carries out data input.
It is described in detail below for the application micromonitor system example in actual applications.
Example one: uart interface
Uart is one kind of asynchronous serial communication agreement, for asynchronous communication.In uart interface protocol, pintxBe for
It is sent out data, pinrxIt is for from external reception data, using pintxAnd pinrxData is carried out with fixing transfer rate
Transmission.Under data transmission modes, programmable interface engine obtains data output request from primary processor, defeated according to described data
Go out request and access memory element and obtain and the described data output corresponding uart tx code of request from memory element, execution
Uart tx code, thus programming turns to the uart engine being matched with described uart interface protocol, this uart engine will be given birth to simultaneously
Become status information (such as start bit, data bit and stop position etc.).DCU data control unit just goes to drive using these status informations
Dynamic data output deposit unit and input/output interface, using pintxCarry out data output.Under data receiver pattern, by counting
Latch according to input deposit unit and pin is utilized by input/output interfacerxThe data receiving, triggering logical block detects correspondence
The data receiver action of input/output interface after just output one data-triggered information to programmable interface engine, programmable connect
Mouth engine accesses memory element and obtains and described data input request pair from memory element according to described data-triggered information
The uart rx code answered, executes uart rx code, thus programming turns to the uart engine being matched with described uart interface protocol,
This uart engine will generate status information (such as start bit, data bit and stop position etc.) simultaneously.DCU data control unit is just
Control process data input deposit unit is gone to utilize pin by the input/output interface of coupling using these status informationsrxDefeated
Enter data, and these data are transferred to primary processor.
Due in input/output programmable interface engine be to be coupled directly to data input deposit unit data
Output deposit unit, eliminates interface multiplexer or corsspoint switch matrix structure, and the programmable interface engine moment monitors number
(it is coupled in each input/output according to input deposit unit (being coupled in each input/output interface) data output deposit unit
Interface), many data transfer activity can be tackled simultaneously.
Example two: i2c interface
I2c is the many universal serial bus from formula of the many masters being developed by philips company, for connecting microcontroller and its periphery
Equipment.I2c bus adopts serial data line (sda, serial data) plus serial time clock line (scl, serial clock)
Become the transmission of data and the extension of peripheral components.In this example two it is assumed that input/output be a main i2c and it will drive
Dynamic serial clock.
Under data transmission modes, when primary processor needs to send data, programmable interface engine obtains independently locating
The data output request of reason device, accesses memory element and obtains and described number from memory element according to the request of described data output
Ask corresponding i2c code according to output, execute i2c code, thus programming turns to and is matched with the i2c of described i2c interface protocol and draws
Hold up, this i2c engine will generate status information (for example: initial state, address state, data mode etc.) simultaneously.Data Control
Unit carries out data output according to these status informations come driving data output deposit unit and Monitoring Data input simultaneously is deposited
Unit.
Under data receiver pattern, triggering logical block Monitoring Data input deposit unit, and corresponding defeated detecting
Enter/output interface receive after the data receiver action of i2c bus just output one data-triggered information to programmable interface
Engine, programmable interface engine accesses memory element and obtains and described number from memory element according to described data-triggered information
Ask corresponding i2c code according to input, execute i2c code, thus programming turns to and is matched with the i2c of described i2c interface protocol and draws
Hold up, this i2c engine will generate the status information corresponding to i2c interface protocol simultaneously.DCU data control unit is according to these states
Information is processing input data by data input deposit unit and by these data transfers to primary processor.
Due in input/output programmable interface engine be to be coupled directly to data input deposit unit data
Output deposit unit, eliminates interface multiplexer or corsspoint switch matrix structure, and the programmable interface engine moment monitors number
(it is coupled in each input/output according to input deposit unit (being coupled in each input/output interface) data output deposit unit
Interface), many data transfer activity can be tackled simultaneously.
As described above, the micromonitor system of the application and the input/output being applied to micromonitor system, this input/
Output system is type variable input/output, has input/output interface and interface management controller, this interface management control
Device processed is coupled in primary processor and input/output interface, can be according to the interface in the data input/output request in practical application
Agreement and be converted to specialization interface controller, thus completing corresponding data input/output.
With respect to prior art, the application micromonitor system and be applied to the input/output of micromonitor system and save
Interface multiplexer or corsspoint switch matrix structure, simplify input/output interface design, meanwhile, input/output energy according to
Data Transmission Feature in current data input/output request and make adaptive coupling, be produced in micromonitor system
Input/output can still provide for programming afterwards, increased its transmutability, motility and extensibility.
Simultaneously as input/output is type variable input/output, grasp each input/output without user
The definite definition (definition of input/output interface be change) of interface, reduce user using threshold and be more beneficial for using
Family uses.In addition, as it was previously stated, input/output eliminates interface multiplexer or corsspoint switch matrix structure, and more based on
Want, because the interface management controller in input/output is software implementation (the interface association that it can be write by execution
Discuss code and program and turn to specialization interface controller), design quantity need not need to differ function not when making as prior art
The circuit hardware of same multiple functional module interfaces, saves chip area and power consumption.
Above-described embodiment only principle of illustrative the application and its effect, not for restriction the application.Any ripe
Know the personage of this technology all can without prejudice to spirit herein and under the scope of, modifications and changes are carried out to above-described embodiment.Cause
This, those of ordinary skill in the art is complete with institute under technological thought without departing from spirit disclosed herein such as
All equivalent modifications becoming or change, must be covered by claims hereof.
Claims (18)
1. a kind of input/output being applied to micromonitor system, described micromonitor system includes primary processor, and its feature exists
In described input/output includes:
Input/output interface;And
Interface management controller, is coupled in described primary processor and described input/output interface;Described interface management controller quilt
It is configured to according to the data transfer request under special interface agreement and be converted to specialization corresponding with described special interface agreement
Interface controller, to control described input/output interface to carry out corresponding data transfer.
2. input/output according to claim 1 is it is characterised in that described interface management controller is configured to
Specialization interface control corresponding with described special interface agreement is converted to according to the data transfer request under special interface agreement
Device processed, to control described input/output interface to execute corresponding data transfer, comprising:
Described interface management controller is configured to the data output under the special interface agreement according to the initiation of described primary processor
Ask and be converted to specialization interface controller corresponding with described special interface agreement to control described input/output interface defeated
Go out the data in correspondence described data output request;Or
Described interface management controller is configured to according to the external data input request under special interface agreement and is converted to spy
Inhibition and generation interface controller receives the data in correspondence described external data input request to control described input/output interface.
3. input/output according to claim 1 and 2 is it is characterised in that described interface management controller includes:
Data input deposit unit, is coupled in described input/output interface, is configured to store described input/output interface
Data entry information;And
Data output deposit unit, is coupled in described input/output interface, is configured to store described input/output interface
Data out message.
4. input/output according to claim 3 is it is characterised in that described interface management controller also includes:
Programmable interface engine, is coupled in described primary processor, described data input deposit unit and described data output and posts
Memory cell;
Described programmable interface engine is configured to the data output under the special interface agreement according to the initiation of described primary processor
Request, execution asks corresponding interface programming information to program and turn to specialization interface engine with described data output;Or, institute
State programmable interface engine be configured to according to via described input deposit unit external data input request, execution with described
External data input asks corresponding interface programming information to program and turn to specialization interface engine.
5. input/output according to claim 4 is it is characterised in that described interface management controller also includes:
DCU data control unit, is coupled in described programmable interface engine and described data input deposit unit and described data is defeated
Go out deposit unit;
Described DCU data control unit is configured to receive the data input control instruction of described programmable interface engine to control
State data input deposit unit and data input is carried out by the described input/output interface of coupling;Or, described Data Control list
Unit is configured to receive the data output control instruction of described programmable interface engine to control described data output deposit unit
Data output is carried out by the described input/output interface of coupling.
6. input/output according to claim 4 is it is characterised in that described interface management controller also includes:
Triggering logical block, between described data input deposit unit and described programmable interface engine and be coupled in described
Data input deposit unit and described programmable interface engine;Described triggering logical block is configured to described data input
Deposit unit detecting the data receiver action of the described input/output interface coupling with described data input deposit unit, and
A data-triggered information is exported detecting to described programmable interface when described input/output interface has data receiver action
Engine.
7. input/output according to claim 4 is it is characterised in that described interface management controller also includes:
Memory element, is coupled in described programmable interface engine, is configured to the interface programming information that is stored with.
8. input/output according to claim 7 is it is characterised in that described memory element can be compiled for electric erasable
Journey read only memory or flash memory.
9. input/output according to claim 4 is it is characterised in that described programmable interface engine is programmable
Logic chip, embedded control chip or custom chip.
10. a kind of micromonitor system is it is characterised in that include:
Primary processor;And
Input/output, including input/output interface and interface management controller;Described interface management controller is coupled in
Described primary processor and described input/output interface;Described interface management controller is configured according under special interface agreement
Data transfer request and be converted to specialization interface controller corresponding with described special interface agreement, with control described input/
Output interface carries out corresponding data transfer.
11. micromonitor systems according to claim 10 are it is characterised in that described interface management controller is configured to root
Be converted to specialization Interface Controller corresponding with described special interface agreement according to the data transfer request under special interface agreement
Device, to control described input/output interface to execute corresponding data transfer, comprising:
Described interface management controller is configured to the data output under the special interface agreement according to the initiation of described primary processor
Ask and be converted to specialization interface controller corresponding with described special interface agreement to control described input/output interface defeated
Go out the data in correspondence described data output request;Or
Described interface management controller be configured to according under special interface agreement external data input request and be converted to
The corresponding specialization interface controller of described special interface agreement receives corresponding described outside to control described input/output interface
Data in data input request.
12. micromonitor systems according to claim 10 or 11 are it is characterised in that described interface management controller includes:
Data input deposit unit, is coupled in described input/output interface, is configured to store described input/output interface
Data entry information;And
Data output deposit unit, is coupled in described input/output interface, is configured to store described input/output interface
Data out message.
13. micromonitor systems according to claim 12 are it is characterised in that described interface management controller also includes:
Programmable interface engine, is coupled in described primary processor, described data input deposit unit and described data output and posts
Memory cell;
Described programmable interface engine is configured to the data output under the special interface agreement according to the initiation of described primary processor
Request, execution asks corresponding interface programming information to program and turn to specialization interface engine with described data output;Or, institute
State programmable interface engine be configured to according to via described input deposit unit external data input request, execution with described
External data input asks corresponding interface programming information to program and turn to specialization interface engine.
14. micromonitor systems according to claim 13 are it is characterised in that described interface management controller also includes:
DCU data control unit, is coupled in described programmable interface engine and described data input deposit unit and described data is defeated
Go out deposit unit;
Described DCU data control unit is configured to receive the data input control instruction of described programmable interface engine to control
State data input deposit unit and data input is carried out by the described input/output interface of coupling;Or, described Data Control list
Unit is configured to receive the data output control instruction of described programmable interface engine to control described data output deposit unit
Data output is carried out by the described input/output interface of coupling.
15. micromonitor systems according to claim 13 are it is characterised in that described interface management controller also includes:
Triggering logical block, between described data input deposit unit and described programmable interface engine and be coupled in described
Data input deposit unit and described programmable interface engine;Described triggering logical block is configured to described data input
Deposit unit detecting the data receiver action of the described input/output interface coupling with described data input deposit unit, and
A data-triggered information is exported detecting to described programmable interface when described input/output interface has data receiver action
Engine.
16. micromonitor systems according to claim 13 are it is characterised in that described interface management controller also includes:
Memory element, is coupled in described programmable interface engine, is configured to the interface programming information that is stored with.
17. micromonitor systems according to claim 16 are it is characterised in that described memory element is electrically erasable
Read only memory or flash memory.
18. micromonitor systems according to claim 13 are it is characterised in that described programmable interface engine is programmable patrolling
Collect chip, embedded control chip or custom chip.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610851985.8A CN106354683B (en) | 2016-09-26 | 2016-09-26 | Micro-control device and input/output system applied to micro-control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610851985.8A CN106354683B (en) | 2016-09-26 | 2016-09-26 | Micro-control device and input/output system applied to micro-control device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106354683A true CN106354683A (en) | 2017-01-25 |
CN106354683B CN106354683B (en) | 2022-01-18 |
Family
ID=57859923
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610851985.8A Active CN106354683B (en) | 2016-09-26 | 2016-09-26 | Micro-control device and input/output system applied to micro-control device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106354683B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112631976A (en) * | 2020-12-16 | 2021-04-09 | 中国电子科技集团公司第五十八研究所 | Configurable hardware IP circuit structure |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101105692A (en) * | 2007-05-29 | 2008-01-16 | 深圳市合信自动化技术有限公司 | Programmable logic controller and its communication interface device and data transmitting method |
CN101599053A (en) * | 2008-06-05 | 2009-12-09 | 联想(北京)有限公司 | Support the serial interface controller and the control method of multiple transport protocols |
CN103226537A (en) * | 2013-05-09 | 2013-07-31 | 上海斐讯数据通信技术有限公司 | Programmable logic device for implementing hardware interface of mobile phone |
CN104252435A (en) * | 2014-08-29 | 2014-12-31 | 北京航天自动控制研究所 | Structure-variable intelligent interface based on dynamical reconfigurable FAGA and configuration method thereof |
-
2016
- 2016-09-26 CN CN201610851985.8A patent/CN106354683B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101105692A (en) * | 2007-05-29 | 2008-01-16 | 深圳市合信自动化技术有限公司 | Programmable logic controller and its communication interface device and data transmitting method |
CN101599053A (en) * | 2008-06-05 | 2009-12-09 | 联想(北京)有限公司 | Support the serial interface controller and the control method of multiple transport protocols |
CN103226537A (en) * | 2013-05-09 | 2013-07-31 | 上海斐讯数据通信技术有限公司 | Programmable logic device for implementing hardware interface of mobile phone |
CN104252435A (en) * | 2014-08-29 | 2014-12-31 | 北京航天自动控制研究所 | Structure-variable intelligent interface based on dynamical reconfigurable FAGA and configuration method thereof |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112631976A (en) * | 2020-12-16 | 2021-04-09 | 中国电子科技集团公司第五十八研究所 | Configurable hardware IP circuit structure |
Also Published As
Publication number | Publication date |
---|---|
CN106354683B (en) | 2022-01-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104809094B (en) | SPI controller and its communication means | |
CN109902053A (en) | A kind of SPI communication method, terminal device and storage medium based on dual controller | |
CN108763140A (en) | A kind of method of two-way communication, system and terminal device | |
CN102621974B (en) | Industrial automatic real-time control device and method based on communication bus | |
CN108370338A (en) | Optimal stand-by period packetizer finite state machine for information receiving and input/output passing interface | |
CN107209739A (en) | Voltage mode and current-mode device enumeration | |
CN109344098A (en) | Data manipulation method and device between master-slave equipment | |
CN102866979B (en) | Synchronous serial interface signal sensor data acquisition device | |
CN110457244A (en) | A kind of communication mode conversion method, system and the processor of serial ports | |
CN107748509B (en) | ASI communication slave machine implementation method based on single chip microcomputer transceiving control | |
CN106354683A (en) | Micro-control device and input/output system applied to same | |
CN110750490A (en) | Programmable edge computing chip module and data processing method | |
CN106844277A (en) | A kind of server and its information transferring method | |
CN106657115A (en) | Frequency converter control system and protocol conversion card thereof | |
CN206991177U (en) | A kind of all-in-one | |
CN102445981B (en) | Data transmission system and data transmission method | |
CN108345564A (en) | Interrupt matrix module, chip and electronic equipment | |
CN112256615A (en) | USB conversion interface device | |
CN105718410B (en) | A kind of LPC based on FPGA and SPI and I2C conversion adapters and its implementation | |
CN107301143A (en) | A kind of asynchronous arbiter based on the phase Handshake Protocol of coding and double track four | |
CN107704407A (en) | A kind of system and method for being used for data processing between SPI and UART | |
CN208477514U (en) | A kind of SPI of intelligent temperature controller turns the analog circuit of UART | |
CN106787970A (en) | A kind of brushed DC motor networking speed governing platform based on WiFi WLANs | |
CN109872674A (en) | A kind of display system and driving configuration method | |
CN207010837U (en) | A kind of intelligence divides householder's machine and visible dialogue system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |