[go: up one dir, main page]

TWI667607B - A printer-compatible synchronous circuit and method thereof - Google Patents

A printer-compatible synchronous circuit and method thereof Download PDF

Info

Publication number
TWI667607B
TWI667607B TW106136124A TW106136124A TWI667607B TW I667607 B TWI667607 B TW I667607B TW 106136124 A TW106136124 A TW 106136124A TW 106136124 A TW106136124 A TW 106136124A TW I667607 B TWI667607 B TW I667607B
Authority
TW
Taiwan
Prior art keywords
printer
microprocessor
mcu
command
wafer
Prior art date
Application number
TW106136124A
Other languages
Chinese (zh)
Other versions
TW201917559A (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 TW106136124A priority Critical patent/TWI667607B/en
Publication of TW201917559A publication Critical patent/TW201917559A/en
Application granted granted Critical
Publication of TWI667607B publication Critical patent/TWI667607B/en

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Testing Or Measuring Of Semiconductors Or The Like (AREA)

Abstract

一種印表機兼容晶片的同步傳輸電路,包括一微處理器(MCU)設置於印表機端與原廠晶片之間,其中該印表機端的時脈線(SCLK)係並聯至該微處理器(MCU)及該原廠晶片的時脈腳位,該印表機端的資料線(SDA)係連接至該微處理器(MCU)再經由該微處理器(MCU)連接至該原廠晶片的資料腳位。 A printer compatible wafer synchronous transmission circuit, comprising a microprocessor (MCU) disposed between the printer end and the original wafer, wherein the printer clock line (SCLK) is connected in parallel to the micro processing (MCU) and the clock pin of the original chip, the data line (SDA) of the printer is connected to the microprocessor (MCU) and connected to the original chip via the microprocessor (MCU) Information pin.

Description

印表機兼容晶片的同步傳輸電路及同步方法 Printer synchronous chip transmission circuit and synchronization method

本發明係有關於一種印表機兼容晶片的同步傳輸電路及同步方法,特別是指一種令印表機兼容晶片與原廠晶片同步處理命令以節省傳輸時間的印表機兼容晶片的同步傳輸電路及同步方法。 The invention relates to a synchronous transmission circuit and a synchronization method for a printer compatible wafer, in particular to a synchronous transmission circuit of a printer compatible wafer for synchronizing processing instructions of a printer compatible wafer with an original wafer to save transmission time. And synchronization methods.

印表機的通訊協定涵蓋多種已知或未知的協議,在已知的協議上包含I2C(Inter-Integrated Circuit)通訊協定、SPI通訊協議以及寬窄比通訊協議等等,這些協議均是利用一只或多只時脈(clock)腳位(以下通稱為SCLK)、以及一只或多只資料(data)腳位(以下通稱為SDA)傳輸訊號,利用該腳位協同單一個或複數個主、從裝置完成資料收送。 The printer's communication protocol covers a variety of known or unknown protocols, including I 2 C (Inter-Integrated Circuit) communication protocol, SPI communication protocol, and narrow-ratio communication protocol, etc., which are utilized in known protocols. One or more clock pins (hereinafter collectively referred to as SCLK) and one or more data pins (hereinafter collectively referred to as SDA) transmit signals, using the pin to cooperate with one or more The master and slave devices complete the data delivery.

目前市面上,印表機生產廠商為了維持企業的利潤,在墨水匣上使用了加密晶片,並在加密晶片中設置特殊的儲存單元,該儲存單元中的資料溢出後即無法記錄任何數據,利用上述的方式防止他人破解晶片、或重複利用已使用過的晶片。由 於上述的情況,導致耗材沒法被再生使用,同時相容耗材廠商也沒法生產可通用的耗材,使得印表機廠商得以壟斷市場、限制競業競爭,造成消費者無法選擇其他更符合自身需求的耗材。 At present, in order to maintain the profit of the enterprise, the printer manufacturer uses an encrypted chip on the ink cartridge and sets a special storage unit in the encrypted chip. After the data in the storage unit overflows, no data can be recorded. The above approach prevents others from cracking the wafer or reusing used wafers. by In the above situation, the consumables cannot be recycled, and the consumables manufacturers can't produce universal consumables, which makes the printer manufacturers monopolize the market and limit competition in competition, which makes consumers unable to choose others to be more in line with themselves. Consumables for demand.

針對上述的問題,目前市場上可行的方式為配合原廠晶片另外設置一兼容晶片,利用原廠晶片進行驗證,並利用兼容晶片取代原廠晶片執行資料儲存的功能。具體而言,目前市場上可見的方式是在印表機及原廠晶片之間加裝一兼容晶片,當印表機送出命令時,兼容晶片係接收該印表機所有的資料,然後判別資料內容是否要自己回應或由原廠晶片回應(驗證),如果可自己回應則兼容晶片自行回覆印表機,若需要原廠晶片回應,則把收到的資料發送給原廠晶片,並將原廠晶片處理過後的金鑰收回,再傳送至印表機。 In response to the above problems, it is currently feasible in the market to additionally provide a compatible chip in conjunction with the original wafer, verify the original wafer, and replace the original wafer with a compatible wafer to perform data storage. Specifically, the currently available method is to install a compatible chip between the printer and the original wafer. When the printer sends the command, the compatible chip receives all the data of the printer, and then discriminates the data. Whether the content should respond to itself or respond (verify) by the original chip. If it can respond by itself, the compatible chip will reply to the printer itself. If the original wafer response is required, the received data will be sent to the original wafer, and the original will be sent to the original wafer. The processed wafer is reclaimed and sent to the printer.

惟,上述的傳輸方式均需要經過兼容晶片預先進行處理,始能將訊號傳送至印表機端或原廠晶片,這會造成傳輸的延遲,此外,印表機的第一次驗證由於必須先經由兼容晶片進行處理並傳送至後端的原廠晶片,因此第一次驗證勢必一定會失敗而必須進行二次以上的驗證,因而增加了兩倍甚至兩倍以上的傳輸時間。 However, the above transmission methods need to be processed in advance by compatible wafers, and the signal can be transmitted to the printer end or the original wafer, which will cause delay in transmission. In addition, the first verification of the printer must be carried out first. Compatible with the wafer for processing and transfer to the original wafer at the back end, so the first verification will inevitably fail and must be verified more than twice, thus increasing the transmission time by a factor of two or more.

本發明的主要目的,在於解決習知技術中藉由原廠晶片進行驗證時,由於兼容晶片與原廠晶片無法同步,造成增加兩倍甚至兩倍以上傳輸時間的缺失。 The main object of the present invention is to solve the problem in the prior art that when the original wafer is used for verification, the compatible wafer cannot be synchronized with the original wafer, and the transmission time is increased by two times or more.

為達到上述目的,本發明係提供一種印表機兼容晶片的同步傳輸電路,包括一微處理器(MCU)設置於印表機端與原廠晶片之間,其中該印表機端的時脈線(SCLK)係並聯至該微處理器(MCU)及該原廠晶片的時脈腳位,該印表機端的資料線(SDA)係連接至該微處理器(MCU)再經由該微處理器(MCU)連接至該原廠晶片的資料腳位。 In order to achieve the above object, the present invention provides a printer-compatible wafer synchronous transmission circuit, comprising a microprocessor (MCU) disposed between the printer end and the original wafer, wherein the printer end clock line (SCLK) is connected in parallel to the microprocessor (MCU) and the clock pin of the original chip, the data line (SDA) of the printer is connected to the microprocessor (MCU) and then via the microprocessor (MCU) is connected to the data pin of the original wafer.

進一步地,該印表機端係經由該時脈線(SCLK)同時傳送時脈訊號至該微處理器(MCU)及該原廠晶片的時脈腳位以進行同步,該微處理器(MCU)由該時脈訊號觸發並接通該資料線(SDA)及該原廠晶片的資料腳位,並判別接受到的命令是否為驗證命令,於確認該命令為驗證命令時,由該原廠晶片將驗證訊號回傳至該印表機端。 Further, the printer end transmits the clock signal to the microprocessor (MCU) and the clock pin of the original wafer through the clock line (SCLK) for synchronization, the microprocessor (MCU) The trigger signal is triggered by the clock signal and the data pin (SDA) and the data pin of the original chip are determined, and it is determined whether the received command is a verification command, and when the command is confirmed as a verification command, the original factory The chip returns the verification signal to the printer.

進一步地,該印表機端係經由雙方的通訊協定透過該時脈線(SCLK)與該資料線(SDA)收發命令及資料。 Further, the printer end transmits and receives commands and data through the clock line (SCLK) and the data line (SDA) via the communication protocol of both parties.

進一步地,該微處理器(MCU)於判別該命令係為控制命令時,則該微處理器(MCU)斷開該資料線及後方的該原廠晶片的連接,直接經由該微處理器(MCU)接管該印表機端的該資料線(SDA)接收並處理該控制命令,以基於該控制命令執行讀取或寫入。 Further, when the microprocessor (MCU) determines that the command is a control command, the microprocessor (MCU) disconnects the data line and the original wafer from the rear, directly via the microprocessor ( The MCU) receives the data line (SDA) at the printer end to receive and process the control command to perform a read or write based on the control command.

本發明的另一目的,在於提供一種印表機兼容晶片的同步方法,包括:同時將印表機端的時脈訊號饋入微處理器及原廠晶片,以令該微處理器及該原廠晶片同步;該微處理器(MCU)經由該時脈訊號觸發並接通該資料線(SDA)及該原廠晶片;該微處 理器(MCU)經由該資料線(SDA)判別接受到的命令是否為驗證命令;以及於確認該命令為驗證命令時,由該原廠晶片將驗證訊號回傳至該印表機端。 Another object of the present invention is to provide a printer compatible wafer synchronization method, comprising: simultaneously feeding a clock signal of a printer end into a microprocessor and an original wafer to make the microprocessor and the original wafer Synchronizing; the microprocessor (MCU) triggers and turns on the data line (SDA) and the original wafer via the clock signal; The MCU determines whether the received command is a verification command via the data line (SDA); and when the command is confirmed as a verification command, the verification signal is transmitted back to the printer end by the original chip.

進一步地,該印表機端係經由雙方的通訊協定透過該時脈線(SCLK)與該資料線(SDA)收發命令及資料。 Further, the printer end transmits and receives commands and data through the clock line (SCLK) and the data line (SDA) via the communication protocol of both parties.

進一步地,該微處理器(MCU)於判別該命令係為控制命令時,則該微處理器(MCU)斷開該資料線及後方的該原廠晶片的連接,直接經由該微處理器(MCU)接管該印表機端的資料線(SDA)接收並處理該控制命令,以基於該控制命令執行讀取或寫入。 Further, when the microprocessor (MCU) determines that the command is a control command, the microprocessor (MCU) disconnects the data line and the original wafer from the rear, directly via the microprocessor ( The MCU) takes over the data line (SDA) at the printer end to receive and process the control command to perform a read or write based on the control command.

是以,本發明係比起習知技術具有以下優勢功效:本發明的串接方式可以縮短資料傳輸時間,讓整個線路上的運作時間與未串接的狀態相同,讓印表機及原廠晶片達到同步傳輸的效果。 Therefore, the present invention has the following advantageous effects compared to the prior art: the serial connection method of the present invention can shorten the data transmission time, so that the operation time on the entire line is the same as that of the unconnected state, so that the printer and the original factory The wafer achieves the effect of simultaneous transmission.

100‧‧‧同步傳輸電路 100‧‧‧Synchronous transmission circuit

10‧‧‧墨水匣 10‧‧‧Ink 匣

20‧‧‧印表機端 20‧‧‧Printer end

21‧‧‧時脈線 21‧‧‧ clock line

22‧‧‧資料線 22‧‧‧Information line

11‧‧‧微處理器 11‧‧‧Microprocessor

111‧‧‧時脈腳位 111‧‧‧clock position

112A‧‧‧資料腳位 112A‧‧‧Information pin

112B‧‧‧資料腳位 112B‧‧‧Information pin

12‧‧‧原廠晶片 12‧‧‧Original wafer

121‧‧‧時脈腳位 121‧‧‧clock position

122‧‧‧資料腳位 122‧‧‧Information pin

步驟S01-步驟S06 Step S01-Step S06

圖1,係為本發明印表機兼容晶片的同步傳輸電路的方塊示意圖(一)。 FIG. 1 is a block diagram (1) of a synchronous transmission circuit of a printer compatible wafer of the present invention.

圖2,係為本發明印表機兼容晶片的同步傳輸電路的方塊示意圖(二)。 2 is a block diagram (2) of a synchronous transmission circuit of a printer compatible wafer of the present invention.

圖3,係為本發明印表機兼容晶片的同步方法的流程示意圖。 Fig. 3 is a flow chart showing the synchronization method of the printer compatible wafer of the present invention.

有關本發明之詳細說明及技術內容,現就配合圖式 說明如下。再者,本發明中之圖式,為說明方便,其比例未必照實際比例繪製,該等圖式及其比例並非用以限制本發明之範圍,在此先行敘明。 The detailed description and technical content of the present invention are now in conjunction with the schema. described as follows. In addition, the drawings in the present invention are for convenience of description, and the ratios thereof are not necessarily drawn to actual scales, and the drawings and their proportions are not intended to limit the scope of the present invention, and are described herein.

於本發明中所述的時脈線、時脈腳位、資料線、資料腳位並不限於一只,舉凡時脈線、時脈腳位、資料線、資料腳位數量的擴充或增加均屬於本發明所欲保護的範圍。 The clock line, the clock position, the data line, and the data pin described in the present invention are not limited to one, and the expansion or increase of the number of the clock line, the clock position, the data line, and the data position is It is within the scope of the invention to be protected.

以下係針對本發明舉一較佳實施態樣進行說明。請先參閱「圖1」,係本發明印表機兼容晶片的同步傳輸電路的方塊示意圖(一),如圖所示:本發明係提供一種印表機兼容晶片的同步傳輸電路100,係用於墨水匣10上,並於墨水匣10安裝於印表機端20時與印表機端20的輸出入端子構成同步傳輸電路。所述的同步傳輸電路主要包括一微處理器11(Micro Control Unit,MCU),該微處理器11係設置於印表機端20與原廠晶片12之間,與該印表機端20及該原廠晶片12構成串聯迴路。 Hereinafter, a preferred embodiment of the present invention will be described. Please refer to FIG. 1 first, which is a block diagram (1) of a synchronous transmission circuit of a printer compatible wafer of the present invention. As shown in the figure, the present invention provides a printer-compatible wafer synchronous transmission circuit 100 for use in a printer. On the ink cartridge 10, when the ink cartridge 10 is mounted on the printer end 20, the output terminal of the printer terminal 20 constitutes a synchronous transmission circuit. The synchronous transmission circuit mainly includes a microprocessor 11 (MCU), and the microprocessor 11 is disposed between the printer end 20 and the original wafer 12, and the printer terminal 20 and The original wafer 12 constitutes a series circuit.

具體而言,所述的微處理器11係與該原廠晶片12及電路構成單一模組,安裝於墨水匣10上,電性結合於該墨水匣10上的電性接點(或連接器),於該墨水匣10安裝於印表機端20時,墨水匣10上的電性接點係與該印表機端20的導通點電性連接,藉此與印表機端20的電路構成所述的串聯迴路。 Specifically, the microprocessor 11 is configured as a single module with the original wafer 12 and the circuit, and is mounted on the ink cartridge 10, and is electrically coupled to the electrical contact (or connector) of the ink cartridge 10. When the ink cartridge 10 is mounted on the printer end 20, the electrical contacts on the ink cartridge 10 are electrically connected to the conductive dots of the printer terminal 20, thereby electrically connecting the printer terminal 20 The series circuit is constructed.

所述的微處理器11係連接至儲存單元,用以存取並執行該儲存單元內的資料。於本較佳實施態樣中,所述的微處理 器11係與該儲存單元共構為一處理器,於本發明中不予以限制。 The microprocessor 11 is connected to a storage unit for accessing and executing data in the storage unit. In the preferred embodiment, the micro processing The processor 11 is co-constructed with the storage unit as a processor, which is not limited in the present invention.

所述的原廠晶片12係為原廠出產的晶片,該原廠晶片12係與該印表機端20對應,當接收到該印表機端20的驗證訊息時,該原廠晶片12可根據密碼校驗演算法基於該驗證訊息進行計算,以將計算後獲得的密碼校驗結果經由微處理器11回傳至印表機端20以完成驗證。 The original wafer 12 is an original wafer, and the original wafer 12 corresponds to the printer end 20. When receiving the verification message of the printer end 20, the original wafer 12 can be The calculation is performed based on the verification message according to the password verification algorithm, so that the password verification result obtained after the calculation is transmitted back to the printer terminal 20 via the microprocessor 11 to complete the verification.

其中,該印表機端20的時脈線21(SCLK)係並聯至該微處理器11及該原廠晶片12的時脈腳位111、121,藉以使該微處理器11及該原廠晶片12同步;該印表機端20的資料線22(SDA)係連接至該微處理器11的資料腳位112A再經由該微處理器11的資料腳位112B連接至該原廠晶片12的資料腳位122,藉此構成同步傳輸電路。 The clock line 21 (SCLK) of the printer terminal 20 is connected in parallel to the microprocessor 11 and the clock pins 111 and 121 of the original wafer 12, so that the microprocessor 11 and the original factory The wafer 12 is synchronized; the data line 22 (SDA) of the printer end 20 is connected to the data pin 112A of the microprocessor 11 and then connected to the original wafer 12 via the data pin 112B of the microprocessor 11. The data pin 122 is thereby constructed as a synchronous transmission circuit.

以下係針對本發明的工作原理配合圖式進行詳細說明,請參閱「圖2」,係為本發明印表機兼容晶片的同步傳輸電路的方塊示意圖(二),如圖所示:該印表機端20的時脈線21(SCLK)係並聯至該微處理器11及該原廠晶片12的時脈腳位111、121,因此該印表機端20可經由時脈線21(SCLK)同時傳送時脈訊號至該微處理器11及該原廠晶片12的時脈腳位111、121以進行同步,該微處理器11由時脈訊號觸發並接通該資料線22(SDA)及該原廠晶片12的資料腳位122。於印表機端20運作的期間,有可能會傳送驗證命令至墨水匣10以進行驗證,此時,該微處理器11經由該資料線22(SDA)判別接受到的 命令是否為驗證命令。當微處理器11確認該命令為驗證命令時,係由該原廠晶片12直接將驗證訊號回傳至該印表機端20;當該微處理器11於判別該命令係為控制命令時,該微處理器11係斷開資料線22(SDA)和原廠晶片12的連接,直接由該微處理器11接管印表機端20的資料線22(SDA)接收並處理控制命令,以基於該控制命令執行讀取或寫入。 The following is a detailed description of the working principle of the present invention with reference to the drawings. Please refer to FIG. 2, which is a block diagram (2) of the synchronous transmission circuit of the printer compatible wafer of the present invention, as shown in the figure: The clock line 21 (SCLK) of the terminal 20 is connected in parallel to the microprocessor 11 and the clock pin 111, 121 of the original wafer 12, so the printer terminal 20 can be connected via the clock line 21 (SCLK). Simultaneously transmitting a clock signal to the microprocessor 11 and the clock pin 111, 121 of the original wafer 12 for synchronization, the microprocessor 11 is triggered by the clock signal and turns on the data line 22 (SDA) and The data pin 122 of the original wafer 12 is used. During the operation of the printer end 20, it is possible to transmit a verification command to the ink cartridge 10 for verification. At this time, the microprocessor 11 discriminates the received data via the data line 22 (SDA). Whether the command is a verification command. When the microprocessor 11 confirms that the command is a verification command, the verification signal is directly transmitted back to the printer terminal 20 by the original wafer 12; when the microprocessor 11 determines that the command is a control command, The microprocessor 11 disconnects the data line 22 (SDA) from the original wafer 12, and directly receives and processes the control command from the data line 22 (SDA) of the printer terminal 20 by the microprocessor 11 to This control command performs a read or write.

其中,該印表機端20係經由雙方的通訊協定透過該時脈線21(SCLK)與資料線22(SDA)收發命令及資料,經由該時脈線21(SCLK)及資料線22(SDA)協同單一個或複數個主、從裝置工作。 The printer terminal 20 transmits and receives commands and data through the clock line 21 (SCLK) and the data line 22 (SDA) via the two communication protocols, via the clock line 21 (SCLK) and the data line 22 (SDA). ) Work in conjunction with a single or multiple master and slave devices.

