CN103376948A - Touch controller chip, electric device and method for controlling touch panel - Google Patents

Touch controller chip, electric device and method for controlling touch panel Download PDF

Info

Publication number
CN103376948A
CN103376948A CN2013101438108A CN201310143810A CN103376948A CN 103376948 A CN103376948 A CN 103376948A CN 2013101438108 A CN2013101438108 A CN 2013101438108A CN 201310143810 A CN201310143810 A CN 201310143810A CN 103376948 A CN103376948 A CN 103376948A
Authority
CN
China
Prior art keywords
touch controller
controller chip
firmware
control signal
controlling value
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
Application number
CN2013101438108A
Other languages
Chinese (zh)
Other versions
CN103376948B (en
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.)
MediaTek Inc
Original Assignee
MediaTek Inc
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
Priority claimed from US13/748,593 external-priority patent/US20130285943A1/en
Application filed by MediaTek Inc filed Critical MediaTek Inc
Publication of CN103376948A publication Critical patent/CN103376948A/en
Application granted granted Critical
Publication of CN103376948B publication Critical patent/CN103376948B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a touch controller chip, an electric device and a method for controlling a touch panel. The touch controller chip comprises a volatile storage unit; an interface unit which is arranged for receiving touch controller firmware outside the touch controller chip, and storing the received touch controller firmware into the volatile storage unit; and a control unit which is arranged for executing the touch controller firmware stored in the volatile storage device to control the touch panel. The touch controller chip, the electric device and the method for controlling the touch panel can effectively reduce manufacture costs of the touch controller.

Description

