[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

TWI782569B - Reset source monitoring circuit, touch chip and information processing device - Google Patents

Reset source monitoring circuit, touch chip and information processing device Download PDF

Info

Publication number
TWI782569B
TWI782569B TW110121084A TW110121084A TWI782569B TW I782569 B TWI782569 B TW I782569B TW 110121084 A TW110121084 A TW 110121084A TW 110121084 A TW110121084 A TW 110121084A TW I782569 B TWI782569 B TW I782569B
Authority
TW
Taiwan
Prior art keywords
reset
microcontroller
bit
signal
coupled
Prior art date
Application number
TW110121084A
Other languages
Chinese (zh)
Other versions
TW202248803A (en
Inventor
張利達
Original Assignee
大陸商北京集創北方科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 大陸商北京集創北方科技股份有限公司 filed Critical 大陸商北京集創北方科技股份有限公司
Priority to TW110121084A priority Critical patent/TWI782569B/en
Application granted granted Critical
Publication of TWI782569B publication Critical patent/TWI782569B/en
Publication of TW202248803A publication Critical patent/TW202248803A/en

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Communication Control (AREA)

Abstract

本發明主要揭示一種復位源監測電路,其係應用於內含一觸控晶片之中,且耦接於一復位源和該觸控晶片的一微控制器之間。在該復位源發出一復位信號之後,本發明之復位源監測電路依據該復位信號而紀錄一第一位元用以代表一復位狀態,且同時傳送一復位始能信號至該微控制器,使該微控制器自所述復位源監測電路讀出該第一位元之後,將該第一位元修改成一第二位元,接著依據所述復位狀態而對應地執行一啟動流程。The present invention mainly discloses a reset source monitoring circuit, which is applied in a touch chip and coupled between a reset source and a microcontroller of the touch chip. After the reset source sends a reset signal, the reset source monitoring circuit of the present invention records a first bit to represent a reset state according to the reset signal, and simultaneously transmits a reset enabling signal to the microcontroller, so that After the microcontroller reads the first bit from the reset source monitoring circuit, it modifies the first bit into a second bit, and then correspondingly executes a start-up process according to the reset state.

Description

復位源監測電路、觸控晶片及資訊處理裝置Reset source monitoring circuit, touch chip and information processing device

本發明為觸控晶片之相關領域,尤指具有提高晶片異常保護能力的一種復位源監測電路。The invention relates to the related field of touch chip, especially a reset source monitoring circuit with improved protection ability of chip abnormality.

目前,觸控裝置已經廣泛地應用在具有觸控需求的各式電子裝置之中。圖1顯示習知的一種觸控裝置的方塊圖。如圖1所示,習知的觸控裝置1a包括:一觸控面板11a與至少一觸控晶片12a。圖2為顯示於圖1內的觸控晶片所包含的一微控制器121a、一靜態隨機存取記憶體122a和一快閃記憶體123a的方塊圖。熟悉觸控裝置之設計與製造的電子工程師必然知道,該觸控晶片12a在一復位信號的觸發下會進行自我復位重啟。Currently, touch devices have been widely used in various electronic devices that require touch control. FIG. 1 shows a block diagram of a conventional touch device. As shown in FIG. 1 , a conventional touch device 1 a includes: a touch panel 11 a and at least one touch chip 12 a. FIG. 2 is a block diagram of a microcontroller 121 a , a SRAM 122 a and a flash memory 123 a included in the touch chip shown in FIG. 1 . Electronic engineers who are familiar with the design and manufacture of touch devices must know that the touch chip 12a will perform self-resetting and restarting under the trigger of a reset signal.

已知,所述復位信號由一復位源所傳送,且該復位源可為復位電路、復位軟體、ESD電路、看門狗(watchdog)電路等。熟悉觸控晶片12a之設計與製造的電子工程師必然知道,復位電路、ESD電路和看門狗(watchdog)電路係整合在觸控晶片12a之中,而復位軟體則安裝在一上位機之中。當然,用於對觸控晶片12a上電的電源電壓也是一種復位源。It is known that the reset signal is transmitted by a reset source, and the reset source can be a reset circuit, reset software, ESD circuit, watchdog circuit and the like. Electronic engineers who are familiar with the design and manufacture of the touch chip 12a must know that the reset circuit, ESD circuit and watchdog (watchdog) circuit are integrated in the touch chip 12a, and the reset software is installed in a host computer. Of course, the power supply voltage used to power on the touch chip 12a is also a reset source.

實務經驗顯示,實有必要追蹤、紀錄造成觸控晶片12a復位重啟之原因(即,復位源的種類),如此才可以使微控制器121a在復位重啟之時採取對應的啟動步驟,從而提高對於觸控晶片12a的異常保護能力。Practical experience shows that it is really necessary to track and record the reasons for the reset and restart of the touch chip 12a (that is, the type of reset source), so that the microcontroller 121a can take corresponding startup steps when it is reset and restarted, thereby improving the reliability of the touch control chip 12a. The abnormality protection capability of the touch chip 12a.

由上述說明可知,本領域亟需一種晶片軟失效之防止能力提升電路。It can be seen from the above description that there is an urgent need in the art for a chip soft failure prevention capability enhancement circuit.

本發明之主要目的在於提供一種復位源監測電路,其係應用於內含一微控制器的一觸控晶片之中,使該觸控晶片能夠在復位重啟的過程中紀錄復位原因,如晶片上電或ESD影響,從而令該觸控晶片內部的微控制器能夠採用相對應的啟動流程,有助於提高晶片的異常保護能力。The main purpose of the present invention is to provide a reset source monitoring circuit, which is applied to a touch chip containing a microcontroller, so that the touch chip can record the reset reason during the reset and restart process, such as on the chip Electricity or ESD impact, so that the microcontroller inside the touch chip can adopt a corresponding start-up process, which helps to improve the abnormal protection capability of the chip.

為達成上述目的,本發明提出所述復位源監測電路的一實施例,其應用於一觸控晶片之中,且耦接於一復位源和該觸控晶片的一微控制器之間,用以接收所述復位源所傳送的一復位信號,從而紀錄一第一位元用以代表和所述復位源相對應的一復位狀態;同時,該復位源監測電路傳送一復位始能信號至該微控制器,使該微控制器自所述復位源監測電路讀出該第一位元之後,將該第一位元修改成一第二位元,接著依據所述復位狀態而對應地執行一啟動流程。In order to achieve the above object, the present invention proposes an embodiment of the reset source monitoring circuit, which is applied in a touch chip and is coupled between a reset source and a microcontroller of the touch chip for use in To receive a reset signal transmitted by the reset source, so as to record a first bit to represent a reset state corresponding to the reset source; at the same time, the reset source monitoring circuit transmits a reset enable signal to the A microcontroller, after the microcontroller reads the first bit from the reset source monitoring circuit, modifies the first bit to a second bit, and then performs a start correspondingly according to the reset state process.

在一實施例中,該復位源包括複數個復位信號產生單元,且該複數個復位信號產生單元包括:復位電路、復位控制腳位、靜電放電防護電路以及看門狗電路。In one embodiment, the reset source includes a plurality of reset signal generating units, and the plurality of reset signal generating units include: a reset circuit, a reset control pin, an electrostatic discharge protection circuit, and a watchdog circuit.

在一實施例中,本發明之所述復位源監測電路包括:In one embodiment, the reset source monitoring circuit of the present invention includes:

一復位始能單元,以其複數個信號輸入端分別耦接複數個所述復位信號產生單元,且以其一信號輸出端耦接該微控制器;A reset enabling unit, with its plurality of signal input terminals coupled to the plurality of reset signal generation units, and with its signal output terminal coupled to the microcontroller;

複數個寄存器,其中,各個所述寄存器以其一第一控制端耦接一個所述復位信號產生單元;以及A plurality of registers, wherein each of the registers is coupled to one of the reset signal generation units with a first control terminal; and

一存取總線,耦接各個所述寄存器的一數據輸出端,且同時耦接各個所述寄存器的一數據輸入端以及該微控制器;an access bus, coupled to a data output end of each of the registers, and simultaneously coupled to a data input end of each of the registers and the microcontroller;

其中,在接收任一個所述復位信號產生單元所傳送的該復位信號之後,該復位始能單元發出該復位始能信號至該微控制器,使該微控制器透過該存取總線自所述寄存器之中讀出用以代表所述復位狀態的該第一位元;在完成所述第一位元的讀取之後,該微控制器將該第一位元修改成一第二位元。Wherein, after receiving the reset signal transmitted by any one of the reset signal generating units, the reset enabling unit sends the reset enabling signal to the microcontroller, so that the microcontroller can transfer from the microcontroller through the access bus The first bit used to represent the reset state is read from the register; after reading the first bit, the microcontroller modifies the first bit to a second bit.

在一實施例中,複數個所述寄存器還以其所述第一控制端耦接一上電復位源所傳送的一上電復位信號,且該復位始能單元的至少一個所述信號輸入端係同時耦接所述上電復位信號。In one embodiment, the first control terminals of the multiple registers are also coupled to a power-on reset signal transmitted by a power-on reset source, and at least one of the signal input terminals of the reset enabling unit The system is coupled to the power-on reset signal at the same time.

在一實施例中,該第一控制端為所述寄存器的一數據清除端或一重置端,且一時鐘信號在該微控制器透過該存取總線存取所述寄存器之時傳送至所述寄存器的一第二控制端;該第一位元為0,且該第二位元為1。In one embodiment, the first control terminal is a data clear terminal or a reset terminal of the register, and a clock signal is sent to the register when the microcontroller accesses the register through the access bus. A second control terminal of the register; the first bit is 0, and the second bit is 1.

並且,本發明同時提出一種觸控晶片,其內含一微控制器;其特徵在於,該觸控晶片具有一復位源監測電路,該復位源監測電路耦接於一復位源和該觸控晶片的一微控制器之間,用以接收所述復位源所傳送的一復位信號,從而紀錄一第一位元用以代表和所述復位源相對應的一復位狀態;同時,該復位源監測電路傳送一復位始能信號至該微控制器,使該微控制器自所述復位源監測電路讀出該第一位元之後,將該第一位元修改成一第二位元,接著依據所述復位狀態而對應地執行一啟動流程。Moreover, the present invention also proposes a touch control chip, which contains a microcontroller; the feature is that the touch control chip has a reset source monitoring circuit, and the reset source monitoring circuit is coupled to a reset source and the touch control chip between a microcontroller, to receive a reset signal transmitted by the reset source, so as to record a first bit to represent a reset state corresponding to the reset source; at the same time, the reset source monitors The circuit sends a reset enable signal to the microcontroller, so that the microcontroller reads the first bit from the reset source monitoring circuit, modifies the first bit to a second bit, and then according to the According to the above reset state, a start-up process is correspondingly executed.

在一實施例中,該復位源包括複數個復位信號產生單元,且該複數個復位信號產生單元包括:復位電路、復位控制腳位、靜電放電防護電路以及看門狗電路。In one embodiment, the reset source includes a plurality of reset signal generating units, and the plurality of reset signal generating units include: a reset circuit, a reset control pin, an electrostatic discharge protection circuit, and a watchdog circuit.

在一實施例中,包含於該觸控晶片之中的該復位源監測電路係包括:In one embodiment, the reset source monitoring circuit included in the touch chip includes:

一復位始能單元,以其複數個信號輸入端分別耦接複數個所述復位信號產生單元,且以其一信號輸出端耦接該微控制器;A reset enabling unit, with its plurality of signal input terminals coupled to the plurality of reset signal generation units, and with its signal output terminal coupled to the microcontroller;

複數個寄存器,其中,各個所述寄存器以其一第一控制端耦接一個所述復位信號產生單元;以及A plurality of registers, wherein each of the registers is coupled to one of the reset signal generation units with a first control terminal; and

一存取總線,耦接各個所述寄存器的一數據輸出端,且同時耦接各個所述寄存器的一數據輸入端以及該微控制器;an access bus, coupled to a data output end of each of the registers, and simultaneously coupled to a data input end of each of the registers and the microcontroller;

其中,在接收任一個所述復位信號產生單元所傳送的該復位信號之後,該復位始能單元發出該復位始能信號至該微控制器,使該微控制器透過該存取總線自所述寄存器之中讀出用以代表所述復位狀態的該第一位元;在完成所述第一位元的讀取之後,該微控制器將該第一位元修改成一第二位元;Wherein, after receiving the reset signal transmitted by any one of the reset signal generating units, the reset enabling unit sends the reset enabling signal to the microcontroller, so that the microcontroller can transfer from the microcontroller through the access bus reading the first bit representing the reset state from the register; after completing the reading of the first bit, the microcontroller modifies the first bit to a second bit;

其中,複數個所述寄存器還以其所述第一控制端耦接一上電復位源所傳送的一上電復位信號,且該復位始能單元之至少一個所述信號輸入端係同時耦接所述上電復位信號。Wherein, the plurality of said registers are also coupled with a power-on reset signal transmitted by a power-on reset source with said first control terminals thereof, and at least one of said signal input terminals of said reset enabling unit is simultaneously coupled to the power-on reset signal.

在一實施例中,該第一控制端為所述寄存器的一數據清除端或一重置端,且一時鐘信號在該微控制器透過該存取總線存取所述寄存器之時傳送至所述寄存器的一第二控制端;該第一位元為0,且該第二位元為1。In one embodiment, the first control terminal is a data clear terminal or a reset terminal of the register, and a clock signal is sent to the register when the microcontroller accesses the register through the access bus. A second control terminal of the register; the first bit is 0, and the second bit is 1.

本發明同時揭示一種資訊處理裝置,其特徵在於,具有一觸控面板以及如前所述本發明之觸控晶片。在可行的實施例中,該資訊處理裝置是選自於由觸控裝置、智能手機、智能手錶、智能手環、平板電腦、筆記型電腦、一體式電腦、和門禁裝置所組成群組之中的一種電子裝置。The present invention also discloses an information processing device, which is characterized in that it has a touch panel and the touch chip of the present invention as mentioned above. In a feasible embodiment, the information processing device is selected from the group consisting of a touch device, a smart phone, a smart watch, a smart bracelet, a tablet computer, a notebook computer, an all-in-one computer, and an access control device an electronic device.

為使  貴審查委員能進一步瞭解本發明之結構、特徵、目的、與其優點,茲附以圖式及較佳具體實施例之詳細說明如後。In order to enable your examiners to further understand the structure, features, purpose, and advantages of the present invention, drawings and detailed descriptions of preferred specific embodiments are hereby attached.

本發明旨在提出一種復位源監測電路,其係應用於內含一微控制器的一觸控晶片之中,使該觸控晶片能夠在復位重啟的過程中紀錄復位原因,如晶片上電或ESD影響,從而令該觸控晶片內部的微控制器能夠採用相對應的啟動流程,有助於提高晶片的異常保護能力。The purpose of the present invention is to propose a reset source monitoring circuit, which is applied to a touch chip containing a microcontroller, so that the touch chip can record the reset reason during the process of reset and restart, such as chip power-on or Due to the impact of ESD, the microcontroller inside the touch chip can adopt a corresponding start-up process, which helps to improve the abnormal protection capability of the chip.

圖3顯示包含本發明之一種觸控晶片的一觸控裝置的方塊圖。如圖3所示,該觸控裝置1包括:一觸控面板11與至少一本發明之觸控晶片12。圖4為本發明之觸控晶片12的內部單元之方塊圖。如圖4所示,本發明之觸控晶片12包括:一微控制器121、一靜態隨機存取記憶體122、一快閃記憶體123、一復位源監測單元124以及一復位源120a。在可行的實施例中,該復位源120a包括複數個復位信號產生單元,例如圖4所示之復位電路1201、復位控制腳位1202、ESD電路1203以及看門狗(Watchdog)電路1204。依據本發明之設計,該復位源監測電路124耦接於該復位源120和該微控制器121之間,用以接收所述復位源120所傳送的一復位信號,從而紀錄一第一位元用以代表和所述復位源120相對應的一復位狀態;同時,該復位源監測電路124傳送一復位始能信號至該微控制器121,使該微控制器121自所述復位源監測電路124讀出該第一位元之後,將該第一位元修改成一第二位元,接著依據所述復位狀態而對應地執行一啟動流程。FIG. 3 shows a block diagram of a touch device including a touch chip of the present invention. As shown in FIG. 3 , the touch device 1 includes: a touch panel 11 and at least one touch chip 12 of the present invention. FIG. 4 is a block diagram of internal units of the touch chip 12 of the present invention. As shown in FIG. 4 , the touch chip 12 of the present invention includes: a microcontroller 121 , a SRAM 122 , a flash memory 123 , a reset source monitoring unit 124 and a reset source 120a. In a feasible embodiment, the reset source 120a includes a plurality of reset signal generating units, such as a reset circuit 1201 , a reset control pin 1202 , an ESD circuit 1203 and a watchdog circuit 1204 shown in FIG. 4 . According to the design of the present invention, the reset source monitoring circuit 124 is coupled between the reset source 120 and the microcontroller 121 to receive a reset signal transmitted by the reset source 120, thereby recording a first bit It is used to represent a reset state corresponding to the reset source 120; at the same time, the reset source monitoring circuit 124 transmits a reset enable signal to the microcontroller 121, so that the microcontroller 121 can start from the reset source monitoring circuit. After the 124 reads out the first bit, it modifies the first bit into a second bit, and then executes a startup process correspondingly according to the reset state.

繼續地參閱圖4,並請同時參閱圖5,其顯示本發明之復位源監測單元124的內部單元之方塊圖。在一實施例中,該復位源監測電路124包括:一復位始能單元1241以及複數個寄存器1242。如圖5所示,該復位始能單元1241可例如為一具多輸入端的或閘,係以其複數個信號輸入端分別耦接複數個所述復位信號產生單元(1201~1204),且以其一信號輸出端耦接該微控制器121。應可理解,在接收任一個所述復位信號產生單元(1201~1204)所傳送的復位信號之後,該復位始能單元1241(即,或閘)即發出一復位始能信號至該微控制器121。Continue to refer to FIG. 4 , and please refer to FIG. 5 at the same time, which shows a block diagram of internal units of the reset source monitoring unit 124 of the present invention. In one embodiment, the reset source monitoring circuit 124 includes: a reset enabling unit 1241 and a plurality of registers 1242 . As shown in FIG. 5, the reset enabling unit 1241 can be, for example, an OR gate with multiple input terminals, and its multiple signal input terminals are respectively coupled to a plurality of the reset signal generating units (1201~1204). One signal output end is coupled to the microcontroller 121 . It should be understood that after receiving the reset signal transmitted by any one of the reset signal generating units (1201~1204), the reset enabling unit 1241 (that is, the OR gate) sends a reset enabling signal to the microcontroller 121.

更詳細地說明,各個所述寄存器1242以其一第一控制端耦接一個所述復位信號產生單元,且該存取總線1243耦接各個所述寄存器1242的一數據輸出端,且同時耦接各個所述寄存器1242的一數據輸入端以及該微控制器121。如圖5所示,該寄存器1242可例如為一D正反器,所述第一控制端即為D正反器的一數據清除端(CLR)或一重置端(或稱復位端),且該D正反器的一第二控制端用以接收一時鐘信號。In more detail, each of the registers 1242 is coupled to a reset signal generating unit with a first control terminal thereof, and the access bus 1243 is coupled to a data output terminal of each of the registers 1242, and is also coupled to A data input terminal of each of the registers 1242 and the microcontroller 121 . As shown in FIG. 5, the register 1242 can be, for example, a D flip-flop, and the first control terminal is a data clearing terminal (CLR) or a reset terminal (or reset terminal) of the D flip-flop. And a second control terminal of the D flip-flop is used to receive a clock signal.

舉例而言,圖5所示的四個寄存器1242皆寄存位元1。此時,由復位源120a所產生的一復位信號傳送至第二個寄存器1242的第一控制端(即, CLR端),則第二個寄存器1242所寄存的位元1便會被清零(即,變成位元0)。同時,復位始能單元1241也會依據所述復位信號而發送一復位始能信號給微控制器121,使該微控制器121向四個寄存器1242讀取寄存的位元。完成位元讀取之後,微控制器121便可依據位元讀取結果得知所述復位信號是由復位源120a之中的復位電路1201、復位控制腳位1202、ESD電路1203、或看門狗電路1204所發出。故而,該微控制器121能夠依據不同的復位原因而採取對應的復位啟動流程。For example, the four registers 1242 shown in FIG. 5 all store bit 1. At this time, a reset signal generated by the reset source 120a is transmitted to the first control terminal (that is, the CLR terminal) of the second register 1242, and the bit 1 stored in the second register 1242 will be cleared ( That is, it becomes bit 0). At the same time, the reset enabling unit 1241 also sends a reset enabling signal to the microcontroller 121 according to the reset signal, so that the microcontroller 121 reads the registered bits from the four registers 1242 . After the bit reading is completed, the microcontroller 121 can know that the reset signal is generated by the reset circuit 1201, the reset control pin 1202, the ESD circuit 1203, or the gatekeeper in the reset source 120a according to the result of the bit reading. issued by dog circuit 1204. Therefore, the microcontroller 121 can adopt a corresponding reset activation process according to different reset reasons.

更詳細地說明,因此 ,在每一次完成位元讀取之後,該微控制器121必須將原本用以代表示和所述復位信號產生單元相對應的一復位狀態的第一位元(即,位元0)修改成第二位元(即,位元1)。進一步地,圖4和圖5還繪示複數個所述寄存器1242同時以其所述第一控制端耦接由一上電復位源120b所傳送的一上電復位信號,且該復位始能單元1241的至少一個所述信號輸入端係同時耦接所述上電復位信號。簡單的說,在觸控晶片12接收一上電電壓之後,該上電復位源120b即發出一上電復位信號至各個所述寄存器1242以及該復位始能單元1241。在接收所述上電復位信號之後,各個寄存器1242即被清零。此時,微控制器121會自各個寄存器1242讀出位元0,即表示目前觸控晶片12係進行上電復位程序。補充說明的是,各個所述寄存器1242的第二控制端(即,CLK端)係用以接收一時鐘信號,且該時鐘信號在該微控制器121透過該存取總線1243存取所述寄存器1242之時傳送至所述CLK端,如此可以避免額外的功率消耗。To explain in more detail, therefore, after each bit reading is completed, the microcontroller 121 must replace the first bit originally used to represent a reset state corresponding to the reset signal generating unit (i.e., Bit 0) is modified to the second bit (ie, bit 1). Further, FIG. 4 and FIG. 5 also show that a plurality of the registers 1242 are simultaneously connected to a power-on reset signal transmitted by a power-on reset source 120b with the first control terminal thereof, and the reset enabling unit At least one of the signal input terminals of 1241 is coupled to the power-on reset signal at the same time. In short, after the touch chip 12 receives a power-on voltage, the power-on reset source 120 b sends a power-on reset signal to each of the registers 1242 and the reset enabling unit 1241 . After receiving the power-on reset signal, each register 1242 is cleared. At this time, the microcontroller 121 reads bit 0 from each register 1242, which means that the touch chip 12 is currently performing a power-on reset procedure. It is supplemented that the second control terminal (ie, CLK terminal) of each of the registers 1242 is used to receive a clock signal, and the clock signal is used to access the registers by the microcontroller 121 through the access bus 1243 1242 is transmitted to the CLK terminal, so that additional power consumption can be avoided.

如此,上述已完整且清楚地說明本發明之一種復位源監測電路;並且,經由上述可得知本發明具有下列優點:Thus, the above has completely and clearly described a reset source monitoring circuit of the present invention; and, through the above, it can be known that the present invention has the following advantages:

(1)本發明揭示一種復位源監測電路,其係應用於內含一微控制器的一觸控晶片之中,使該觸控晶片能夠在復位重啟的過程中紀錄復位原因,如晶片上電或ESD影響,從而令該觸控晶片內部的微控制器能夠採用相對應的啟動流程,有助於提高晶片的異常保護能力。(1) The present invention discloses a reset source monitoring circuit, which is applied to a touch chip containing a microcontroller, so that the touch chip can record the reset reason during the reset and restart process, such as the chip is powered on or ESD impact, so that the microcontroller inside the touch chip can adopt a corresponding start-up process, which helps to improve the abnormal protection capability of the chip.

(2)本發明同時揭示一種觸控晶片,其內含一微控制器;其特徵在於,該觸控晶片具有如前所述本發明之復位源監測電路。(2) The present invention also discloses a touch control chip, which contains a microcontroller; the feature is that the touch control chip has the reset source monitoring circuit of the present invention as mentioned above.

(3)本發明同時提供一種資訊處理裝置,其特徵在於具有一觸控面板以及如前所述本發明之觸控晶片。在可行的實施例中,該資訊處理裝置是選自於由觸控裝置、智能手機、智能手錶、智能手環、平板電腦、筆記型電腦、一體式電腦、和門禁裝置所組成群組之中的一種電子裝置。(3) The present invention also provides an information processing device, which is characterized by having a touch panel and the touch chip of the present invention as mentioned above. In a feasible embodiment, the information processing device is selected from the group consisting of a touch device, a smart phone, a smart watch, a smart bracelet, a tablet computer, a notebook computer, an all-in-one computer, and an access control device an electronic device.

必須加以強調的是,前述本案所揭示者乃為較佳實施例,舉凡局部之變更或修飾而源於本案之技術思想而為熟習該項技藝之人所易於推知者,俱不脫本案之專利權範疇。It must be emphasized that what is disclosed in the above-mentioned case is a preferred embodiment, and all partial changes or modifications derived from the technical ideas of this case and easily deduced by those familiar with the technology are all inseparable from the patent of this case. category of rights.

綜上所陳,本案無論目的、手段與功效,皆顯示其迥異於習知技術,且其首先發明合於實用,確實符合發明之專利要件,懇請  貴審查委員明察,並早日賜予專利俾嘉惠社會,是為至禱。To sum up, the purpose, means and efficacy of this case all show that it is very different from the conventional technology, and its first invention is practical, and indeed meets the patent requirements of the invention. I implore your review committee to be aware and grant a patent as soon as possible to benefit you. Society is for the Most Prayer.

1a:觸控裝置 11a:觸控面板 12a:觸控晶片 121a:微控制器 122a:靜態隨機存取記憶體 123a:快閃記憶體 1:觸控裝置 11:觸控面板 12:觸控晶片 121:微控制器 122:靜態隨機存取記憶體 123:快閃記憶體 124:復位源監測單元 1241:復位始能單元 1242:寄存器 120a:復位源 120b:上電復位源 1201:復位電路 1202:復位控制腳位 1203:ESD電路 1204:看門狗電路 1a: Touch device 11a: Touch panel 12a: Touch chip 121a: Microcontroller 122a: Static Random Access Memory 123a: Flash memory 1: Touch device 11: Touch panel 12: Touch chip 121: Microcontroller 122: static random access memory 123: Flash memory 124: Reset source monitoring unit 1241: reset enabling unit 1242: Register 120a: reset source 120b: power-on reset source 1201: reset circuit 1202: reset control pin 1203:ESD circuit 1204: Watchdog circuit

圖1為習知的一種觸控裝置的方塊圖; 圖2為顯示於圖1內的觸控晶片所包含的一微控制器、一靜態隨機存取記憶體和一快閃記憶體的方塊圖; 圖3為包含本發明之一種觸控晶片的一觸控裝置的方塊圖; 圖4為本發明之觸控晶片的內部單元之方塊圖;以及 圖5為本發明之一種復位源監測單元的內部單元之方塊圖。 FIG. 1 is a block diagram of a known touch device; FIG. 2 is a block diagram of a microcontroller, a static random access memory and a flash memory included in the touch chip shown in FIG. 1; 3 is a block diagram of a touch device including a touch chip of the present invention; FIG. 4 is a block diagram of an internal unit of the touch chip of the present invention; and FIG. 5 is a block diagram of an internal unit of a reset source monitoring unit of the present invention.

12:觸控晶片 12: Touch chip

121:微控制器 121: Microcontroller

122:靜態隨機存取記憶體 122: static random access memory

123:快閃記憶體 123: Flash memory

124:復位源監測單元 124: Reset source monitoring unit

120a:復位源 120a: reset source

120b:上電復位源 120b: power-on reset source

1201:復位電路 1201: reset circuit

1202:復位控制腳位 1202: reset control pin

1203:ESD電路 1203:ESD circuit

1204:看門狗電路 1204: Watchdog circuit

Claims (9)

一種復位源監測電路,應用於一觸控晶片之中,其特徵在於:該復位源監測電路耦接於一復位源和一微控制器之間以接收所述復位源所傳送的一復位信號,並紀錄一第一位元以代表和所述復位源相對應的一復位狀態;以及該復位源監測電路傳送一復位始能信號至該微控制器,使該微控制器自所述復位源監測電路讀出該第一位元後,將該第一位元修改成一第二位元,接著依據所述復位狀態對應地執行一啟動流程;其中,該復位源監測電路包括:一復位始能單元,以其複數個信號輸入端對應耦接複數個復位信號產生單元,且以其一信號輸出端耦接該微控制器;複數個寄存器,各以其一第一控制端耦接一個所述復位信號產生單元;以及一存取總線,耦接各個所述寄存器的一數據輸出端,且同時耦接各個所述寄存器的一數據輸入端以及該微控制器;其中,在接收任一個所述復位信號產生單元所傳送之一復位信號之後,該復位始能單元發出一復位始能信號至該微控制器,使該微控制器透過該存取總線自該些寄存器中讀出用以代表所述復位狀態的該第一位元;在完成所述第一位元的讀取之後,該微控制器將該第一位元修改成該第二位元。 A reset source monitoring circuit applied to a touch chip, characterized in that: the reset source monitoring circuit is coupled between a reset source and a microcontroller to receive a reset signal transmitted by the reset source, and record a first bit to represent a reset state corresponding to the reset source; and the reset source monitoring circuit sends a reset enabling signal to the microcontroller, so that the microcontroller monitors the reset source from the reset source After the circuit reads the first bit, it modifies the first bit into a second bit, and then correspondingly executes a start-up process according to the reset state; wherein, the reset source monitoring circuit includes: a reset enabling unit A plurality of signal input terminals are correspondingly coupled to a plurality of reset signal generation units, and a signal output terminal is coupled to the microcontroller; a plurality of registers are each coupled to a reset signal with a first control terminal thereof a signal generating unit; and an access bus, coupled to a data output end of each of the registers, and simultaneously coupled to a data input end of each of the registers and the microcontroller; wherein, upon receiving any one of the reset After a reset signal sent by the signal generating unit, the reset enabling unit sends a reset enabling signal to the microcontroller, so that the microcontroller reads the registers through the access bus to represent the The first bit of the reset state; after completing the reading of the first bit, the microcontroller modifies the first bit to the second bit. 如請求項1所述之復位源監測電路,其中,該復位源包括該些復位信號產生單元,且該些復位信號產生單元包括:復位電路、復位控制腳位、靜電放電防護電路以及看門狗電路。 The reset source monitoring circuit as described in Claim 1, wherein the reset source includes the reset signal generating units, and the reset signal generating units include: a reset circuit, a reset control pin, an electrostatic discharge protection circuit, and a watchdog circuit. 如請求項1所述之復位源監測電路,其中,該些寄存器還以其所述第一控制端耦接一上電復位源所傳送的一上電復位信號,且該復位始能單元的至少一個所述信號輸入端係同時耦接所述上電復位信號。 The reset source monitoring circuit as described in claim 1, wherein the first control terminals of these registers are also coupled to a power-on reset signal transmitted by a power-on reset source, and at least the reset enable unit One of the signal input terminals is coupled to the power-on reset signal at the same time. 如請求項3所述之復位源監測電路,其中,該第一控制端為所述寄存器的一數據清除端或一重置端,且一時鐘信號在該微控制器透過該存取總線存取所述寄存器之時被傳送至所述寄存器的一第二控制端;該第一位元 為0,且該第二位元為1。 The reset source monitoring circuit as described in claim 3, wherein the first control terminal is a data clearing terminal or a reset terminal of the register, and a clock signal is accessed by the microcontroller through the access bus The register is then transferred to a second control terminal of the register; the first bit is 0, and the second bit is 1. 一種觸控晶片,其內含一微控制器;其特徵在於,該觸控晶片具有一復位源監測電路,該復位源監測電路耦接於一復位源和該觸控晶片的一微控制器之間,用以接收所述復位源所傳送的一復位信號,從而紀錄一第一位元用以代表和所述復位源相對應的一復位狀態;同時,該復位源監測電路傳送一復位始能信號至該微控制器,使該微控制器自所述復位源監測電路讀出該第一位元之後,將該第一位元修改成一第二位元,接著依據所述復位狀態而對應地執行一啟動流程;其中,該復位源監測電路包括:一復位始能單元,以其複數個信號輸入端對應耦接複數個復位信號產生單元,且以其一信號輸出端耦接該微控制器;複數個寄存器,各以其一第一控制端耦接一個所述復位信號產生單元;以及一存取總線,耦接各個所述寄存器的一數據輸出端,且同時耦接各個所述寄存器的一數據輸入端以及該微控制器;其中,在接收任一個所述復位信號產生單元所傳送之一復位信號之後,該復位始能單元發出一復位始能信號至該微控制器,使該微控制器透過該存取總線自該些寄存器中讀出用以代表所述復位狀態的該第一位元;在完成所述第一位元的讀取之後,該微控制器將該第一位元修改成該第二位元。 A touch chip, which contains a microcontroller; it is characterized in that the touch chip has a reset source monitoring circuit, and the reset source monitor circuit is coupled between a reset source and a microcontroller of the touch chip During the interval, it is used to receive a reset signal transmitted by the reset source, so as to record a first bit to represent a reset state corresponding to the reset source; at the same time, the reset source monitoring circuit transmits a reset enable signal to the microcontroller, so that the microcontroller reads the first bit from the reset source monitoring circuit, modifies the first bit into a second bit, and then correspondingly according to the reset state Executing a start-up process; wherein, the reset source monitoring circuit includes: a reset enabling unit, with its multiple signal input terminals correspondingly coupled to multiple reset signal generation units, and its signal output terminal coupled with the microcontroller a plurality of registers, each with a first control terminal coupled to one of the reset signal generating units; and an access bus, coupled to a data output terminal of each of the registers, and simultaneously coupled to each of the registers A data input terminal and the microcontroller; wherein, after receiving a reset signal transmitted by any one of the reset signal generating units, the reset enabling unit sends a reset enabling signal to the microcontroller, so that the microcontroller The controller reads the first bit used to represent the reset state from the registers through the access bus; after completing the reading of the first bit, the microcontroller sets the first bit The element is modified to the second bit. 如請求項5所述之觸控晶片,其中,該復位源包括該些復位信號產生單元,且該些復位信號產生單元包括:復位電路、復位控制腳位、靜電放電防護電路以及看門狗電路。 The touch chip according to claim 5, wherein the reset source includes the reset signal generating units, and the reset signal generating units include: a reset circuit, a reset control pin, an electrostatic discharge protection circuit, and a watchdog circuit . 如請求項5所述之觸控晶片,其中,該些寄存器還以其所述第一控制端耦接一上電復位源所傳送的一上電復位信號,且該復位始能單元之至少一個所述信號輸入端係同時耦接所述上電復位信號。 The touch chip according to claim 5, wherein, the first control terminals of these registers are also coupled to a power-on reset signal transmitted by a power-on reset source, and at least one of the reset enabling units The signal input end is coupled to the power-on reset signal at the same time. 如請求項7所述之觸控晶片,該第一控制端為所述寄存器的 一數據清除端或一重置端,且一時鐘信號在該微控制器透過該存取總線存取所述寄存器之時被傳送至所述寄存器的一第二控制端;該第一位元為0,且該第二位元為1。 The touch chip as described in claim 7, the first control terminal is the register A data clear terminal or a reset terminal, and a clock signal is sent to a second control terminal of the register when the microcontroller accesses the register through the access bus; the first bit is 0, and the second bit is 1. 一種資訊處理裝置,其特徵在於,具有一觸控面板以及至少一如請求項5至請求項8中任一項所述之觸控晶片。 An information processing device, characterized by having a touch panel and at least one touch chip according to any one of claim 5 to claim 8.
TW110121084A 2021-06-09 2021-06-09 Reset source monitoring circuit, touch chip and information processing device TWI782569B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110121084A TWI782569B (en) 2021-06-09 2021-06-09 Reset source monitoring circuit, touch chip and information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110121084A TWI782569B (en) 2021-06-09 2021-06-09 Reset source monitoring circuit, touch chip and information processing device

Publications (2)

Publication Number Publication Date
TWI782569B true TWI782569B (en) 2022-11-01
TW202248803A TW202248803A (en) 2022-12-16

Family

ID=85793543

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110121084A TWI782569B (en) 2021-06-09 2021-06-09 Reset source monitoring circuit, touch chip and information processing device

Country Status (1)

Country Link
TW (1) TWI782569B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102141850A (en) * 2010-01-29 2011-08-03 钛积创新科技股份有限公司 Automatic detection and reply touch system and resetting device thereof
TW201303686A (en) * 2011-07-01 2013-01-16 Pixart Imaging Inc Capacitive touchscreen system and operating method thereof
TW201501006A (en) * 2013-06-20 2015-01-01 Focaltech Systems Ltd Capacitive touch screen
TW201729074A (en) * 2015-11-03 2017-08-16 英特爾公司 Enabling removal and reconstruction of flag operations in a processor
TW202107586A (en) * 2019-08-13 2021-02-16 大陸商集創北方(深圳)科技有限公司 Touch detection mode switching method, touch-display driving integrated chip and information processing device characterized by greatly shortening the waiting time of resynchronization of the restarting touch detection and the VSYNC, thereby avoiding the occurrence of miss detection of touch operation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102141850A (en) * 2010-01-29 2011-08-03 钛积创新科技股份有限公司 Automatic detection and reply touch system and resetting device thereof
TW201303686A (en) * 2011-07-01 2013-01-16 Pixart Imaging Inc Capacitive touchscreen system and operating method thereof
TW201501006A (en) * 2013-06-20 2015-01-01 Focaltech Systems Ltd Capacitive touch screen
TW201729074A (en) * 2015-11-03 2017-08-16 英特爾公司 Enabling removal and reconstruction of flag operations in a processor
TW202107586A (en) * 2019-08-13 2021-02-16 大陸商集創北方(深圳)科技有限公司 Touch detection mode switching method, touch-display driving integrated chip and information processing device characterized by greatly shortening the waiting time of resynchronization of the restarting touch detection and the VSYNC, thereby avoiding the occurrence of miss detection of touch operation

Also Published As

Publication number Publication date
TW202248803A (en) 2022-12-16

Similar Documents

Publication Publication Date Title
US10824499B2 (en) Memory system architectures using a separate system control path or channel for processing error information
TWI553650B (en) Method, apparatus and system for handling data error events with a memory controller
US8966327B1 (en) Protocol checking logic circuit for memory system reliability
US6615374B1 (en) First and next error identification for integrated circuit devices
TWI522794B (en) Energy-efficient nonvolatile microprocessor
JP4153802B2 (en) Storage device
US9129061B2 (en) Method and apparatus for on-chip debugging
Taşar et al. A study of intermittent faults in digital computers
TWI782569B (en) Reset source monitoring circuit, touch chip and information processing device
US8171448B2 (en) Structure for a livelock resolution circuit
JP2001014858A (en) Memory device and coupling noise eliminating device
US20090195280A1 (en) Integrated circuit having a memory with a plurality of storage cells of synchronous design and connected to clock gating units
WO2023217186A1 (en) System-on-chip, and power-on recovery method for related system
US10747611B2 (en) Safety enhancement for memory controllers
TWI559009B (en) Dynamic memory testing apparatus and testing method thereof
US5673419A (en) Parity bit emulator with write parity bit checking
JP2019204485A (en) Machine learning device, and machine learning system using the same
JP4324149B2 (en) Emulator and development support system using it
TWI759208B (en) Circuit and method for improving chip soft failure prevention capability, control chip and information processing device
TWI831312B (en) Programming control circuits, one-time programmable memory devices, electronic chips and information processing devices
JP2020140380A (en) Semiconductor device and debugging system
TWI838137B (en) Programming control circuits, electronic chips and information processing devices with write protection function
CN220137656U (en) SATA solid state disk restarting power-down protection circuit
WO2024198468A1 (en) Memory error correction method, memory module, memory controller, and processor
US10255986B2 (en) Assessing in-field reliability of computer memories