以下係針對本發明印表機兼容晶片的同步方法進行說明,請參閱「圖3」,係為本發明印表機兼容晶片的同步方法的流程示意圖,如圖所示:於墨水匣10安裝於印表機端20時,印表機端20係對墨水匣10進行驗證,具體驗證步驟如下: The following is a description of the synchronization method of the printer compatible wafer of the present invention. Please refer to FIG. 3, which is a schematic flow chart of the synchronization method of the printer compatible wafer of the present invention, as shown in the figure: At the printer end 20, the printer end 20 performs verification on the ink cartridge 10, and the specific verification steps are as follows:

步驟S01、印表機端20開始工作,此時該印表機端20係經由時脈線21(SCLK)同時傳送時脈訊號至該微處理器11及該原廠晶片12的時脈腳位111、121以進行同步;其中該印表機端20係經由雙方的通訊協定透過該時脈線21(SCLK)及該資料線22(SDA)收發命令及資料。 In step S01, the printer terminal 20 starts to work. At this time, the printer terminal 20 simultaneously transmits the clock signal to the clock pin of the microprocessor 11 and the original wafer 12 via the clock line 21 (SCLK). 111, 121 for synchronizing; wherein the printer terminal 20 transmits and receives commands and data through the clock line 21 (SCLK) and the data line 22 (SDA) via the communication protocol of both parties.

