CN104902209A - Data transmission system between CBUS and MCU - Google Patents

Data transmission system between CBUS and MCU Download PDF

Info

Publication number
CN104902209A
CN104902209A CN201410077626.2A CN201410077626A CN104902209A CN 104902209 A CN104902209 A CN 104902209A CN 201410077626 A CN201410077626 A CN 201410077626A CN 104902209 A CN104902209 A CN 104902209A
Authority
CN
China
Prior art keywords
cbus
register
packet
module
mcu
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.)
Pending
Application number
CN201410077626.2A
Other languages
Chinese (zh)
Inventor
刘晓燕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Huahong Integrated Circuit Co Ltd
Original Assignee
Shanghai Huahong Integrated Circuit Co Ltd
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 Shanghai Huahong Integrated Circuit Co Ltd filed Critical Shanghai Huahong Integrated Circuit Co Ltd
Priority to CN201410077626.2A priority Critical patent/CN104902209A/en
Publication of CN104902209A publication Critical patent/CN104902209A/en
Pending legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Abstract

The invention discloses a data transmission system between a CBUS and a MCU. The data transmission system comprises a CBUS register module, a CBUS arbitration monitoring module, a CBUS receiving module, and a CBUS sending module. The CBUS register module is used for storing CBUS data packets received by a Sink end and data packets which the Sink end is about to send to a Source end via the CBUS. The CBUS arbitration monitoring module is used for arbitrating requests of the Sink end and the Source end for the CBUS. The CBUS receiving module is used for receiving and analyzing CBUS data packets and writing the CBUS data packets into the CBUS register module. The CBUS sending module enables the data packets in the CBUS sending module to form a frame format and sends the data packets in the frame format to the Source end. The data transmission system saves hardware resource and improves product compatibility.

Description

Data transmission system between CBUS and MCU
Technical field
The present invention relates to a kind of CBUS(link control bus) and MCU(microcontroller) between data transmission system.
Background technology
Along with widely using and deeply development of smart mobile phone and HDTV (High-Definition Television), the information such as the video in mobile phone or picture and HDTV (High-Definition Television) Real-Time Sharing are become main trend.MHL(Mobile High-Definition Link, mobile terminal high-definition audio and video standard interface) demand that is connected with HDTV (High-Definition Television) of the interface smart mobile phone that solves user.
MHL interface comprises MHL+, MHL-, CBUS, VBUS, GND five signals.Wherein, MHL+, MHL-are a pair differential signals, complete audio, video data transfer function; VBUS signal is power supply signal; GND is earth signal; CBUS signal is collection DDC(Direct Digital Control direct data control) passage and MHL sideband channel signal be in a holding wire; complete EDID(Extended Display Identification Data expanded display recognition data between all mobile phone terminals and receiving terminal) information, HDCP(High-bandwidth Digital Content Protection HDCP technology) etc. order alternating transmission.
For MHL interface, CBUS is most important holding wire.Because it carries transmission and the reception of control informations all except audio, video data.Because MHL interface is in develop rapidly period now, its agreement also will be in and constantly upgrade and revise, and adopt hardware parser CBUS packet that the compatibility of product certainly will be made poor, also waste hardware resource simultaneously.
Summary of the invention
The technical problem to be solved in the present invention is to provide the data transmission system between a kind of CBUS and MCU, can save hardware resource, improves the compatibility of product.
For solving the problems of the technologies described above, the data transmission system between CBUS and MCU of the present invention, comprising:
One CBUS register module, for depositing Sink(receiving terminal) the CBUS packet received of termination, and Sink end by CBUS bus to Source(video source) hold the packet that is ready for sending; The CBUS packet that buffer memory receives and the corresponding state of the packet that is ready for sending and control signal;
One CBUS arbitrates monitoring module, for arbitrating Sink end and the request of Source end to CBUS bus;
One CBUS receiver module, according to described arbitration result, when CBUS bus control right is Source end, receives CBUS packet and resolve this CBUS packet structure, and the packet header that will parse, control bit and bag data write the CBUS receiving register in described CBUS register module accordingly;
One CBUS sending module, according to described arbitration result, when CBUS bus control right is Sink end, is sent to Source end by the data packet group framing format in the CBUS transmitter register of described CBUS register module.
Adopt the data transmission system between CBUS and MCU of the present invention, software in MCU can adopt the mode of read-write register by MCU interface, resolve or configure CBUS receive or send packet, both hardware resource was saved, turn improve product flexibility ratio and compatibility, for product expansion from now on and upgrading provide convenient condition.
Accompanying drawing explanation
Below in conjunction with accompanying drawing and embodiment, the present invention is further detailed explanation:
Fig. 1 is the data transmission system structural representation between described CBUS and MCU;
Fig. 2 is that CBUS receives packet schematic flow sheet;
Fig. 3 is that CBUS sends packet schematic flow sheet;
Fig. 4 is CBUS data packet format schematic diagram.
Embodiment
Shown in composition graphs 1, the data transmission system between described CBUS and MCU, in the following embodiments, comprising: a CBUS register module, and a CBUS arbitrates monitoring module, a CBUS receiver module, a CBUS sending module, a MCU interface.
CBUS is single-wire-protocol, determines that current data packet receives or sends the arbitration result depended on completely CBUS bus control right.When Source end and Sink end are when asking CBUS bus different opportunitys, CBUS arbitrates the control of monitoring module according to CBUS arbitral agreement arbitration CBUS bus, and exports CBUS bus control right ownership (i.e. arbitration result).
When CBUS bus control right is Source end, then CBUS is being held by Source and is holding transmission director data bag (i.e. described CBUS packet) to Sink, and data path as shown in Figure 2.As receiving mode, the data on CBUS first parse CBUS packet structure through CBUS receiver module, as shown in Figure 4.And by packet header, control bit and bag data write corresponding CBUS receiving register in CBUS register module.After CBUS packet is parsed, data transmission system sends interruption by MCU interface to MCU, and the interrupt status register of CBUS register module puts 1, and notice MCU reads described CBUS receiving register, and parses the command type of CBUS transmission.So namely, complete the data receiver that Source holds Sink to hold.
When CBUS bus control right is Sink end, then CBUS is held by Sink and holds transmission director data bag to Source.Data path as shown in Figure 3.As sending mode, the CBUS order that software in MCU will be sent by MCU interface writes corresponding CBUS transmitter register in CBUS register module by data packet format (packet header, control bit and bag data), the transmission data mode position finishing writing rearmounted described CBUS register module is 1, and it is ready that signal CBUS control logic sends packet.After CBUS arbitration monitoring module monitors Sink end acquisition CBUS bus control right, described CBUS transmitter register content component frame form is sent to Source end by CBUS bus by CBUS sending module, namely completes the data transmission that Sink holds Source to hold.
Above by embodiment to invention has been detailed description, but these are not construed as limiting the invention.Without departing from the principles of the present invention, those skilled in the art also can make many distortion and improvement, and these also should be considered as protection scope of the present invention.

