TWI231675B - Universal asynchronous receiver/transmitter adaptor having status display - Google Patents
Universal asynchronous receiver/transmitter adaptor having status display Download PDFInfo
- Publication number
- TWI231675B TWI231675B TW92137828A TW92137828A TWI231675B TW I231675 B TWI231675 B TW I231675B TW 92137828 A TW92137828 A TW 92137828A TW 92137828 A TW92137828 A TW 92137828A TW I231675 B TWI231675 B TW I231675B
- Authority
- TW
- Taiwan
- Prior art keywords
- uart
- serial transmission
- asynchronous serial
- item
- unit
- Prior art date
Links
Landscapes
- Maintenance And Management Of Digital Transmission (AREA)
Abstract
Description
1231675 五、發明說明(1) 【發明所屬之技術領域】 本發明係關於一種非同步串列傳輸轉接器,特別 是一種具狀態顯示的乙太網路阜R J - 4 5與串列傳輸阜9 P I N 接腳的轉接器。 【先前技術】 當兩台資訊處理裝置,在作資料相互傳輸時,會 透過一種通訊協定的傳輸方式,其中又以非同步串列傳 輸UART的方式較常使用,如果當這兩台資訊處理裝置分 別具有不同的串列傳輸通訊介面時,就需要藉由介面轉 接器的介面轉換功能,來使兩台資訊處理裝置進行連線 及貨料傳輸。 這種轉接器又依各種介面不同,產生多種組合的 轉接器,其中乙太網路阜RJ-45對串列傳輸阜RS- 2 3 2的轉 接器較常被使用到,目前來說,這種轉接器並無狀態顯 示功能,當發生錯誤故障時,使用者無法得知非同步串 列傳輸UART工作狀態是否正常,所以需要——檢查故障 問題,較花費時間,在重視時間效率的現今是非常不值 得的。 【發明内容】 鑒於以上的問題,本發明的主要目的在於提供一 種具有狀態顯示功能的非同步串列傳輸轉接器,係用一 電子邏輯電路完成,藉以將非同步串列傳輸的傳輸狀態 顯示,讓使用者了解目前資料傳輸狀態。 因此,為達上述目的,本發明所揭露之具有狀態1231675 V. Description of the invention (1) [Technical field to which the invention belongs] The present invention relates to a non-synchronous serial transmission adapter, particularly an Ethernet network RJ-4 5 with a status display and a serial transmission system. 9 PIN-pin adapter. [Previous technology] When two information processing devices transmit data to each other, a transmission method of a communication protocol is used, and the asynchronous serial transmission of UART is more commonly used. If the two information processing devices are used, When having different serial transmission communication interfaces, it is necessary to use the interface conversion function of the interface adapter to enable the two information processing devices to connect and transfer materials. This kind of adapter produces different combinations of adapters according to different interfaces. Among them, Ethernet RJ-45 pairs of serial transmission RS-232 2 2 are more commonly used. At present Said that this adapter does not have a status display function. When an error occurs, the user cannot know whether the asynchronous serial transmission UART is working normally, so it is necessary to check the failure. It takes more time and pays more attention to time. Efficiency is not worth it today. [Summary of the Invention] In view of the above problems, the main object of the present invention is to provide an asynchronous serial transmission adapter with a status display function, which is completed by an electronic logic circuit to display the transmission status of asynchronous serial transmission. To let users know the current data transfer status. Therefore, in order to achieve the above object, the present invention has a state
第5頁 1231675Page 5 1231675
顯示功能=同步串列傳輸轉接器, 兀、一驅動單元及一題干留-y 匕括有一擷取早 # # ^ RXD, RTS, CTS;DTR, = 以示單元,讓使用者藉由 有關本發明的特徵盘膏作 施例詳細說明如下。 、 【實施方式】 工:目:非同步串列傳輪工作狀態是否正常,當發生錯 誤或^早日夺,可較快速的進行福錯貞 錯的時間並相對提高資料傳輸的品質。 即W貞 兹配合圖示作最佳實 > =蒼知「第1圖」,係為本發明之功能方塊圖,資 ^处理t置6 0 ’透過非同步串列傳輸8 〇與狀態顯示轉接 斋5 0與具有乙太網路埠9〇(例,RJ_45)的資訊處理裝置 7 0 ’進行資料的傳送及接收作業。 本發明係利用擷取狀態顯示轉接器5 0上非同步串 =傳輪8 0腳位訊號,並透過一電子邏輯開關電路,來達 成狀態顯示功能,包括有·· 、, 一擷取單元1 0、一驅動單元2 0及一顯示模組3 0, $先非同=串列傳輸8 0經由介面轉接轉換介面規格,再 用操取單元1 〇擷取非同步串列傳輸8 〇的輸入及輸出訊 ^ ’並將訊號輸出至驅動單元2 〇,該驅動單元2 Q依據其 =入之訊號觸動開關以推動顯示單元3 〇,以顯示非同步 串列傳輸80目前的工作狀態。 請參照「第2圖」,係為本發明以UART中的串列傳Display Function = Synchronous Serial Transmission Adapter, Wu, a drive unit, and a question-and-reserve -y dagger has a capture early # # ^ RXD, RTS, CTS; DTR, = display unit, allowing users to use Examples of the characteristic disc paste of the present invention are described in detail as follows. [Implementation method] Work: Purpose: Whether the asynchronous serial transfer wheel works normally. When an error occurs or early capture, you can quickly complete the wrong time and relatively improve the quality of data transmission. That is, W Zhenzi cooperates with the icon to make the best reality> = Cang Zhi "the first picture", which is a functional block diagram of the present invention. The data processing is set to 6 0 '8 0 through asynchronous serial transmission and status display The transfer 50 and the information processing device 70 ′ having an Ethernet port 90 (for example, RJ_45) perform data transmission and reception operations. The present invention uses an asynchronous string on the status display adapter 50 to capture the signal of pin 80 on the transmission wheel, and achieves the status display function through an electronic logic switch circuit, including an acquisition unit. 1 0, a driving unit 20 and a display module 3 0, $ first non-identical = serial transmission 8 0 transfer interface specifications through the interface transfer, and then use the operating unit 1 〇 capture asynchronous serial transmission 8 〇 The input and output signals ^ 'and output the signal to the drive unit 2 0, the drive unit 2 Q touches the switch according to its input signal to push the display unit 3 0 to display the current working status of the asynchronous serial transmission 80. Please refer to "Figure 2", which is the serial transmission of UART in the present invention.
第6頁 1231675Page 6 1231675
五、發明說明(3) 輸介面RS-2 3 2來舉例說明 2 3 2之公接頭腳位說明: 以下先就串列傳輸介面 接腳 1 DCD(Data Carrier Detect),載波 貞漁j 接腳2 RXD(Received Data),資料輸入端。 接腳3 TXD(Transmit Data),資料輸出端。 接腳 4 DTR(Data Terminal Ready),接收端偉 妥0 接腳 5 GND(Ground),地線。 接腳6 DSR(Data Set Ready),傳送端已經備妥。 接腳7 RTS(Request to Send),向對方要求傳送 資料。 、、 接腳8 CTS(Clear to Send),清除以傳送資料。 接腳 9 RI(Ring Indicator),響鈐偵測。 在串列傳輸介面RS-23 2的腳位轉接到相對應的乙 太網路埠介面r j — 4 5線路中,利用擷取單元擷取非同步串 列傳輸的訊號,並藉由驅動單元和顯示單元將目前非同 步串列傳輸的工作狀態顯示給使用者知道。 其中因為串列傳輸介面RS-2 3 2具有9P IN接腳,而 乙太網路介面R j - 4 5只具有8 P I N接腳,所以本發明之轉接 Is的串列傳輸介面RS-23 2轉接乙太網路介面rj —4 5的最後 一腳位R I不接(空接)。 請參照「第3圖」,係為本發明之電路圖,本發明 以擷取R X D,R T S,C T S,D T R及D S R腳位,來作接收資料及 連線狀態的指示功能。V. Description of the invention (3) Input interface RS-2 3 2 as an example to explain the pin description of 2 3 2: The following is the serial transmission interface pin 1 DCD (Data Carrier Detect), and the carrier pin J pin 2 RXD (Received Data), data input. Pin 3 TXD (Transmit Data), data output. Pin 4 DTR (Data Terminal Ready), the receiving end is good 0 pin 5 GND (Ground), ground wire. Pin 6 DSR (Data Set Ready), the transmitting end is ready. Pin 7 RTS (Request to Send) requests the other party to send data. ,, Pin 8 CTS (Clear to Send), clear to send data. Pin 9 RI (Ring Indicator), sound detection. In the serial transmission interface RS-23 2 pin is transferred to the corresponding Ethernet port interface rj — 4 5 line, the acquisition unit is used to capture the asynchronous serial transmission signal, and the drive unit The display unit displays the current working status of asynchronous serial transmission to the user. Among them, because the serial transmission interface RS-2 3 2 has 9P IN pins, and the Ethernet interface R j-4 5 only has 8 PIN pins, the serial transmission interface RS-23 of the present invention is Is 2 Transfer Ethernet interface rj — 4 5 The last pin of RI is not connected (empty connection). Please refer to "Figure 3", which is a circuit diagram of the present invention. The present invention uses R X D, R T S, C T S, D T R, and D S R pins to indicate data reception and connection status.
第7頁 1231675 五、發明說明(4) 其中擷取單元1 0由緩衝器(b u f f e r )開關^ 3、或閘 (OR Gate)開關11與或閘(OR Gate)開關12組成,驅動單 元2 0由金屬乳化半導體開關2 1與金屬氧化半導體開關2 2 組成,顯示單元3 0由發光二極體3丨與發光二極體3 2組 成。 · 首先非同步串列傳輸器80的RXD腳位與發光二極體 (Light Emitting Diode; LED)31 間連接有一緩衝器 (buf fer)開關13,其RXD訊號連接於緩衝器(buf f er)開關 1 3之輸入端,而發光二極體3 1之N極連接於緩衝器 (buf fer)開關13之輸出端,當擷取的RXD產生一個低電壓 準位的訊號時,經由緩衝器開關1 3將其輸入訊號輸出, 產生一個低電壓準位的訊號輸出,藉以形成一迴路,讓 ® 電源流經發光二極體3 1,使其導通發亮,代表^ A R T目前 處於接收資料狀態。 當下列種狀況時’代表連線的發光二極體3 2會導 通發亮。當擷取RTS輸出及CTS輸入為一個低電壓位準的 訊號時,經由一個或閘(0 R G a t e )開關1 1,依據其輸入訊 號作OR邏輯運算,結果輸出一個低電壓位準訊號,此時 金屬氧化半導體開關2 1之閘極接受觸發訊號,所以金屬 氧化半導體開關2 1導通,電源通過金屬氧化半導體開關 2 1迴路,並推動代表連線狀態的發光二極體3 2導通發 亮,以表示連線建立。 0 當擁取R T S輸入及C T S輸出為任何一個高電壓位準 的訊號時,經由一個或閘(OR Gate)開關1 1,依據其輸入Page 7 1231675 V. Description of the invention (4) The capturing unit 10 is composed of a buffer switch ^ 3, an OR gate switch 11 and an OR gate switch 12, and the driving unit 2 0 It is composed of metal emulsion semiconductor switch 21 and metal oxide semiconductor switch 2 2, and display unit 30 is composed of light emitting diode 3 丨 and light emitting diode 32. · Firstly, a buffer (buf fer) switch 13 is connected between the RXD pin of the asynchronous serial transmitter 80 and a light emitting diode (LED) 31, and the RXD signal is connected to the buffer (buf fer). The input terminal of the switch 1 3, and the N terminal of the light emitting diode 3 1 is connected to the output terminal of the buffer (buf fer) switch 13. When the captured RXD generates a low voltage level signal, the buffer switch is used. 1 3 Output its input signal to produce a low-voltage level signal output to form a loop to let the ® power flow through the light-emitting diode 3 1 to make it conductive and bright, indicating that ART is currently receiving data. In the following situations, the light-emitting diode 32, which represents the connection, will be turned on and light up. When capturing the RTS output and CTS input as a low voltage level signal, an OR gate (0 RG ate) switch 1 1 is used to perform an OR logic operation based on the input signal. As a result, a low voltage level signal is output. When the gate of the metal oxide semiconductor switch 21 receives a trigger signal, the metal oxide semiconductor switch 21 is turned on, and the power is passed through the metal oxide semiconductor switch 21, and the light emitting diode 3 2 representing the connection state is turned on and illuminated. To indicate that the connection was established. 0 When capturing the R T S input and C T S output at any high voltage level, pass an OR Gate switch 1 1 according to its input
1231675 五、發明說明(5) 訊號作OR邏輯運算,結果輸出一個高電壓位準訊號,相 對於金屬氧化半導體開關2 1之閘極無觸發訊號,因此金 屬氧化半導體開關2 1不導通,所以電源無法通過迴路, 代表連線狀態的發光二極體3 2不會發亮,以表示連線未 建立。 同樣在顧取的D T R與D S R訊號也是相同方式,當下 列狀況時,代表連線的發光二極體3 2會導通發亮。當操 取D T R輸出及D S R輸入為一個低電壓位準的訊號時,會依 據其輸入訊號作OR邏輯運算,結果輸出一個低電壓位準 訊號,此時金屬氧化半導體開關2 2之閘極接受觸發訊 號,所以金屬氧化半導體開關2 2導通,電源通過金屬氧 化半導體開關22迴路,並推動代表連線狀態的發光二極 體3 2導通發亮,以表示連線建立。 當擷取的DTR輸入及DSR輸出為任何一個高電壓位 準的訊號時,經由一個或閘(OR Gate)開關12,會依"據其 輸入訊號作OR邏輯運算,結果輸出一個高電壓位準訊/、 號,相對於金屬乳化半導體開關2 2之閘極無觸發訊穿, 因此金屬氧化半導體開關22不導通,所以^源^法^過 金屬氧化半導體=關22迴路,因此代表連線狀態的發 二極體3 2不會發党’以表示連線未建立。 利用這種具狀態顯示的UART轉接器,可以 者清楚了解目丽UART的工作狀態,當“打的輸入戍 發生故障或錯誤時,利用本發明具有狀態顯示 接器,可以更快作债錯及故障排除,以維持資料傳輸$1231675 V. Description of the invention (5) The signal is OR-operated, and the result outputs a high-voltage level signal. Compared to the gate of the metal oxide semiconductor switch 21, there is no trigger signal, so the metal oxide semiconductor switch 21 does not conduct, so the power supply The circuit cannot be passed, and the light-emitting diode 32, which represents the connection status, will not light up to indicate that the connection is not established. The D T R and D S R signals that are being considered are also the same way. Under the following conditions, the light-emitting diode 32, which represents the connection, will be turned on and light up. When the DTR output and the DSR input are operated at a low voltage level signal, an OR logic operation is performed according to the input signal, and a low voltage level signal is output as a result. At this time, the gate of the metal oxide semiconductor switch 2 2 is triggered. Signal, so the metal oxide semiconductor switch 2 2 is turned on, the power passes through the metal oxide semiconductor switch 22 circuit, and the light-emitting diode 32 that is connected to the connection state is turned on and lighted to indicate that the connection is established. When the captured DTR input and DSR output are at any high voltage level, an OR gate switch 12 will be used to perform an OR logic operation according to its input signal and the result will output a high voltage level. Junxun /, No., compared to the gate of metal emulsion semiconductor switch 22, there is no trigger penetration, so the metal oxide semiconductor switch 22 is not conductive, so ^ source ^ method ^ metal oxide semiconductor = off 22 circuit, so it represents the connection The state of the diode 2 will not send the party 'to indicate that the connection is not established. By using such a UART adapter with status display, one can clearly understand the working status of Muli UART. When a "failed input signal failure or error occurs", the present invention has a status display connector, which can make debt errors faster. And troubleshooting to maintain data transfer
1231675 五、發明說明(6) 品質及正確性。 雖然本發明以前述之較佳實施例揭露如上,然其 並非用以限定本發明,任何熟習相像技藝者,在不脫離 本發明之精神和範圍内,當可作些許之更動與潤飾,因 此本發明之專利保護範圍須視本說明書所附之申請專利 範圍所界定者為準。1231675 V. Description of the invention (6) Quality and correctness. Although the present invention is disclosed in the foregoing preferred embodiment as above, it is not intended to limit the present invention. Any person skilled in the art of similarity can make some modifications and retouching without departing from the spirit and scope of the present invention. The patent protection scope of the invention shall be determined by the scope of the patent application scope attached to this specification.
第10頁 1231675 圖式簡單說明 第1圖係為本發明之功能方塊圖; 第2圖係為本發明之實施例腳位說明圖;及 第3圖係為本發明之電路圖。 【圖式符號說明】 1 接腳 2 接腳 3 接腳 4 接腳 5 接腳 6 接腳 7 接腳 8 接腳 9 接腳 10 擷取單元 11 或閘開關 12 或閘開關 13 緩衝器開關 2 0 驅動單元 21 金屬氧化半導體電晶體 22 金屬氧化半導體電晶體 30 顯示單元 31 發光二極體 3 2 發光二極體 50 狀態顯示轉接器Page 10 1231675 Brief Description of Drawings Figure 1 is a functional block diagram of the present invention; Figure 2 is an explanatory pin diagram of an embodiment of the present invention; and Figure 3 is a circuit diagram of the present invention. [Illustration of symbols] 1 pin 2 pin 3 pin 4 pin 5 pin 6 pin 7 pin 8 pin 9 pin 10 Retrieving unit 11 or gate switch 12 or gate switch 13 Buffer switch 2 0 Drive unit 21 Metal oxide semiconductor transistor 22 Metal oxide semiconductor transistor 30 Display unit 31 Light emitting diode 3 2 Light emitting diode 50 Status display adapter
12316751231675
第12頁Page 12
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW92137828A TWI231675B (en) | 2003-12-31 | 2003-12-31 | Universal asynchronous receiver/transmitter adaptor having status display |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW92137828A TWI231675B (en) | 2003-12-31 | 2003-12-31 | Universal asynchronous receiver/transmitter adaptor having status display |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI231675B true TWI231675B (en) | 2005-04-21 |
TW200522621A TW200522621A (en) | 2005-07-01 |
Family
ID=36122037
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW92137828A TWI231675B (en) | 2003-12-31 | 2003-12-31 | Universal asynchronous receiver/transmitter adaptor having status display |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI231675B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI414938B (en) * | 2009-10-21 | 2013-11-11 | Chung Shan Inst Of Science | Multi-thread self-diagnosis method of asynchronous i/o multi-port interface and structure thereof |
TWI459774B (en) | 2011-04-29 | 2014-11-01 | Ind Tech Res Inst | Asynchronous master-slave serial communication systam, data transmission method, and control module using the same thereof |
-
2003
- 2003-12-31 TW TW92137828A patent/TWI231675B/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
TW200522621A (en) | 2005-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI269975B (en) | Method and device for automatically adjusting bus width | |
US9292411B2 (en) | Wireless debugging and updating of firmware | |
CN106445858A (en) | Information processing method, information processing module and electronic device | |
TWI353517B (en) | Detecting and differentiating sata loopback modes | |
CN103490814A (en) | Serial communication device of USB interface LED visible light and system thereof | |
TWI231675B (en) | Universal asynchronous receiver/transmitter adaptor having status display | |
US7206874B2 (en) | Status display-enabled connector for a universal asynchronous receiver/transmitter | |
CN105630646A (en) | Method for quickly judging connectivity and stability of serial port | |
CN101645804A (en) | Veneer, communication system and method for detecting connection state of communication interface | |
US20090175624A1 (en) | Conversion Circuit | |
US7657650B2 (en) | Reliable and efficient data transfer over serial port | |
CN111782569B (en) | Electronic equipment | |
CN104008077A (en) | Device and method for achieving serial port package capturing based on single chip microcomputer | |
CN100424664C (en) | A method and device to realize CCID apparatus | |
CN203982364U (en) | Device based on the packet capturing of chip microcontroller serial ports | |
CN106452838A (en) | USB (Universal Serial Bus) equipment simulation device and method | |
CN108132902B (en) | UART-to-USB system and method capable of self-adapting to voltage | |
TWM368128U (en) | Adapting device and inspection system | |
CN207882891U (en) | A kind of RS232 interface state detection circuit and hardware system | |
CN205210873U (en) | Extend device | |
CN204791000U (en) | A level shifting circuit that is used for computer and STB communication | |
CN116775390B (en) | Interface protocol conversion verification system and method, electronic equipment and storage medium | |
EP3756343A1 (en) | Conferencing with error state hid notification | |
CN216210984U (en) | Chip debugger and chip debugging system | |
CN210469362U (en) | Protocol monitoring analysis tool |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | Annulment or lapse of patent due to non-payment of fees |