步驟S02、微處理器11經由該時脈訊號觸發並接通該資料線22(SDA)及該原廠晶片12的資料腳位122; Step S02, the microprocessor 11 triggers and turns on the data line 22 (SDA) and the data pin 122 of the original wafer 12 via the clock signal;

步驟S03、印表機端20經由資料線22(SDA)傳送命令至 該微處理器11; Step S03, the printer end 20 transmits a command via the data line 22 (SDA) to The microprocessor 11;

步驟S04、該微處理器11經由該資料線22(SDA)判別接受到的命令是否為驗證命令,於確認所接收到的命令為驗證命令時係執行步驟S05、於確認所接收到的命令不是驗證命令時,則執行步驟S06; Step S04, the microprocessor 11 discriminates whether the received command is a verification command via the data line 22 (SDA), and executes step S05 when confirming that the received command is a verification command, and confirms that the received command is not When the command is verified, step S06 is performed;

步驟S05、於確認該命令為驗證命令時,由該原廠晶片12直接將驗證訊號回傳至該印表機端20; Step S05, when it is confirmed that the command is a verification command, the original wafer 12 directly returns the verification signal to the printer terminal 20;

步驟S06、於確認該命令為控制命令時(亦即不是驗證命令),該微處理器11係斷開資料線22(SDA)和原廠晶片12的連接,直接由該微處理器11接管該印表機端20的該資料線22(SDA)接收並處理控制命令,以基於該控制命令執行讀取或寫入,以執行列印工作。 Step S06, when it is confirmed that the command is a control command (that is, not a verification command), the microprocessor 11 disconnects the data line 22 (SDA) from the original wafer 12, and the microprocessor 11 directly takes over the The data line 22 (SDA) of the printer end 20 receives and processes control commands to perform a read or write based on the control command to perform the printing operation.