Claims (4)

1. the data transmission system between CBUS and MCU, is characterized in that, comprising:
One CBUS register module, for depositing the CBUS packet that receiving terminal Sink receives, and the packet that receiving terminal Sink is ready for sending to video source Source by CBUS bus; The CBUS packet that buffer memory receives and the corresponding state of the packet be ready for sending and control signal;
One CBUS arbitrates monitoring module, for arbitrating receiving terminal Sink and video source Source to the request of CBUS bus;
One CBUS receiver module, according to described arbitration result, when CBUS bus control right is video source Source, receive CBUS packet and resolve this CBUS packet structure, and the packet header that will parse, control bit and bag data write the CBUS receiving register in described CBUS register module accordingly;
One CBUS sending module, according to described arbitration result, when CBUS bus control right is receiving terminal Sink, is sent to video source Source by the data packet group framing format in the CBUS transmitter register of described CBUS register module.
2. data transmission system as claimed in claim 1, it is characterized in that: after described CBUS packet is parsed, described data transmission system sends interruption by MCU interface to MCU, the interrupt status register of CBUS register module puts 1, notice MCU reads described CBUS receiving register, and parses the command type of CBUS bus transfer.
3. data transmission system as claimed in claim 1, it is characterized in that: the CBUS order that MCU will be sent by MCU interface writes corresponding CBUS transmitter register in CBUS register module by data packet format, after MCU configures relevant CBUS transmitter register, notify CBUS bus, CBUS bus will send packet to video source Source according to described arbitration result in good time.
4. data transmission system as claimed in claim 1, it is characterized in that: after the packet be ready for sending is deposited with the CBUS transmitter register of described CBUS register module, the transmission data mode position of putting described CBUS register module is 1; After described CBUS arbitration monitoring module monitors receiving terminal Sink acquisition CBUS bus control right, described CBUS sending module, by described CBUS transmitter register content component frame form, is sent to video source Source by CBUS bus.
CN201410077626.2A 2014-03-05 2014-03-05 Data transmission system between CBUS and MCU Pending CN104902209A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410077626.2A CN104902209A (en) 2014-03-05 2014-03-05 Data transmission system between CBUS and MCU

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410077626.2A CN104902209A (en) 2014-03-05 2014-03-05 Data transmission system between CBUS and MCU

