CN100362502C - Radio transmission system of I2C bus data - Google Patents
Radio transmission system of I2C bus data Download PDFInfo
- Publication number
- CN100362502C CN100362502C CNB2005100436149A CN200510043614A CN100362502C CN 100362502 C CN100362502 C CN 100362502C CN B2005100436149 A CNB2005100436149 A CN B2005100436149A CN 200510043614 A CN200510043614 A CN 200510043614A CN 100362502 C CN100362502 C CN 100362502C
- Authority
- CN
- China
- Prior art keywords
- register
- transmitting
- cpu
- module
- receiving
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
- Small-Scale Networks (AREA)
Abstract
The present invention relates to a radio transmission system of I2C bus data. A transmitting end and a receiving end are respectively a built-in transmitting module and a built-in receiving module, wherein the transmitting module is connected with transmitting end devices, the receiving module, the receiving end devices and respective CPU. The transmitting end and the receiving end are both provided with four registers: an I2C_CC_SEND 255-byte write-only register for transmitting data, an I2C_CC_RCV_LEN read-only register for storing received information length, an I2C_CC_RCV read-only register for storing the received information and an I2C_CC_STATUS read-only state register. The four registers are all connected with the respective CPU by I2C bus interfaces, and the transmitting module and the receiving module are connected with the respective CPU by an interrupt request line via a GPIO interface. The present invention realizes radio communication between two CPU and the two-way alternation of commands and control signals, is more reliable and faster and can not be puzzled by data lines. The present invention can be widely used in radio household electrical appliances and devices.
Description
Technical field
The invention belongs to technical field of data transmission, more particularly relate to I
2The design of the wireless transmitting system of C bus data.
Background technology
Along with the development of Radio Transmission Technology, by the wireless mode interconnection, originally connect the equipment room that intercoms mutually and be separated a segment distance or be put into different place (for example different rooms) between the more and more equipments by data line.Traditional wireless transmitting system function is all simpler, and generally there are not two control and Be Controlled problems between the module in the just emission and the reception of signal.
But along with the lifting of wireless transmitting system function, equipment room need pass through I
2The C bus intercoms mutually, to realize control visit and the exchanges data of CPU between two equipment.If the I between them
2The C data realize by very long data line, not only can't realize whole wireless penetration, and the distance of transmission also can be restricted.
Summary of the invention
Purpose of the present invention just is to overcome above-mentioned shortcoming and defect, and a kind of I is provided
2The wireless transmitting system of C bus data.It utilizes wireless transport module to realize communication between two CPU making the two-way exchange that can directly carry out order and control signal between two CPU, makes the communication at two ends more reliable, rapider, and is not subjected to the puzzlement of data line.Thereby when finishing the audio-video signal transmission, accomplish that really the wireless seamless process of two systems connects, and realize more powerful radio function.
In order to achieve the above object, the present invention includes transmitting terminal, receiving end and the radio path between them.Transmitting terminal and receiving end are built-in respectively transmitter module and receiver module.Transmitter module is connected with the CPU of transmitting end equipment, and receiver module is connected with the CPU of receiving device.Transmitting terminal and receiving end all are provided with following four registers: 1. I
2C_CC_SEND is used for transmitting data to the write-only register of 255 bytes of object element; 2. I
2C_CC_RCV_LEN, the read-only register of the length of the information that storage receives at last; 3. I
2C_CC_RCV, the read-only register of the information that storage receives at last; 4. I
2C_CC_STATUS, read-only status register.Above-mentioned four registers all pass through I
2The C bus interface links to each other with separately CPU.In addition, transmitting and receiving module also respectively has an interrupt request line interface to link to each other by a GPIO mouth (General Purpose Inputs and Outputs) with separately CPU.
The transmitting end equipment that links to each other with CPU is one of equipment such as DVD that audio-video signal can be provided, set-top box, wire signal line.The receiving device that links to each other with CPU is one of equipment such as LCD, PDP that Presentation Function can be provided.
I
2The C_CC_SEND register has kept connection status position, emission state position and accepting state position.When the mode bit in the status register changes, will lead to IRQ request line and state that CPU is by reading I
2The value of C_CC_STATUS register is stated the state of IRQ line again.In order to pass through End to End (end-to-end) channel transfer information, the CPU that links to each other with the wireless transmission/reception module need finish following step:
By reading I
2The value of C_CC_STATUS register confirms that End to End passage is to be in successfully connection status;
To need the information transmitted data to write I
2In the C_CC_SEND register, the border of information is defined by the START and the STOP condition of iic bus;
By reading I
2The value of C_CC_STATUS register, confirmation quilt corresponding module with it receives successfully.
In order to receive information by End to End passage, the CPU that links to each other with the wireless transmission/reception module need finish following step:
By reading I
2The value of C_CC_STATUS register, whether fox message is received;
By reading I
2The value of C_CC_RCV_LEN register is obtained the length of the information of reception;
From I
2Read the information that receives in the C_CC_RCV register.
Except can having influence on losing of information under the situation of connection failure, wireless transport module can be guaranteed the reliability of communicating by letter, but there is not the problem of reliable connection in outside CPU.
In wireless transmitting system, the reliability of subscriber channel is to add a sequence number and send a confirmation after receiving data by each data that are transmitted to realize to transmitter unit.If this confirmation was not received in a specific time, the data that are transmitted so will be sent again.This information sequence number will help the receiving element of wireless transport module to abandon those may be owing to transmit the data of the repetition that brings once more.
Task of the present invention comes to this and finishes.
The present invention utilizes wireless transport module to realize communication between two CPU making the two-way exchange that can directly carry out order and control signal between two CPU, makes the communication at two ends more reliable, rapider, and is not subjected to the puzzlement of data line.Thereby when finishing the audio-video signal transmission, accomplish that really the wireless seamless process of two systems connects, and realize more powerful radio function.The Related product deviser can by to two not in same equipment the data of the register of two separate CPUs be provided with, utilize the information that the passage of End toEnd realize to need realizes and the transmission of control signal; To reach mutually radio communication reliably.
Description of drawings
Fig. 1 is the synoptic diagram of transmitting terminal of the present invention and receiving end.
Fig. 2 is a general structure synoptic diagram of the present invention.
Embodiment
Embodiment 1.A kind of I
2The wireless transmitting system of C bus data, as depicted in figs. 1 and 2.It comprises transmitting terminal 1, receiving end 2 and the radio path between them 3.Transmitting terminal 1 and receiving end 2 are built-in respectively transmitter module and receiver module.Transmitter module is connected with the CPU of the equipment of transmitting terminal 1, and receiver module is connected with the CPU of the equipment of receiving end 2.Transmitting terminal 1 and receiving end 2 all are provided with following four registers: 1. I
2C_CC_SEND is used for transmitting data to the write-only register 4 of 255 bytes of object element; 2. I
2C_CC_RCV_LEN, the read-only register 5 of the length of the information that storage receives at last; 3. I
2C_CC_RCV, the read-only register 6 of the information that storage receives at last; 4. I
2C_CC_STATUS, read-only status register 7.Above-mentioned four registers all pass through I
2The C bus interface links to each other with separately CPU.In addition, transmitting and receiving module also respectively has an interrupt request line IRQ interface to link to each other by a GPIO mouth (General Purpose Inputs and Outputs) with separately CPU.
The equipment of the transmitting terminal 1 that links to each other with CPU is one of equipment such as DVD that audio-video signal can be provided, set-top box, wire signal line.The equipment of the receiving end 2 that links to each other with CPU is one of equipment such as LCD, PDP that Presentation Function can be provided.
Embodiment 1 has realized the radio communication between two CPU and the two-way exchange of order and control signal, and is more reliable, rapid, is not subjected to the puzzlement of data line.When finishing the audio-video signal transmission, accomplish that really the wireless seamless process of two systems connects, and realize more powerful radio function.It can be widely used in the wireless appliance equipment.
Claims (2)
1. I
2The wireless transmitting system of C bus data, it comprises transmitting terminal, receiving end and the radio path between them, it is characterized in that: transmitting terminal and receiving end are built-in respectively transmitter module and receiver module, transmitter module is connected with the CPU of transmitting end equipment, receiver module is connected with the CPU of receiving device, and transmitting terminal and receiving end all are provided with following four registers: 1. I
2C_CC_SEND is used for storing the write-only register of wanting information transmitted, and the capacity of described write-only register is 255 bytes; 2. I
2C_CC_RCV_LEN, the read-only register of the length of the information that storage receives at last; 3. I
2C_CC_RCV, the read-only register of the information that storage receives at last; 4. I
2C_CC_STATUS, read-only status register; Above-mentioned four registers all pass through I
2The C bus interface links to each other with separately CPU, and in addition, transmitting and receiving module also respectively has an interrupt request line interface to link to each other by a GPIO mouth with separately CPU.
2. according to the described I of claim 1
2The wireless transmitting system of C bus data is characterized in that: said transmitting end equipment is one of DVD that audio-video signal can be provided, set-top box, wire signal line equipment, and receiving device is one of LCD that Presentation Function can be provided, PDP equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100436149A CN100362502C (en) | 2005-05-26 | 2005-05-26 | Radio transmission system of I2C bus data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100436149A CN100362502C (en) | 2005-05-26 | 2005-05-26 | Radio transmission system of I2C bus data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1694082A CN1694082A (en) | 2005-11-09 |
CN100362502C true CN100362502C (en) | 2008-01-16 |
Family
ID=35353048
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005100436149A Expired - Fee Related CN100362502C (en) | 2005-05-26 | 2005-05-26 | Radio transmission system of I2C bus data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100362502C (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108845967A (en) * | 2018-07-03 | 2018-11-20 | 广东好帮手环球科技有限公司 | A kind of I2C bus analysis device |
CN109213716A (en) * | 2018-08-29 | 2019-01-15 | 郑州云海信息技术有限公司 | A kind of I2C bus unit and a kind of I2C signal protection method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1997034238A1 (en) * | 1996-03-13 | 1997-09-18 | Siemens Aktiengesellschaft | Process and arrangement for transmitting system-specific data in a synchronous microprocessor system |
CN2629375Y (en) * | 2003-03-27 | 2004-07-28 | 曹健 | Radio feedback pager for accompanying |
-
2005
- 2005-05-26 CN CNB2005100436149A patent/CN100362502C/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1997034238A1 (en) * | 1996-03-13 | 1997-09-18 | Siemens Aktiengesellschaft | Process and arrangement for transmitting system-specific data in a synchronous microprocessor system |
US6173347B1 (en) * | 1996-03-13 | 2001-01-09 | Siemens Aktiengesellschaft | Process and arrangement for transmitting system-specific data in a synchronous microprocessor system |
CN2629375Y (en) * | 2003-03-27 | 2004-07-28 | 曹健 | Radio feedback pager for accompanying |
Non-Patent Citations (2)
Title |
---|
I2C总线原理及其通信的初步实现. 张志伟,张灵,王爱乐.机械管理开发,第2期(总第77期)期. 2004 * |
地区电力负荷无线双向管理系统功能扩展研究. 郑瑞晨.水电能源科学,第18卷第2期. 2000 * |
Also Published As
Publication number | Publication date |
---|---|
CN1694082A (en) | 2005-11-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100979872B1 (en) | Near field communication host controller interface | |
US7676824B2 (en) | Method for the processing of remote control signals within a home audiovisual network, corresponding signal, devices and computer program | |
US20080005395A1 (en) | Adapter to convert USB device into WUSB device | |
JPH07177160A (en) | Data transfer device | |
CN109062847B (en) | System on chip, IP core for RS485 serial port communication and control method thereof | |
JP2014504063A (en) | Transfer of control bus signals over packet-switched networks | |
US7457898B2 (en) | Substitute SATA host for communicating with a SATA device | |
CN109313623A (en) | Switch the method and device of serial data transmission state | |
CN102073611A (en) | I2C bus control system and method | |
US8307137B2 (en) | Remote communication method of a network | |
CN101901199B (en) | Method and system for data transparent transmission | |
CN100362502C (en) | Radio transmission system of I2C bus data | |
CN104378372B (en) | The method of electronic equipment and operation electronic equipment for communicating in a network | |
US5463619A (en) | Local communication bus system comprising a set of interconnected devices, a control bus, and a set of signal interconnections, and a device and a switchbox for use in such system | |
CN110113209B (en) | MIPI (Mobile industry processor interface) protocol-based inter-device communication method and equipment topological structure | |
CN1316387C (en) | Serial interface bus communication controller | |
US6466989B1 (en) | Automatic network connection device for wiring to network cable | |
CN109542812A (en) | Data communication control method, device and terminal device | |
CN104460445A (en) | CAN bus communication terminal resistor accessing method | |
CN104298630A (en) | Communication method, communication devices and equipment based on SPI | |
CN109200600B (en) | Intelligent building block system and data transmission method | |
KR20080025914A (en) | System for transceiving data through zigbee sim card installed in a mobile communication terminal and method therefor | |
JP4866288B2 (en) | Data communication device and data line termination device | |
JP3159505B2 (en) | Air conditioner relay communication device | |
JP5002316B2 (en) | Serial bus system |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20080116 Termination date: 20190526 |