綜上所述,本發明的串接方式可以縮短資料傳輸時間,讓整個線路上的運作時間與未串接的狀態相同,讓印表機及原廠晶片達到同步傳輸的效果。 In summary, the serial connection method of the present invention can shorten the data transmission time, so that the operation time on the entire line is the same as that in the unconnected state, so that the printer and the original wafer achieve the synchronous transmission effect.

以上已將本發明做一詳細說明,惟以上所述者,僅為本發明之一較佳實施例而已,當不能以此限定本發明實施之範圍,即凡依本發明申請專利範圍所作之均等變化與修飾,皆應仍屬本發明之專利涵蓋範圍內。 The present invention has been described in detail above, but the foregoing is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Variations and modifications are still within the scope of the patents of the present invention.

Claims (7)

一種印表機兼容晶片的同步傳輸電路,包括一微處理器(MCU)設置於印表機端與原廠晶片之間,其中該印表機端的時脈線(SCLK)係並聯至該微處理器(MCU)及該原廠晶片的時脈腳位,該印表機端係經由該時脈線(SCLK)同時傳送時脈訊號至該微處理器(MCU)及該原廠晶片的時脈腳位以進行同步接收及處理該印表機端傳輸的命令,該印表機端的資料線(SDA)係連接至該微處理器(MCU),再經由該微處理器(MCU)連接至該原廠晶片的資料腳位。 A printer compatible wafer synchronous transmission circuit, comprising a microprocessor (MCU) disposed between the printer end and the original wafer, wherein the printer clock line (SCLK) is connected in parallel to the micro processing (MCU) and the clock pin of the original chip, the printer end transmits the clock signal to the microprocessor (MCU) and the clock of the original wafer through the clock line (SCLK) a pin for synchronously receiving and processing a command transmitted by the printer, the data line (SDA) of the printer is connected to the microprocessor (MCU), and then connected to the microprocessor (MCU) via the microprocessor The data pin of the original wafer. 如申請專利範圍第1項所述的印表機兼容晶片的同步傳輸電路,其中,該微處理器(MCU)由該時脈訊號觸發並接通該資料線(SDA)及該原廠晶片的資料腳位,並判別接受到的命令是否為驗證命令,於確認該命令為驗證命令時,由該原廠晶片將驗證訊號回傳至該印表機端。 The printer-compatible wafer synchronous transmission circuit of claim 1, wherein the microprocessor (MCU) is triggered by the clock signal and turns on the data line (SDA) and the original wafer. The data pin is determined whether the received command is a verification command. When the command is confirmed as a verification command, the original chip returns the verification signal to the printer. 如申請專利範圍第1項至第2項中任一項所述的印表機兼容晶片的同步傳輸電路,其中,該印表機端係經由雙方的通訊協定透過該時脈線(SCLK)與該資料線(SDA)收發命令及資料。 The printer-compatible wafer synchronous transmission circuit according to any one of claims 1 to 2, wherein the printer end transmits the clock line (SCLK) via a communication protocol of both parties. The data line (SDA) sends and receives commands and data. 如申請專利範圍第1項至第2項中任一項所述的印表機兼容晶片的同步傳輸電路,其中,該微處理器(MCU)於判別該命令係 為控制命令時,則該微處理器(MCU)斷開該資料線及後方的該原廠晶片的連接,直接經由該微處理器(MCU)接管該印表機端的資料線(SDA)接收並處理該控制命令,以基於該控制命令執行讀取或寫入。 The printer-compatible wafer synchronous transfer circuit according to any one of claims 1 to 2, wherein the microprocessor (MCU) determines the command system In order to control the command, the microprocessor (MCU) disconnects the data line and the original wafer from the rear, and directly receives the data line (SDA) of the printer end via the microprocessor (MCU) and receives The control command is processed to perform a read or write based on the control command. 一種印表機兼容晶片的同步方法,包括:同時將印表機端的時脈訊號饋入微處理器(MCU)及原廠晶片,以令該微處理器(MCU)及該原廠晶片同步接收及處理該印表機端傳輸的命令;該微處理器(MCU)經由該時脈訊號觸發並接通該資料線(SDA)及該原廠晶片;該微處理器(MCU)經由該資料線(SDA)判別接受到的命令是否為驗證命令;以及於確認該命令為驗證命令時,由該原廠晶片將驗證訊號回傳至該印表機端。 A printer-compatible chip synchronization method includes: feeding a clock signal of a printer end to a microprocessor (MCU) and an original chip, so that the microprocessor (MCU) and the original wafer are simultaneously received and Processing the command transmitted by the printer end; the microprocessor (MCU) triggers and turns on the data line (SDA) and the original wafer via the clock signal; the microprocessor (MCU) passes the data line ( SDA) discriminates whether the received command is a verification command; and when confirming that the command is a verification command, the original chip returns the verification signal to the printer end. 如申請專利範圍第5項所述的印表機兼容晶片的同步方法,其中,該印表機端係經由雙方的通訊協定透過該時脈線(SCLK)與該資料線(SDA)收發命令及資料。 The method for synchronizing a printer compatible chip according to claim 5, wherein the printer end transmits and receives commands through the clock line (SCLK) and the data line (SDA) via a communication protocol of both parties. data. 如申請專利範圍第5項至第6項中任一項所述的印表機兼容晶片的同步方法,其中,該微處理器(MCU)於判別該命令係為控 制命令時,則該微處理器(MCU)斷開該資料線及後方的該原廠晶片的連接,直接經由該微處理器(MCU)接管該印表機端的資料線(SDA)接收並處理該控制命令,以基於該控制命令執行讀取或寫入。 The printer-compatible wafer synchronization method according to any one of claims 5 to 6, wherein the microprocessor (MCU) determines that the command is controlled When the command is made, the microprocessor (MCU) disconnects the data line and the original wafer from the rear, and directly receives and processes the data line (SDA) of the printer through the microprocessor (MCU). The control command to perform reading or writing based on the control command.
TW106136124A 2017-10-20 2017-10-20 A printer-compatible synchronous circuit and method thereof TWI667607B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106136124A TWI667607B (en) 2017-10-20 2017-10-20 A printer-compatible synchronous circuit and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106136124A TWI667607B (en) 2017-10-20 2017-10-20 A printer-compatible synchronous circuit and method thereof