Publications (1)

Publication Number Publication Date
CN104902209A true CN104902209A (en) 2015-09-09

Family

ID=54034573

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410077626.2A Pending CN104902209A (en) 2014-03-05 2014-03-05 Data transmission system between CBUS and MCU

Country Status (1)

Country Link
CN (1) CN104902209A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105611360A (en) * 2015-12-30 2016-05-25 深圳市航盛电子股份有限公司 Method and system for interconnecting SINK device with intelligent mobile device based on MHL

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1365059A (en) * 2001-01-09 2002-08-21 深圳市中兴集成电路设计有限责任公司 Micro processor with improved structure
JP2004133661A (en) * 2002-10-10 2004-04-30 Fuji Photo Film Co Ltd Interface unit
CN101911000A (en) * 2008-01-04 2010-12-08 晶像股份有限公司 Control bus for connection of electronic devices
CN102256091A (en) * 2010-05-21 2011-11-23 索尼公司 Data transmission device, data reception device, data transmission method, and data reception method
CN103474036A (en) * 2013-09-24 2013-12-25 天津三星电子有限公司 Display luminance adjusting method and system
WO2014011317A1 (en) * 2012-07-11 2014-01-16 Silicon Image, Inc. Transmission of multiple protocol data elements via an interface utilizing a data tunnel

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1365059A (en) * 2001-01-09 2002-08-21 深圳市中兴集成电路设计有限责任公司 Micro processor with improved structure
JP2004133661A (en) * 2002-10-10 2004-04-30 Fuji Photo Film Co Ltd Interface unit
CN101911000A (en) * 2008-01-04 2010-12-08 晶像股份有限公司 Control bus for connection of electronic devices
CN102256091A (en) * 2010-05-21 2011-11-23 索尼公司 Data transmission device, data reception device, data transmission method, and data reception method
WO2014011317A1 (en) * 2012-07-11 2014-01-16 Silicon Image, Inc. Transmission of multiple protocol data elements via an interface utilizing a data tunnel
CN103474036A (en) * 2013-09-24 2013-12-25 天津三星电子有限公司 Display luminance adjusting method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
冯成: "基于数字电视芯片的SD卡接口电路设计", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
范永胜: "C - BUS总线的原理与软件实现", 《洛阳师范学院学报》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105611360A (en) * 2015-12-30 2016-05-25 深圳市航盛电子股份有限公司 Method and system for interconnecting SINK device with intelligent mobile device based on MHL
CN105611360B (en) * 2015-12-30 2019-02-26 深圳市航盛电子股份有限公司 The method and system of SINK equipment and Intelligent mobile equipment interconnection are realized based on MHL

Similar Documents

Publication Publication Date Title
EP2793138B1 (en) Method and system for single-line inter-integrated circuit (i2c) bus
US20180027174A1 (en) Signaling camera configuration changes using metadata defined for a camera command set
JP5875013B2 (en) Transfer of control bus signals over packet-switched networks
CN103095855B (en) I2C communication interface unit
CN111031371B (en) Single-line screen projection system and method
US20180040293A1 (en) Electronic interactive system and setting method thereof
US20140132835A1 (en) Electronic device with thunderbolt interface, connecting method thereof, and docking apparatus
CN104834619B (en) A kind of I2C bus circuit, implementation method and electronic equipment
CN101777036B (en) Device, USB equipment and method for realizing drive-free image data transmission
JP5892227B2 (en) cable
CN105706168A (en) System and method for reducing memory I/O power via data masking
CN101593506B (en) Data transmission method,communication system and a display apparatus
CN102223732A (en) Wireless multi-point DDC ED ID information sharing device and method thereof
WO2019196415A1 (en) Interactive smart tablet
CN202103864U (en) Wireless multipoint DDC EDID information sharing device
CN104735523A (en) Method for achieving wireless connection between mobile phone and automotive multimedia system and wireless co-screen device
CN104902209A (en) Data transmission system between CBUS and MCU
CN109104581B (en) Wireless screen transmission method, system and receiving terminal
CN110418079A (en) Image signal conversion equipment
CN104079855A (en) Digital video device and method for reading EDID of HDMI
CN203522918U (en) HDMI-to-PCIE acquisition card
CN205016216U (en) Display screen interface converting device and intelligent wrist -watch
CN103618865A (en) Intelligent upgrading system and method for television set movement
CN202488592U (en) Real-time high definition video transmitter
CN204578703U (en) A kind ofly realize mobile phone and wireless interconnected wireless with shielding device of vehicle multimedia 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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150909

WD01 Invention patent application deemed withdrawn after publication