The method of touch controller chip, electronic installation and control touch-screen
The cross reference of related application
It number is the right of priority of 61/640,003 the interim case of the U.S. that the application requires in the case of on April 30th, 2012 application.
Technical field
The present invention is relevant for control touch-screen (touch panel).Particularly control the apparatus and method of touch-screen about carrying out from touch controller (touch controller) firmware of external host download.
Background technology
Current touch panel device is widely used in and multiplely should be used as user interface.Normally, touch panel device can comprise touch-screen and touch controller, and touch controller can send to main frame with the testing result (coordinate information of the touch screen event that for example, detects) of touch screen event (touch event).In the design of correlation technique, touch controller has processor and the nonvolatile memory (non-volatile memory) that is integrated in the same chip.Wherein, nonvolatile memory (for example flash memories) is used for storing the firmware of touch controller, and processor is controlled driving and the induction (sensing) of touch-screen for carrying out the firmware that reads from nonvolatile memory.
But, because flash memories generally all uses the manufacturing of particular semiconductor technique, increased inevitably the manufacturing cost of touch controller.Thus, industry needs a kind of touch controller design of novelty to omit nonvolatile memory, thereby reduces cost.
Summary of the invention
In view of this, the invention provides the method for a kind of touch controller chip, electronic installation and control touch-screen.
According to an embodiment of the present invention, disclose a kind of touch controller chip, comprise volatile memory, interface unit and control module.Interface unit is used for receiving the touch controller firmware from the touch controller chip exterior, and the touch controller firmware that receives is stored in the volatile storage.Control module is used for carrying out the touch controller firmware that is stored in volatile storage and controls touch-screen.
Another embodiment according to the present invention provides a kind of electronic installation, comprises touch controller chip and main frame.Wherein, this touch controller chip does not comprise for the nonvolatile memory that stores the touch controller firmware.Send the touch controller firmware by main frame to this touch controller chip.
The another embodiment according to the present invention provides the method for controlling touch-screen, comprises: download touch controller firmware to the second device from first device, wherein this first device and the second device are not integrated in the same chip; And the touch controller firmware of carrying out in this second device is controlled touch-screen.
The method of touch controller chip proposed by the invention, electronic installation and control touch-screen is controlled touch-screen by download the touch controller firmware from the outside, thereby has been omitted the nonvolatile memory in the chip, has reduced chip cost.
Description of drawings
Fig. 1 is the calcspar that adopts the electronic installation of touch controller design proposed by the invention according to an embodiment of the present invention.
Fig. 2 is according to an embodiment of the present invention, the synoptic diagram of gate controlled clock unit shown in Figure 1.
Fig. 3 is according to an embodiment of the present invention, in being used for from the method flow diagram of main frame reception touch controller firmware FW and controlling value SC that the touch controller chip is carried out.
Fig. 4 is according to an embodiment of the present invention, be used for to send touch controller firmware FW and controlling value SC to the method flow diagram of touch controller chip what main frame was carried out.
Fig. 5 is according to another embodiment of the present invention, be used for to send touch controller firmware FW and controlling value SC to the method flow diagram of touch controller chip what main frame was carried out.
Fig. 6 is according to the another embodiment of the present invention, the block schematic diagram of the electronic installation that the touch controller designing institute that the present invention proposes adopts.
Fig. 7 is according to the another embodiment of the present invention, in being used for from the method flow diagram of main frame reception touch controller firmware FW and controlling value SC that the touch controller chip is carried out.
Fig. 8 is according to the another embodiment of the present invention, the block schematic diagram of the electronic installation that the touch controller designing institute that the present invention proposes adopts.
Fig. 9 is according to the another embodiment of the present invention, in being used for from main frame reception touch controller firmware FW that the touch controller chip is carried out, and the method flow diagram that produces controlling value SC.
Figure 10 is according to the another embodiment of the present invention, is used for transmission touch controller firmware FW to the method flow diagram of touch controller chip what main frame was carried out.
Figure 11 is according to the another embodiment of the present invention, the block schematic diagram of the electronic installation that the touch controller designing institute that the present invention proposes adopts.
Figure 12 is according to the another embodiment of the present invention, be used for to receive touch controller firmware FW and produces the method flow diagram of controlling value SC what the touch controller chip was carried out.
Figure 13 is according to the another embodiment of the present invention, the block schematic diagram of the electronic installation that the touch controller designing institute that the present invention proposes adopts.
Figure 14 is according to the another embodiment of the present invention, in being used for from main frame reception touch controller firmware FW that the touch controller chip is carried out, and the method flow diagram that produces controlling value SC.
Figure 15 is according to the another embodiment of the present invention, the block schematic diagram of the electronic installation that the touch controller designing institute that the present invention proposes adopts.
Figure 16 is according to the another embodiment of the present invention, be used for to receive touch controller firmware FW and produces the method flow diagram of controlling value SC what the touch controller chip was carried out.
Embodiment
In the middle of instructions and claims, used some vocabulary to censure specific assembly.The person of ordinary skill in the field should understand, and hardware manufacturer may be called same assembly with different nouns.This specification and claims book not with the difference of title as the mode of distinguishing assembly, but with the difference of assembly on function as the criterion of distinguishing.Be open term mentioned " comprising " in instructions and the claim in the whole text, so should be construed to " including but not limited to ".In addition, " couple " word and comprise any means that indirectly are electrically connected that directly reach at this.Therefore, be coupled to the second device if describe first device in the literary composition, then represent first device and can directly be electrically connected in the second device, or indirectly be electrically connected to the second device through other device or connection means.
Main spirits of the present invention is to provide a kind of touch controller, downloads required firmware from external host when starting.Because firmware is downloaded according to demand, so no longer need to have nonvolatile memory (for example flash memories) in the touch controller.Thus, because omitted the required particular semiconductor technique of nonvolatile memory, the manufacturing cost of touch controller is minimized.More detailed description will provide later.
Fig. 1 is the calcspar that adopts the electronic installation of touch controller design proposed by the invention according to an embodiment of the present invention.Electronic installation 100 comprises main frame 102 and touch panel device 104, and wherein touch panel device 104 comprises touch controller chip 106 and touch-screen 108.In the present embodiment, touch controller chip 106 is SOC (system on a chip) (System on Chip is designated hereinafter simply as SoC), is coupled to main frame 102 and touch-screen 108.Touch controller chip 106 comprises, but be not limited to interface unit 111, volatile memory (volatile memroy) 112, control module 113, gate controlled clock unit (clock gating unit) 114, sensing circuit (sensing unit) 115 and driving circuit 116.Touch-screen 108 is by 106 controls of touch controller chip.Touch-screen 108 comprises capacitive sensing medium (capacitive sensing medium), has many drive wires (for example, line (rowtrace)) and many sense lines (for example, alignment (column trace)).Drive wire and sense line are formed by transparent conductive material, for example indium tin oxide (Indium Tin Oxide is designated hereinafter simply as ITO).As shown in Figure 1, in the present embodiment, drive wire and sense line are arranged with matrix form (matrix form), and thus, drive wire is mutually vertical with sense line.Each intersection point that note that drive wire and sense line does not all have directly electrically contacting of drive wire and sense line.That is to say that the point of crossing is that drive wire and sense line are crossed over the crossover point (crossover point) that passes (pass over) each other.Thus, because drive wire and sense line have formed two electrodes of electric capacity in the point of crossing in fact, so the point of crossing can be regarded as the capacitive character sensing node.
Touch controller chip 106 changes at each capacitive character sensing node Detection capacitance, in order to generation and the coordinate that determines the touch screen event.Thus, touch controller chip 106 needs to determine the capacitance of each capacitive character sensing node.Especially, driving circuit 116 is produced by control module 113 control and excites input (stimulation input) to touch screen 108, then sensing circuit 115 from touch screen 108 read analog sensed output and generation sensing contact result to control module 113 with further processing.For example, utilize analog to digital converter (Analog-to-Digital Converter is designated hereinafter simply as ADC) that analog sensed output is converted to the sensing contact result.Say that compactly control module 113 is used for driving and the induction of control touch screen 108.
In the present embodiment, control module 113 can be micro-control unit (Micro Control Unit is designated hereinafter simply as MCU) or digital signal processor (Digital Signal Processor is designated hereinafter simply as DSP).Thus, the touch screen control function that touch controller firmware FW carries out appointment can be downloaded and carry out to control module 113.Note that touch controller chip 106 does not have for the Nonvolatile memory devices (for example flash memories) that stores touch controller firmware FW with non-volatile manner.That is to say that touch controller firmware FW not downloaded and be carried out to control module 113 can from the Nonvolatile memory devices of touch controller chip 106 inside.On the other side, control module 113 is used for the static RAM (Static Random Access Memory, SRAM) for example from volatile storage 112() download and carry out available touch controller firmware FW.Wherein, touch controller firmware FW downloads from the main frame 102 of touch controller chip 106 outsides to obtain.Because main frame and touch controller are not integrated in the same chip, so come to communicate by bus and external host 102 with the interface unit 111 of touch controller chip 106.According to the actual design demand, bus can be internal integrated circuit (inter-integrated circuit) I2C bus or serial peripheral interface (serial peripheral interface is designated hereinafter simply as SPI) bus.Especially, interface unit 111 is used for receiving touch controller firmware FW from the main frame 102 of touch controller chip 106 outsides, and the touch controller firmware FW that receives is stored in the volatile storage 112.Thus, control module 113 is carried out driving and the induction that the touch controller firmware FW that is stored in the volatile storage 112 controls touch-screen 108.Because do not have internal non-volatile memory storage (for example flash memories) in the touch controller chip 106, so the manufacturing cost of touch controller chip 106 is reduced significantly.Note that main frame 102 general outfit large scale Nonvolatile memory devices, and the size of touch controller firmware FW is generally less.Thus, touch controller firmware FW being stored on the main frame 102 impact on main frame 102 can ignore.
As mentioned above, because touch controller chip 106 is not used for the Nonvolatile memory devices of firmware stores, volatile storage 112 is used for buffering touch controller firmware FW.Because touch controller chip 106 can be lost the content that is stored in the volatile storage 112 after outage, so touch controller chip 106 will all be downloaded touch controller firmware FW from main frame 102 when each the startup.Before the touch controller firmware FW that touch controller chip 106 is carried out is ready, should prevents control module 113 downloads and carry out incomplete touch controller firmware FW.Especially, when touch controller chip 106 started, control module 113 was initial acquiescence lockings (time-out), and the touch controller firmware FW that main frame 102 provides is carried out in release more afterwards, in order to control touch-screen 108.In the present embodiment, the locking and unlocking of control module 113 is by gate controlled clock unit 114 controls.
See also Fig. 2, Fig. 2 is according to an embodiment of the present invention, the synoptic diagram of gate controlled clock unit 114 shown in Figure 1.As shown in the figure, gate controlled clock unit 114 comprises and door 202 and multiplexer 204.In the design of one example, also be integrated with hysteresis comparator (hysteresis comparator) 206 and clock generator 208 in the touch controller chip 106.In another example design, hysteresis comparator 206 and clock generator 208 are external circuit components of touch controller chip 106.Hysteresis comparator 206 comparison system service voltage VDD and reset threshold TH RSTProduce comparer output S CMPAfter system started, the service voltage VDD of system raise and when then stablizing, the comparer of hysteresis comparator 206 is exported S CMPTo have high logic level (high logic level) ' 1 '.Comparer output S CMPInput and door 202 and clock generator 208.As shown in Figure 2, comparer output S CMPAlso as enable signal (enable signal) EN of clock generator 208.Thus, as comparer output S CMPWhen having high logic level ' 1 ', mean that the service voltage VDD of system is stable, clock generator 208 is enabled to produce the reference clock CLK with preset frequency thus REFEspecially, preset frequency will satisfy the demand of 113 pairs of clock frequencies of control module.Note that transmit path between clock generator 208 and the control module 113 is by gate controlled clock unit 114 control.
Remove comparer output S CMP, with door 202 also from the control working storage reception control signal Code_rdy of touch controller chip 106.That is to say that the logic level of control signal Code_rdy (logic level) depends on the logical value that is stored in the control working storage, ' 1 ' or ' 0 '.Logic output S ANDControl signal as multiplexer 204.Thus, as logic output S ANDWhen having high logic level ' 1 ', multiplexer 204 output reference clock CLK REF(be CLK=CLK as clock signal clk REF).As logic output S ANDWhen having low logic level ' 0 ', multiplexer 204 output constant logic levels (for example ' 0 ') are used as clock signal clk (for example CLK=' 0 '), reach thus the gate of clock signal clk.When clock signal clk during by gate (gated), because lack periodic clock edge conversion, so control module 113 is lockings/suspend.Because logic output S ANDSetting by control signal Code_rdy decides, and controls so the Clock gating function of gate controlled clock unit 114 can be considered by control signal Code_rdy.
Briefly, gate controlled clock unit 114 is used for receiving reference clock CLK REF, and the reference clock CLK of gate Input Control Element 113 optionally REF, perhaps allow the reference clock CLK of Input Control Element 113 according to control signal Code_rdy REFWhen touch controller chip 106 started, control signal Code_rdy was set to the default value that is stored in the control working storage (for example ' 0 '), so that the Clock gating function of gate controlled clock unit 114 enables, thereby prevents reference clock CLK REFArrive control module 113.
In this embodiment, the Clock gating function of gate controlled clock unit 114 will be come forbidden energy (disable) by main frame 102, to allow control module 113 according to reference clock CLK REFNormal running.Especially, remove the firmware data that sends required touch controller firmware FW, main frame 102 also sends controlling value SC and comes setup control signal Code_rdy to touch controller chip 106.That is to say that interface unit is also from the touch controller chip 106 outside controlling value SC that receive.When control signal Code_rdy is set to controlling value SC(for example ' 1 ') when overriding default value in the control working storage (for example ' 0 '), reference clock CLK REF Offer control module 113 by gate controlled clock unit 114.For example, main frame 102 can detect sending decision and when producing controlling value SC to touch controller chip 106 of touch controller firmware FW.
Please consult Fig. 3 in conjunction with Fig. 4 in the lump.Fig. 3 is according to an embodiment of the present invention, in being used for from the method flow diagram of main frame reception touch controller firmware FW and controlling value SC that the touch controller chip is carried out.Fig. 4 is according to an embodiment of the present invention, be used for to send touch controller firmware FW and controlling value SC to the method flow diagram of touch controller chip what main frame was carried out.As long as the result is roughly the same, then do not need to come execution in step according to Fig. 3 or order shown in Figure 4 fully.The sample method of carrying out at touch controller chip 106 is summarized as follows.
Step 300: beginning
Step 302: start.
Step 304: in the ready front wait of hardware.
Step 306: enable (enable) Clock gating function and lock/suspend control module.
Step 308: check whether whether main frame has any firmware data of transmission, namely have the firmware data of newly advancing.If so, execution in step 310 then; Otherwise, execution in step 312.
Step 310: receive firmware data and the firmware data that receives is stored in the volatile storage.
Step 312: check whether whether main frame has the controlling value of transmission SC, namely have the controlling value of newly advancing.If so, execution in step 314 then; Otherwise, execution in step 308.
Step 314: receive controlling value SC.
Step 316: forbidden energy Clock gating function is come the release control module, and carries out the touch controller firmware FW that is stored in the volatile storage with control module.
Step 318: finish.
The sample method of carrying out at main frame 102 is summarized as follows.
Step 400: beginning
Step 402: start.
Step 404: check whether main frame and bus (for example I2C bus) between the touch controller chip be normal, i.e. bus whether normally.If so, execution in step 406 then; Otherwise execution in step 404 again.
Step 406: check whether the touch controller chip has passed through hardware version inspection (hardware version check).If so, execution in step 408 then; Otherwise, execution in step 414.
Step 408: send the firmware data of touch controller firmware FW to the touch controller chip.
Step 410: whether check that the firmware data with all touch controller firmware FW all sends to the touch controller chip.If so, execution in step 412 then; Otherwise execution in step 408 continues to send remaining firmware data.
Step 412: produce controlling value SC and send to the touch controller chip.
Step 414: finish.
When system's (being electronic installation 100) started, main frame 102 and touch controller chip 106 started ( step 302 and 402).Thus, because the service voltage of non-zero, all hardware assembly in the touch controller chip 106 all will start.Touch controller chip 106 is in the ready front wait of hardware (step 304).For example, when hardware is ready, with the bus (for example I2C bus) of successfully setting up between main frame 102 and the touch controller chip 106.For main frame 102, it will check whether the bus (for example I2C bus) that starts between aft engine 102 and the touch controller chip 106 normally sets up (step 404).When determining bus normally and can be used in data to send, main frame 102 more checks the hardware version of touch controller chip 106, to avoid sending mistakenly touch controller firmware FW to difference/incompatible touch controller chip (step 406).When determining that version is correct, main frame 102 begins to send firmware data to touch controller chip 106, and touch controller chip 106 begins to receive firmware data (step 308,310 and 408) from main frame 102.When all firmware data of touch controller firmware FW have all sent to touch controller chip 106 from main frame 102, main frame 102 produces controlling value SC and sends to touch controller chip 106, and touch controller chip 106 receives controlling value SC(step 312,314,410 and 412).Then, control module 113 is carried out touch controller firmware FW by controlling value SC release, with control touch-screen 108(step 316).
In the above-described embodiment, main frame 102 produces controlling value SC when the firmware data of touch controller firmware FW sends end.That is to say that before firmware data was sent completely, main frame 102 can not produce controlling value SC.But this only is used for the purpose of explanation.In another embodiment, send controlling value SC after can being verified in the integrality of the touch controller chip 106 touch controller firmware FW that receives.See also Fig. 5.Fig. 5 is according to another embodiment of the present invention, be used for to send touch controller firmware FW and controlling value SC to the method flow diagram of touch controller chip what main frame was carried out.As long as the result is roughly the same, then do not need to come execution in step according to order shown in Figure 5 fully.The key distinction between Fig. 5 and Fig. 4 is, can not send controlling value SC before touch controller firmware FW that touch controller chip 106 receives is by integrity verification.Especially, when all firmware data of touch controller firmware FW have all sent to touch controller chip 106 (step 510), the volatile storage 112 of main frame 102 from touch controller chip 106 reads touch controller firmware FW, and relatively is stored in the integrality (step 512) that touch controller firmware FW that touch controller firmware in the main frame 102 and touch controller chip receive checks the touch controller firmware FW that touch controller chip 106 receives.When touch controller firmware FW passes through integrity checking, controlling value SC is sent to touch controller chip 106(step 412).But, the touch controller firmware FW that receives when touch controller chip 106 is during by integrity checking, mean that the touch controller firmware FW in the touch controller chip may comprise error bit, then flow process proceeds at least a portion (some or all of) that step 408 resends touch controller firmware FW to touch controller chip 106.
Thus, when touch controller chip 106 adopts method shown in Figure 3 and main frame 102 to adopt method shown in Figure 5, just can reach from external host and download the touch controller firmware, and then carry out the identical purpose that the touch controller firmware of downloading is controlled touch screen.
Please refer to electronic installation shown in Figure 1 100, the locking and unlocking of control module 113 is by gate controlled clock unit 114 controls, and wherein the Clock gating function is come forbidden energy by the controlling value SC that response main frame 102 produces.But this only is used for the purpose of explanation.In another embodiment, the locking and unlocking of control module is by the enable signal control of control module.
Fig. 6 is according to the another embodiment of the present invention, the block schematic diagram of the electronic installation that the touch controller designing institute that the present invention proposes adopts.Electronic installation 600 comprises main frame 102 and touch panel device 604, and wherein touch panel device 604 comprises touch controller chip 606 and touch-screen 108.In the present embodiment, main frame 102 is communicated by letter with touch controller chip 606 by spi bus.The key distinction between the electronic installation 600 and 100 is: the controlling value SC that gate controlled clock unit 114 is omitted and main frame 102 produces is used for the enable signal of setup control unit 113.
Similar, before the touch controller firmware FW that touch controller chip 606 is carried out is ready, should prevents control module 113 downloads and carry out incomplete touch controller firmware.Especially, when touch controller chip 606 started, control module 113 was initial acquiescence lockings (time-out), and the touch controller firmware FW that main frame 102 provides is carried out in release more afterwards, in order to control touch-screen 108.In the present embodiment, the locking and unlocking of control module 113 is controlled by the control signal EN as control module 113 enable signals, is namely come forbidden energy and is enabled control module 113 by control signal EN.Control module 113 is from the control working storage reception control signal EN of touch controller chip 606.That is to say that the logic level of control signal EN depends on the logical value that is stored in the control working storage, ' 1 ' or ' 0 '.In the present embodiment, when touch controller chip 606 started, control signal EN set by being stored in default value in the control working storage (for example ' 0 '), so that control module 113 corresponding forbidden energy.When receiving controlling value SC from main frame 102, control signal EN is by controlling value SC(for example ' 1 ') set, thus controlling value SC(for example ' 1 ') override default value in the control working storage (for example ' 0 ').Thus, control module 113 is enabled to carry out the touch controller firmware FW in the volatile storage 112.
See also Fig. 7.Fig. 7 is according to the another embodiment of the present invention, in being used for from the method flow diagram of main frame reception touch controller firmware FW and controlling value SC that the touch controller chip is carried out.As long as the result is roughly the same, then do not need to come execution in step according to Fig. 3 or order shown in Figure 4 fully.The key distinction between Fig. 7 and Fig. 3 is, the control signal EN that sets by default value (for example ' 0 ') in the step 706 comes forbidden energy control module 113, thus locking/suspend control module 113; And the control signal EN that the controlling value that produces by main frame 102 in the step 716 (for example ' 1 ') is set enables control module 113, thus release control module 113.
When touch controller chip 606 adopted method shown in Figure 7, main frame 102 can adopt Fig. 4 or method shown in Figure 5.So just can reach from external host and download the touch controller firmware, and then carry out the identical purpose that the touch controller firmware of downloading is controlled touch screen.
See also electronic installation shown in Figure 1 100 and electronic installation 600 shown in Figure 6, the controlling value SC that is used for release control module 113 is produced by the transmission of main frame 102 by checked for integrity or touch controller firmware FW.But this only is used for the purpose of explanation.In another embodiment, the controlling value SC that is used for release control module 113 can be produced by the intraware of touch controller chip 606.Below provide multiple example.
Fig. 8 is according to the another embodiment of the present invention, the block schematic diagram of the electronic installation that the touch controller designing institute that the present invention proposes adopts.Electronic installation 800 comprises main frame 802 and touch panel device 804, and wherein touch panel device 804 comprises touch controller chip 806 and touch-screen 108.In the present embodiment, main frame 802 is communicated by letter with touch controller chip 806 by the I2C bus.The key distinction between the electronic installation 800 and 100 is: main frame 802 does not need to produce controlling value SC, therefore is responsible for producing controlling value SC by touch controller chip 806.In the present embodiment, touch controller chip 806 comprises counter (counter) 812, be used for counting from the length of the firmware data of main frame 802 transmissions, and when the length of firmware data reaches predetermined value (for example data volume of touch controller firmware FW), produce controlling value SC and come setup control signal (for example control signal Code_rdy shown in Figure 2).Especially, when control signal Code_rdy by controlling value SC(for example ' 1 ') when setting, clock signal (the reference clock CLK that produces of clock generator 208 shown in Figure 2 for example REF) by gate controlled clock unit 114 Input Control Elements 113.
Please consult Fig. 9 in conjunction with Figure 10 in the lump.Fig. 9 is according to the another embodiment of the present invention, in being used for from main frame reception touch controller firmware FW that the touch controller chip is carried out, and the method flow diagram that produces controlling value SC.Figure 10 is according to the another embodiment of the present invention, is used for transmission touch controller firmware FW to the method flow diagram of touch controller chip what main frame was carried out.As long as the result is roughly the same, then do not need to come execution in step according to Fig. 9 or order shown in Figure 10 fully.The sample method of carrying out at touch controller chip 806 is summarized as follows.
Step 300: beginning
Step 302: start.
Step 304: in the ready front wait of hardware.
Step 306: enable the Clock gating function and lock/suspend control module.
Step 308: check whether main frame has any firmware data of transmission.If so, execution in step 310 then; Otherwise, execution in step 912.
Step 911: counting is from the length of the firmware data of main frame transmission.
Step 912: whether the length that checks firmware data reaches predetermined value.If so, execution in step 914 then; Otherwise, execution in step 908.
Step 914: produce controlling value SC to gate controlled clock unit.
Step 316: forbidden energy Clock gating function is come the release control module, and carries out the touch controller firmware FW that is stored in the volatile storage with control module.
Step 318: finish.
The sample method of carrying out at main frame 802 is summarized as follows.
Step 400: beginning
Step 402: start.
Step 404: check whether the bus (for example I2C bus) between main frame and the touch controller chip is normal.If so, execution in step 406 then; Otherwise execution in step 404 is set up normal bus to continue to wait between main frame 802 and the touch controller chip.
Step 406: check whether the touch controller chip has passed through the hardware version inspection.If so, execution in step 408 then; Otherwise, execution in step 414.
Step 408: send the firmware data of touch controller firmware FW to the touch controller chip.
Step 1010: whether check that the firmware data with all touch controller firmware FW all sends to the touch controller chip.If so, execution in step 414 then; Otherwise execution in step 408 continues to send remaining firmware data.
Step 414: finish.
The key distinction between Fig. 9 and Fig. 3 is, the length of firmware data is counted by the counter 812 that is arranged in the touch controller chip 806, and when the length of firmware data reaches predetermined value, produce controlling value SC(from counter 812 and produce controlling value SC when for example all firmware data of touch controller firmware FW have all received).In addition, the key distinction between Figure 10 and Fig. 4/Fig. 5 is, do not have the generation controlling value SC that main frame carries out and/or the step that checks the integrality of touch controller firmware data that chip receives among Figure 10.
As mentioned above, the locking and unlocking of control module 113 can be by the enable signal control of control module.See also Figure 11.Figure 11 is according to the another embodiment of the present invention, the block schematic diagram of the electronic installation that the touch controller designing institute that the present invention proposes adopts.Electronic installation 1100 comprises main frame 802 and touch panel device 1104, and wherein touch panel device 1104 comprises touch controller chip 1106 and touch-screen 108.In the present embodiment, main frame 802 is communicated by letter with touch controller chip 1106 by spi bus.The key distinction between the electronic installation 1100 and 800 is: the controlling value SC that gate controlled clock unit 114 is omitted and counter 812 produces is used for the enable signal of setup control unit 113.Especially, when touch controller chip 1106 started, control signal EN set by being stored in default value in the control working storage (for example ' 0 '), so that control module 113 corresponding forbidden energy.When counter 812 produced controlling value SC, control signal EN was by controlling value SC(for example ' 1 ') set, thus controlling value SC(for example ' 1 ') override default value in the control working storage (for example ' 0 ').Thus, control module 113 is enabled to carry out the touch controller firmware FW in the volatile storage 112.
See also Figure 12.Figure 12 is according to the another embodiment of the present invention, be used for to receive touch controller firmware FW and produces the method flow diagram of controlling value SC what the touch controller chip was carried out.As long as the result is roughly the same, then do not need to come execution in step according to order shown in Figure 12 fully.The key distinction between Figure 12 and Fig. 9 is, the control signal EN that sets by default value (for example ' 0 ') in the step 1206 comes forbidden energy control module 113, thus locking/suspend control module 113; And, produce the control signal EN that controlling values (for example ' 1 ') set by counter 812 in the step 1216 and enable control module 113.
When touch controller chip 1106 adopted method shown in Figure 12, main frame 802 can adopt method shown in Figure 10.So just can reach from external host and download the touch controller firmware, and then carry out the identical purpose that the touch controller firmware of downloading is controlled touch screen.
See also electronic installation shown in Figure 8 800 and electronic installation 1100 shown in Figure 11, the controlling value SC that is used for release control module 113 is produced by the counter 812 that is arranged on touch controller chip 806/1106 respectively.But this only is used for the purpose of explanation.In another embodiment, the controlling value SC that is used for release control module 113 can be produced by touch controller chip 806/1106 different intraware.
Figure 13 is according to the another embodiment of the present invention, the block schematic diagram of the electronic installation that the touch controller designing institute that the present invention proposes adopts.Electronic installation 1300 comprises main frame 802 and touch panel device 1304, and wherein touch panel device 1304 comprises touch controller chip 1306 and touch-screen 108.In the present embodiment, main frame 802 is communicated by letter with touch controller chip 1306 by the I2C bus.The key distinction between the electronic installation 1300 and 800 is: counter 812 is replaced by timer 1312, wherein timer 1312 is used for counting sends firmware data from main frame 802 transmitting time, and when the transmitting time of firmware data reaches predetermined value when (the required time period of transmission touch controller firmware FW0 of for example estimating), produce controlling value SC and come setup control signal (for example control signal Code_rdy shown in Figure 2).Especially, when control signal Code_rdy by controlling value SC(for example ' 1 ') when setting, clock signal (the reference clock CLK that produces of clock generator 208 shown in Figure 2 for example REF) by gate controlled clock unit 114 Input Control Elements 113.
See also Figure 14.Figure 14 is according to the another embodiment of the present invention, in being used for from main frame reception touch controller firmware FW that the touch controller chip is carried out, and the method flow diagram that produces controlling value SC.As long as the result is roughly the same, then do not need to come execution in step according to order shown in Figure 14 fully.The key distinction between Figure 14 and Fig. 9 is, counts the transmitting time that sends firmware data from main frame 802 in the step 1411, and when step 1412 determined that the transmitting time of firmware data reaches predetermined value, step 914 produced controlling value SC.
When touch controller chip 1306 adopted method shown in Figure 14, main frame 802 can adopt method shown in Figure 10.So just can reach from external host and download the touch controller firmware, and then carry out the identical purpose that the touch controller firmware of downloading is controlled touch screen.
As mentioned above, the locking and unlocking of control module can be by the enable signal control of control module.See also Figure 15.Figure 15 is according to the another embodiment of the present invention, the block schematic diagram of the electronic installation that the touch controller designing institute that the present invention proposes adopts.Electronic installation 1500 comprises main frame 802 and touch panel device 1504, and wherein touch panel device 1504 comprises touch controller chip 1506 and touch-screen 108.In the present embodiment, main frame 802 is communicated by letter with touch controller chip 1506 by spi bus.The key distinction between the electronic installation 1500 and 1300 is: the controlling value SC that gate controlled clock unit 114 is omitted and timer 1312 produces is used for the enable signal of setup control unit 113.Especially, when touch controller chip 1506 started, control signal EN set by being stored in default value in the control working storage (for example ' 0 '), so that control module 113 is disabled.When timer 1312 produced controlling value SC, control signal EN was by controlling value SC(for example ' 1 ') set, thus controlling value SC(for example ' 1 ') override default value in the control working storage (for example ' 0 ').Thus, control module 113 is enabled to carry out the touch controller firmware FW in the volatile storage 112.
See also Figure 16.Figure 16 is according to the another embodiment of the present invention, be used for to receive touch controller firmware FW and produces the method flow diagram of controlling value SC what the touch controller chip was carried out.As long as the result is roughly the same, then do not need to come execution in step according to order shown in Figure 16 fully.The key distinction between Figure 16 and Figure 14 is, the control signal EN that sets by default value (for example ' 0 ') in the step 1606 comes forbidden energy control module 113, thus locking/suspend control module 113; And, produce the control signal EN that controlling values (for example ' 1 ') set by timer 1312 in the step 1616 and enable control module 113.
When touch controller chip 1506 adopted method shown in Figure 16, main frame 802 can adopt method shown in Figure 10.So just can reach from external host and download the touch controller firmware, and then carry out the identical purpose that the touch controller firmware of downloading is controlled touch screen.
Though the present invention discloses as above with preferred embodiments; so it is not to limit scope of the present invention, any those skilled in the art, without departing from the spirit and scope of the present invention; when can doing a little change and retouching, so protection scope of the present invention is as the criterion when looking the claim person of defining.