Publications (2)

Publication Number Publication Date
TW201917559A TW201917559A (en) 2019-05-01
TWI667607B true TWI667607B (en) 2019-08-01

Family

ID=67347717

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106136124A TWI667607B (en) 2017-10-20 2017-10-20 A printer-compatible synchronous circuit and method thereof

Country Status (1)

Country Link
TW (1) TWI667607B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040095607A1 (en) * 2000-06-30 2004-05-20 Silverbrook Research Pty Ltd Printer with synchronized engine/controllers
TW200538293A (en) * 2004-05-25 2005-12-01 Integrated Crystal Technology Inc Inktjet printhead identification system with ring oscillator, coding circuit
US20060164446A1 (en) * 2005-01-24 2006-07-27 O-Hyun Beak Printhead inspection device usable with an inkjet printer and a method thereof
TW200724397A (en) * 2005-12-22 2007-07-01 Microjet Technology Co Ltd Printhead chip identification circuit
CN101138906A (en) * 2007-10-10 2008-03-12 珠海天威技术开发有限公司 Universal chip and communication data updating method
CN104441982A (en) * 2014-11-10 2015-03-25 中山铭祺电子科技有限公司 Universal chip for regenerating printing supplies and communication verification method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040095607A1 (en) * 2000-06-30 2004-05-20 Silverbrook Research Pty Ltd Printer with synchronized engine/controllers
TW200538293A (en) * 2004-05-25 2005-12-01 Integrated Crystal Technology Inc Inktjet printhead identification system with ring oscillator, coding circuit
US20060164446A1 (en) * 2005-01-24 2006-07-27 O-Hyun Beak Printhead inspection device usable with an inkjet printer and a method thereof
TW200724397A (en) * 2005-12-22 2007-07-01 Microjet Technology Co Ltd Printhead chip identification circuit
CN101138906A (en) * 2007-10-10 2008-03-12 珠海天威技术开发有限公司 Universal chip and communication data updating method
CN104441982A (en) * 2014-11-10 2015-03-25 中山铭祺电子科技有限公司 Universal chip for regenerating printing supplies and communication verification method