Claims (26)

1. touch controller chip comprises:
Volatile memory;
Interface unit be used for receiving the touch controller firmware from this touch controller chip exterior, and this touch controller firmware that will receive is stored in this volatile storage; And
Control module is used for carrying out this touch controller firmware that is stored in this volatile storage and controls touch-screen.
2. touch controller chip as claimed in claim 1 is characterized in that, when this touch controller chip enable, this control module is given tacit consent to locking at first, and afterwards again release carry out this touch controller firmware.
3. touch controller chip as claimed in claim 2 also comprises:
Gate controlled clock unit, be used for the receive clock signal, and optionally gate is input to the clock signal of this control module, perhaps allow to input the clock signal of this control module according to control signal, wherein when this touch controller chip enable, this control signal is set to default value, so that this clock signal is come gate by this gate controlled clock unit.
4. touch controller chip as claimed in claim 3 is characterized in that, this interface unit also is used for receiving controlling value from this touch controller chip exterior and sets this control signal; And when this control signal was set by this controlling value, this clock signal was input to this control module by this gate controlled clock unit.
5. touch controller chip as claimed in claim 3 more comprises:
Counter, be used for counting from the length of the firmware data of main frame transmission, and when the length of this firmware data reaches predetermined value, produce controlling value and set this control signal, wherein when this control signal was set by this controlling value, this clock signal was inputted this control module by this gate controlled clock unit.
6. touch controller chip as claimed in claim 3 more comprises:
Timer, be used for counting from the transmitting time of the firmware data of main frame transmission, and when the transmitting time of this firmware data reaches predetermined value, produce controlling value and set this control signal, wherein when this control signal was set by this controlling value, this clock signal was inputted this control module by this gate controlled clock unit.
7. touch controller chip as claimed in claim 2 is characterized in that, this control module reception control signal, and optionally enable or forbidden energy according to this control signal, and when this touch controller chip enable, this control signal is set by default value, so that this control module forbidden energy.
8. touch controller chip as claimed in claim 7 is characterized in that, this interface unit also is used for receiving controlling value from this touch controller chip exterior and sets this control signal; And when this control signal was set by this controlling value, this clock signal was input to this control module by this gate controlled clock unit.
9. touch controller chip as claimed in claim 7 more comprises:
Counter, be used for counting from the length of the firmware data of main frame transmission, and when the length of this firmware data reaches predetermined value, produce controlling value and set this control signal, wherein when this control signal was set by this controlling value, this clock signal was inputted this control module by this gate controlled clock unit.
10. touch controller chip as claimed in claim 7 more comprises:
Timer, be used for counting from the transmitting time of the firmware data of main frame transmission, and when the transmitting time of this firmware data reaches predetermined value, produce controlling value and set this control signal, wherein when this control signal was set by this controlling value, this clock signal was inputted this control module by this gate controlled clock unit.
11. an electronic installation comprises:
The touch controller chip, wherein this touch controller chip does not comprise for the nonvolatile memory that stores the touch controller firmware;
Main frame is used for sending this touch controller firmware to this touch controller chip.
12. electronic installation as claimed in claim 11 is characterized in that, this main frame also checks the hardware version of this touch controller chip, and when this touch controller chip checked by hardware version, this main frame was allowed to send this touch controller firmware to this touch controller chip.
13. electronic installation as claimed in claim 11 is characterized in that, this touch controller chip comprises:
Control module, and when this touch controller chip enable, this control module is given tacit consent to locking at first, and afterwards again release carry out this touch controller firmware that this main frame provides, with the control touch-screen.
14. electronic installation as claimed in claim 13 is characterized in that, this touch controller chip also comprises:
Gate controlled clock unit, be used for the receive clock signal, and optionally gate is input to the clock signal of this control module, perhaps allow to input the clock signal of this control module according to control signal, wherein when this touch controller chip enable, this control signal is set to default value, so that this clock signal is come gate by this gate controlled clock unit.
15. electronic installation as claimed in claim 14 is characterized in that, this main frame also be used for to send controlling value to this touch controller chip to set this control signal; And when this control signal was set by this controlling value, this clock signal was input to this control module by this gate controlled clock unit.
16. electronic installation as claimed in claim 15 is characterized in that, this main frame also is used for checking the integrality of this touch controller firmware that is received by this touch controller chip; And when this touch controller firmware during by integrity checking this controlling value be sent to this touch controller chip.
17. electronic installation as claimed in claim 16 is characterized in that, this main frame also is used for checking whether this all touch controller firmwares all has been sent to this touch controller chip; And this controlling value is sent to this touch controller chip when being sent completely of this touch controller firmware.
18. electronic installation as claimed in claim 14 is characterized in that, this touch controller chip more comprises:
Counter, be used for counting from the length of the firmware data of main frame transmission, and when the length of this firmware data reaches predetermined value, produce controlling value and set this control signal, wherein when this control signal was set by this controlling value, this clock signal was inputted this control module by this gate controlled clock unit.
19. electronic installation as claimed in claim 14 is characterized in that, this touch controller chip more comprises:
Timer, be used for counting from the transmitting time of the firmware data of main frame transmission, and when the transmitting time of this firmware data reaches predetermined value, produce controlling value and set this control signal, wherein when this control signal was set by this controlling value, this clock signal was inputted this control module by this gate controlled clock unit.
20. electronic installation as claimed in claim 13 is characterized in that, this control module reception control signal, and optionally enable or forbidden energy according to this control signal, and when this touch controller chip enable, this control signal is set by default value, so that this control module forbidden energy.
21. electronic installation as claimed in claim 20 is characterized in that, this main frame also be used for to send controlling value to this touch controller chip to set this control signal; And when this control signal was set by this controlling value, this control module was enabled.
22. electronic installation as claimed in claim 21 is characterized in that, this main frame also is used for checking the integrality of this touch controller firmware that sends to this touch controller chip; And when this touch controller firmware during by integrity checking this controlling value be sent to this touch controller chip.
23. electronic installation as claimed in claim 21 is characterized in that, this main frame also is used for checking whether this all touch controller firmwares all has been sent to this touch controller chip; And this controlling value is sent to this touch controller chip when being sent completely of this touch controller firmware.
24. electronic installation as claimed in claim 20 is characterized in that, this touch controller chip more comprises:
Counter, be used for counting from the length of the firmware data of main frame transmission, and when the length of this firmware data reaches predetermined value, produce controlling value and set this control signal, wherein when this control signal was set by this controlling value, this clock signal was inputted this control module by this gate controlled clock unit.
25. electronic installation as claimed in claim 20 is characterized in that, this touch controller chip more comprises:
Timer, be used for counting from the transmitting time of the firmware data of main frame transmission, and when the transmitting time of this firmware data reaches predetermined value, produce controlling value and set this control signal, wherein when this control signal was set by this controlling value, this clock signal was inputted this control module by this gate controlled clock unit.
26. a method of controlling touch-screen comprises:
Download touch controller firmware to the second device from first device, wherein this first device and the second device are not integrated in the same chip; And
This touch controller firmware of carrying out in this second device is controlled this touch-screen.
CN201310143810.8A 2012-04-30 2013-04-23 Touch controller chip, electronic installation and the method controlling touch-screen Expired - Fee Related CN103376948B (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US201261640003P 2012-04-30 2012-04-30
US61/640,003 2012-04-30
US13/748,593 US20130285943A1 (en) 2012-04-30 2013-01-24 Apparatus and method for executing touch controller firmware downloaded from external host to control touch panel
US13/748,593 2013-01-24

Publications (2)

Publication Number Publication Date
CN103376948A true CN103376948A (en) 2013-10-30
CN103376948B CN103376948B (en) 2016-08-31

Family

ID=49462149

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310143810.8A Expired - Fee Related CN103376948B (en) 2012-04-30 2013-04-23 Touch controller chip, electronic installation and the method controlling touch-screen

Country Status (1)

Country Link
CN (1) CN103376948B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111045741A (en) * 2019-12-04 2020-04-21 上海龙旗科技股份有限公司 Firmware loading method for flash-memory-free touch screen of intelligent terminal

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1288194A (en) * 1999-06-18 2001-03-21 凤凰技术有限公司 Device and method for updating image in nonvolatile memory
CN101246441A (en) * 2006-12-11 2008-08-20 三星电子株式会社 Circuits and methods for correcting errors in downloading firmware
CN101313287A (en) * 2005-10-13 2008-11-26 桑迪士克股份有限公司 Initialization of flash storage via an embedded controller
CN100504821C (en) * 2005-10-31 2009-06-24 精工爱普生株式会社 Host based information system, client, host, information system, control device
CN101504582A (en) * 2008-02-05 2009-08-12 联想(北京)有限公司 Interaction method based on touch screen, interaction equipment and data processing system
US20100080491A1 (en) * 2008-09-26 2010-04-01 Nintendo Co., Ltd. Storage medium storing image processing program for implementing controlled image display according to input coordinate, information processing device and method for image processing
WO2012001167A1 (en) * 2010-07-01 2012-01-05 Visto Corporation Method and device for editing workspace data objects

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1288194A (en) * 1999-06-18 2001-03-21 凤凰技术有限公司 Device and method for updating image in nonvolatile memory
CN101313287A (en) * 2005-10-13 2008-11-26 桑迪士克股份有限公司 Initialization of flash storage via an embedded controller
CN100504821C (en) * 2005-10-31 2009-06-24 精工爱普生株式会社 Host based information system, client, host, information system, control device
CN101246441A (en) * 2006-12-11 2008-08-20 三星电子株式会社 Circuits and methods for correcting errors in downloading firmware
CN101504582A (en) * 2008-02-05 2009-08-12 联想(北京)有限公司 Interaction method based on touch screen, interaction equipment and data processing system
US20100080491A1 (en) * 2008-09-26 2010-04-01 Nintendo Co., Ltd. Storage medium storing image processing program for implementing controlled image display according to input coordinate, information processing device and method for image processing
WO2012001167A1 (en) * 2010-07-01 2012-01-05 Visto Corporation Method and device for editing workspace data objects
WO2012001167A4 (en) * 2010-07-01 2012-03-29 Visto Corporation Method and device for editing workspace data objects

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111045741A (en) * 2019-12-04 2020-04-21 上海龙旗科技股份有限公司 Firmware loading method for flash-memory-free touch screen of intelligent terminal

Also Published As

Publication number Publication date
CN103376948B (en) 2016-08-31

Similar Documents

Publication Publication Date Title
CN107402837B (en) Nonvolatile memory device and reading method thereof
CN107015929B (en) Method for transmitting request in storage device and method for issuing command in host
KR102232922B1 (en) Static random access memory device including write assist circuit
CN102135927B (en) Method and device for system booting based on NAND FLASH
JP6022766B2 (en) Multi-interface memory card and its operation method
US9189113B2 (en) Capacitive touch panel sensor synchronized with display driving operation and touch panel display device having the same
US8897092B2 (en) Memory storage device, memory controller and controlling method
US8015449B2 (en) Computer, and method for error-detecting and booting of BIOS thereof
CN104981778A (en) Patching boot code of read-only memory
US9886136B2 (en) Touch screen controller using adaptive filter control and touch screen system having the same
CN103186483A (en) Terminal, and OTG (On-The-Go) function-charging function paralleled execution method used for same
US11422717B2 (en) Memory addressing methods and associated controller, memory device and host
TWI754050B (en) Microcontroller, memory system having the same, and method for operating the same
CN109213703B (en) Data detection method and data detection device
CN104103311A (en) Semiconductor device including power-on reset circuit and operating method thereof
US20090177819A1 (en) Integrated circuit cards including multiple communication interfaces and related methods of operation
US8438374B2 (en) Computer system and control method of the same
KR20160143940A (en) Storage device, main board embedded the same and self diagnosis method
CN102867158B (en) A kind of switch internal memory method, device and there is the terminal of dual system
US20130285943A1 (en) Apparatus and method for executing touch controller firmware downloaded from external host to control touch panel
US10191533B2 (en) Method of enabling sleep mode, memory control circuit unit and storage apparatus
KR102219292B1 (en) Semiconductor memory device and memory system including the same
US20120185639A1 (en) Electronic device, memory controlling method thereof and associated computer-readable storage medium
CN103376948A (en) Touch controller chip, electric device and method for controlling touch panel
CN110277112B (en) Input/output circuit and memory device having the same

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160831

Termination date: 20200423

CF01 Termination of patent right due to non-payment of annual fee