Also Published As

Publication number Publication date
TW201917559A (en) 2019-05-01

Similar Documents

Publication Publication Date Title
US10698856B1 (en) Alternative protocol selection
US10057259B2 (en) In-vehicle authentication system
US11425101B2 (en) System, apparatus and method for tunneling and/or multiplexing via a multi-drop interconnect
US20140365721A1 (en) Data transfer in memory card system
CN106066842A (en) A kind of method of switch mode, SOC(system on a chip) and base station
CN110663229B (en) Method, microcontroller and transceiver assembly for communicating between microcontroller and transceiver assembly
CN110896372A (en) I2C link switching method, terminal and storage medium
US7366815B2 (en) Method and apparatus for serial communication system capable of identifying slave apparatus using half-duplex channel communication method
TWI667607B (en) A printer-compatible synchronous circuit and method thereof
CN107577444B (en) Synchronous transmission circuit and synchronous method of compatible chips of printer
WO2014023247A1 (en) Embedded device and method for control data communication based on the device
CN112615739A (en) Method and system for adapting OCP3.0 network card in multi-host application environment
CN104102561A (en) Universal sequence bus testing device
CN107465487B (en) Bus data sending method, system and sub-equipment
CN113282532B (en) Communication device, communication method of communication device and electronic equipment
CN117590920A (en) PCIE equipment hot reset method, PIU end, RC end, service end and system
CN104536789A (en) Data burning method and data burning device
US10042802B2 (en) Inter-device digital audio
US8972625B2 (en) Electronic apparatus and host determination method
JP4431768B2 (en) Portable electronic device, reading method and writing method
CN207571725U (en) The synchronous transfer circuit of printer compatible chip
CN114356060A (en) Master-slave interchange type power supply device, power supply method and host
CN107346294B (en) Data flow control system and method based on SPI protocol
US9880968B2 (en) Bi-directional communication between electronic components
CN111881077A (en) Parameter self-adaptive adjusting method for improving SATA protocol interface stability