CN106911983B - Control method and system of audio and video protocol conversion chip - Google Patents

Control method and system of audio and video protocol conversion chip Download PDF

Info

Publication number
CN106911983B
CN106911983B CN201710019618.6A CN201710019618A CN106911983B CN 106911983 B CN106911983 B CN 106911983B CN 201710019618 A CN201710019618 A CN 201710019618A CN 106911983 B CN106911983 B CN 106911983B
Authority
CN
China
Prior art keywords
audio
protocol conversion
conversion chip
interface
data
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.)
Active
Application number
CN201710019618.6A
Other languages
Chinese (zh)
Other versions
CN106911983A (en
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.)
Analogix China Semiconductor Inc
Analogix International LLC
Original Assignee
Analogix China Semiconductor Inc
Analogix International LLC
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 Analogix China Semiconductor Inc, Analogix International LLC filed Critical Analogix China Semiconductor Inc
Priority to CN201710019618.6A priority Critical patent/CN106911983B/en
Publication of CN106911983A publication Critical patent/CN106911983A/en
Application granted granted Critical
Publication of CN106911983B publication Critical patent/CN106911983B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a control method and a control system of an audio and video protocol conversion chip. The system comprises a display terminal and a communication circuit, wherein: the communication circuit is connected with the audio and video protocol conversion chip and the display terminal and is used for transmitting data between the audio and video protocol conversion chip and the display terminal; the display terminal is pre-equipped with visual software, and the visual software is used for controlling the display terminal to display a visual interface and display and receive data through the visual interface. The invention solves the technical problem of poor user experience caused by the fact that a user needs to learn the hardware definition and the protocol of the chip in the control mode of the audio/video protocol conversion chip in the related technology.

Description

Control method and system of audio and video protocol conversion chip
Technical Field
The invention relates to the field of control, in particular to a control method and a control system of an audio and video protocol conversion chip.
Background
At present, the control of an audio/video protocol conversion chip (audio/video interface chip) is usually realized by directly accessing a register to a control interface, the control interface of a general audio/video protocol conversion chip is an I2C interface, the register of the chip is accessed through an I2C interface, and a user needs to know the definition and specification of hardware in the mode of directly accessing the register so as to control the chip to execute corresponding operation. Therefore, if the problems need to be quickly locked and solved in chip debugging, problem analysis and production test, the hardware definition and the protocol of the chip need to be learned by a user, the interaction mode is not friendly enough, and the user experience is poor.
Aiming at the technical problem that users need to learn the hardware definition and protocol of a chip to cause poor user experience in the control mode of an audio/video protocol conversion chip in the related technology, an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the invention provides a control method and a control system of an audio and video protocol conversion chip, which are used for at least solving the technical problem of poor user experience caused by the fact that a user needs to learn the hardware definition and the protocol of the chip in the control mode of the audio and video protocol conversion chip in the related technology.
According to an aspect of the embodiments of the present invention, there is provided a control system of an audio/video protocol conversion chip, the system including a display terminal and a communication circuit, wherein: the communication circuit is connected with the audio and video protocol conversion chip and the display terminal and is used for transmitting data between the audio and video protocol conversion chip and the display terminal; the display terminal is pre-equipped with visual software, and the visual software is used for controlling the display terminal to display a visual interface and display and receive data through the visual interface.
Further, display terminal is the computer, and communication circuit includes singlechip and computer both-way communication circuit and singlechip, wherein: the singlechip and the computer bidirectional communication circuit are connected between the computer and the singlechip and are used for transmitting data between the computer and the singlechip; the singlechip is connected to the audio and video protocol conversion chip through an I2C bus and is used for transmitting data between the audio and video protocol conversion chip and the singlechip through an I2C bus.
Furthermore, the two-way communication circuit between the single chip and the computer is a USB-to-UART communication circuit, wherein the single chip is connected to the USB-to-UART communication circuit through a UART bus, and the computer is connected to the USB-to-UART communication circuit through a USB data line.
Further, a UART interface protocol is prestored in the computer, wherein the visualization software is used for converting data transmitted between the computer and the singlechip through the UART interface protocol.
Further, the UART interface protocol includes a protocol in a first direction and a protocol in a second direction, wherein the visualization software is configured to convert data received through the visualization interface into data that can be recognized by the single chip microcomputer through the protocol in the first direction, and convert data sent by the single chip microcomputer into data that can be displayed on the visualization interface through the protocol in the second direction.
Furthermore, the USB-to-UART communication circuit comprises a USB-to-UART bridge and a USB connector which are connected, wherein the single chip microcomputer is connected to the USB-to-UART bridge through a UART bus, and the computer is connected to the USB connector through a USB data line.
Furthermore, other hardware control signal lines are connected between the single chip microcomputer and the audio/video protocol conversion chip, and the single chip microcomputer is also used for controlling the audio/video protocol conversion chip through the other hardware control signal lines.
Further, displaying the data through the visualization interface includes: displaying data sent by the audio and video protocol conversion chip in at least one display form through a visual interface, wherein the at least one display form at least comprises one of the following forms: pictures, message boxes, forms, buttons.
Further, receiving data through the visualization interface includes: receiving a control instruction through an input operation executed on at least one display form of the visual interface, wherein the control instruction is used for controlling the audio and video protocol conversion chip, and the at least one display form at least comprises one of the following forms: pictures, message boxes, forms, buttons.
Further, the communication circuit is laid out on the circuit board.
According to another aspect of the embodiments of the present invention, there is also provided a method for controlling an audio/video protocol conversion chip, the method being applied to a control system of the audio/video protocol conversion chip of the present invention, wherein the system includes a communication circuit and a display terminal, and the method includes: controlling a display terminal to display a visual interface; and displaying and receiving data transmitted between the audio and video protocol conversion chip and the display terminal through a visual interface.
Further, the displaying of the data transmitted between the audio/video protocol conversion chip and the display terminal through the visual interface includes: receiving data sent by the audio and video protocol conversion chip through the communication circuit; analyzing the data through a preset protocol so that the data can be displayed on a visual interface; and displaying the data sent by the audio and video protocol conversion chip through a visual interface.
Further, the receiving of the data transmitted between the audio/video protocol conversion chip and the display terminal through the visual interface includes: receiving an input control instruction for controlling the audio and video protocol conversion chip through a visual interface; and converting the control instruction into an instruction format capable of controlling the audio and video protocol conversion chip through a preset protocol so as to control the audio and video protocol conversion chip to execute the operation corresponding to the control instruction.
In the embodiment of the invention, the data between the audio and video protocol conversion chip and the display terminal is transmitted through the communication circuit which is connected with the audio and video protocol conversion chip and the display terminal, the visual interface is displayed through the display terminal, and the data is displayed and received through the visual interface, so that the technical problem that the control mode of the audio and video protocol conversion chip in the related technology requires a user to learn the hardware definition and the protocol of the chip, which causes poor user experience is solved, and the technical effect of facilitating the user to control the audio and video protocol conversion chip is further realized.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a schematic diagram of a control system of an optional audio/video protocol conversion chip according to an embodiment of the present invention;
fig. 2 is a flowchart of a control method of an optional audio/video protocol conversion chip according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a working scenario of an HDMI to USB Type-C interface chip;
fig. 4 is a schematic diagram of a control system of an alternative audio/video protocol conversion chip according to an embodiment of the present invention;
FIG. 5 is a diagram of an alternative serial port interface protocol according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of the functional components of a visualization software according to an embodiment of the present invention;
FIG. 7 is a schematic view of a visualization interface according to an embodiment of the invention;
FIG. 8 is a schematic view of another visualization interface according to an embodiment of the present invention;
FIG. 9 is a schematic view of another visualization interface according to an embodiment of the invention;
FIG. 10 is a schematic view of another visualization interface in accordance with an embodiment of the present invention;
FIG. 11 is a schematic view of another visualization interface in accordance with an embodiment of the present invention;
FIG. 12 is a schematic view of another visualization interface in accordance with an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
According to the embodiment of the application, a control system of an audio and video protocol conversion chip is provided. The system is used for visually controlling and managing an audio and video protocol conversion chip, wherein the audio and video protocol conversion chip, also called an audio and video interface chip, can be any audio and video protocol conversion chip, for example, a chip for converting an HDMI (high-definition multimedia interface) into an USB Type-C interface.
Fig. 1 is a schematic diagram of a control system of an optional audio/video protocol conversion chip according to an embodiment of the present invention, and as shown in fig. 1, the system includes a display terminal 10 and a communication circuit 20, where:
the communication circuit is connected between the audio and video protocol conversion chip and the display terminal and is used for transmitting data between the audio and video protocol conversion chip and the display terminal. Alternatively, the communication circuit may be provided on a circuit board.
The display terminal can be a computer, an industrial machine, a mobile terminal and other equipment with a display function, visual software is pre-installed on the display terminal and used for controlling the display terminal to display a visual interface and display and receive data through the visual interface. The visualization software can convert data (such as a control instruction) received through the visualization interface into data capable of controlling the audio and video protocol conversion chip, and can convert the data sent by the audio and video protocol conversion chip into data capable of being displayed by the visualization interface. The visualization software is a software common to all audio/video protocol conversion chips, and when the visualization software is applied to different audio/video protocol conversion chips, the bottom layer of the visualization software can be changed, for example, the address of a register in the chip defined in the bottom layer of the software is changed so that the visualization software can find the register of the chip.
The transmission data between the audio/video protocol conversion chip and the display terminal comprises two directions, wherein the first direction is data sent by the display terminal to the audio/video protocol conversion chip, for example, a control instruction which is input to the display terminal and is used for controlling the audio/video protocol conversion chip, and the second direction is data sent by the audio/video protocol conversion chip to the display terminal, for example, hardware state data of the audio/video protocol conversion chip.
Thus, displaying and receiving data through the visualization interface includes displaying data through the visualization interface and receiving data through the visualization interface. Wherein displaying data through the visualization interface may include: displaying data sent by the audio and video protocol conversion chip in at least one display form through a visual interface; receiving data through the visualization interface may include: the control instruction can be used for controlling the audio and video protocol conversion chip, optionally, the input control instruction can also be expressed by the operation executed on the corresponding display form, for example, the click operation of a mouse on a switch button icon of the audio and video protocol conversion chip is received, the conversion between the on-chip power-on state and the power-off state can be executed, and meanwhile, the change of the state of the switch button icon can also indicate the input control instruction. Wherein the at least one display form at least comprises one of the following: pictures, message boxes, forms, buttons.
According to the embodiment, the data between the audio and video protocol conversion chip and the display terminal is transmitted through the communication circuit, so that the data can be displayed and received through the visual interface by the visual software preinstalled on the display terminal, the technical problem that in the related technology, a user needs to learn the hardware definition and the protocol of the chip to control the audio and video protocol conversion chip, so that the user experience is poor is solved, and the technical effect of facilitating the user to control the audio and video protocol conversion chip is achieved.
Optionally, the display terminal is a computer, and the communication circuit includes a single chip microcomputer, a computer bidirectional communication circuit and a single chip microcomputer. The control interface of the audio and video protocol conversion chip is usually an I2C interface, the single chip microcomputer can be connected to the control interface of the audio and video protocol conversion chip through an I2C bus to control the chip, and meanwhile, the single chip microcomputer can also receive data sent by the audio and video protocol conversion chip through an I2C bus. Optionally, another hardware control signal line is further connected between the single chip microcomputer and the audio/video protocol conversion chip, and the single chip microcomputer is further configured to control the audio/video protocol conversion chip through the other hardware control signal line. The singlechip and computer bidirectional communication circuit is connected between the computer and the singlechip and is a bidirectional communication circuit used for transmitting data between the computer and the singlechip.
Optionally, the single chip may communicate with a device such as a computer through a UART bus, and accordingly, the bidirectional communication circuit between the single chip and the computer is a USB to UART communication circuit, wherein the single chip is connected to the USB to UART communication circuit through the UART bus, and the computer is connected to the USB to UART communication circuit through a USB data line. The UART interface protocol can be prestored in the computer, the UART interface protocol is a standard protocol, the visual software can convert data transmitted between the computer and the single chip microcomputer through the UART interface protocol, the UART interface protocol can comprise a protocol in a first direction and a protocol in a second direction, the visual software can convert the data received through the visual interface into data which can be identified by the single chip microcomputer through the protocol in the first direction, and the visual software can convert the data sent by the single chip microcomputer into data which can be displayed on the visual interface through the protocol in the second direction.
The specific structure of the USB-to-UART communication circuit may include a USB-to-UART bridge and a USB connector connected to each other, wherein the single chip is connected to the USB-to-UART bridge through a UART bus, and the computer is connected to the USB connector through a USB data line.
According to the embodiment of the application, a control method of the audio and video protocol conversion chip is further provided.
Fig. 2 is a flowchart of a control method of an optional audio/video protocol conversion chip according to an embodiment of the present invention, and the method is applied to a control system of an audio/video protocol conversion chip of the present invention, where the system includes a communication circuit and a display terminal. As shown in fig. 2, the method includes:
step S201, controlling a display terminal to display a visual interface;
and step S202, displaying and receiving data transmitted between the audio and video protocol conversion chip and the display terminal through a visual interface.
The data can be displayed on the visual interface through at least one display form, and the display form can be pictures, message boxes, tables, buttons and the like.
The step of displaying the data transmitted between the audio/video protocol conversion chip and the display terminal through the visual interface may include: receiving data sent by the audio and video protocol conversion chip through the communication circuit; analyzing the data through a preset protocol so that the data can be displayed on a visual interface; and displaying the data sent by the audio and video protocol conversion chip through a visual interface.
The step of receiving data transmitted between the audio/video protocol conversion chip and the display terminal through the visual interface may include: receiving an input control instruction for controlling the audio and video protocol conversion chip through a visual interface; and converting the control instruction into an instruction format capable of controlling the audio and video protocol conversion chip through a preset protocol so as to control the audio and video protocol conversion chip to execute the operation corresponding to the control instruction.
According to the embodiment, the display terminal is controlled to display the visual interface, the data transmitted between the audio and video protocol conversion chip and the display terminal are displayed and received through the visual interface, the technical problem that in the related technology, a user needs to learn the hardware definition and the protocol of the chip to control the audio and video protocol conversion chip, so that the user experience is poor is solved, and the technical effect of facilitating the user to control the audio and video protocol conversion chip is achieved.
Example 2
According to the embodiment of the application, another control system of the audio and video protocol conversion chip is further provided. The system provided by this embodiment may be an implementation of the system provided by embodiment 1 above, and in particular, the system is configured to control an HDMI-to-USB Type-C interface chip. The HDMI is a short for High Definition Multimedia Interface, and has been widely applied to interfaces for High Definition device interconnection since birth 2002, and the latest HDMI 2.0 specification can maximally support ultra-High Definition applications of 4Kx2K @60Hz and 8-channel 192KHz audio.
Fig. 3 is a schematic diagram of a working scenario of an HDMI-USB Type-C interface chip, and as shown in fig. 3, a control interface of the HDMI-USB Type-C interface chip is an I2C interface, and in addition to an I2C interface, the HDMI-USB Type-C interface chip is controlled by several hardware control signal lines (INT, PWR _ EN, RESETN) and a POWER Module (POWER Module), and the control and management of the chip can be completed by a CPU, an MCU or an AP (application management chip).
The HDMI receiving module (HDMI RX) of the chip receives audio and video data transmitted from an HDMI transmitting device (HDMI TX), and the audio and video data are converted into a DisplayPort (DP) signal through the chip and output from the USB Type-C interface.
As shown in fig. 3, the HDMI receiving module needs a plurality of steps to restore the audio/video data, first, the HPD signal of the HDMI interface is pulled high to notify the HDMI transmitting device that the downstream device is accessed, the HDMI transmitting device requests the EDID information from the DDC interface, after the EDID information is received correctly, the HDMI transmitting device transmits the video data, a TMDS decoder in the HDMI receiving device recovers a TMDS clock, receives the TMDS data, decodes and descrambles the data, and the video data and the auxiliary data are analyzed.
The DisplayPort is a novel high-definition audio/video interface defined by VESA organization, an HDMI-to-USB Type-C interface chip supports a DisplayPort transmission function, and fig. 3 includes main internal components of a DisplayPort transmission module (DP TX). After the DisplayPort finds that the downstream equipment is accessed, the DisplayPort firstly inquires the main link capacity of the downstream equipment from the auxiliary port AUX interface, can support information of several channels, the highest link bandwidth and the like, initiates link training of a main path, establishes connection, and packs and sends data after the DisplayPort sending module collects audio and video data and auxiliary information packets received from the HDMI interface.
The HDCP is high-bandwidth content protection, and the HDMI-to-USB Type-C interface chip supports two versions of HDCP protocols, HDCP1.4 and HDCP 2.2. The state of the HDCP comprises the result of HDCP HDMI terminal authentication, the result of DisplayPort transmitting terminal and downstream HDCP authentication. The control of HDCP is to initiate and authenticate downstream, encrypt, and reset the HDCP module.
The HDMI-to-USB Type-C interface chip also supports a protocol of a USB Type-C interface and a USB power management protocol, can detect the access direction of equipment, sends and receives a PD (power transmission) data packet, and controls the on and off of VBUS and VCONN power supplies.
The control of the USB part is first to detect the device insertion and the device insertion direction by the CC pins (CC1 and CC2) of the USB Type-C interface, and then to configure the internal cross connect multiplexing switch according to the insertion direction. The CC pin may also be used for PD (power transfer) packet reception and transmission.
Fig. 4 is a schematic diagram of a control system of an alternative audio/video protocol conversion chip according to an embodiment of the present invention, where the system provided in this embodiment includes a communication circuit (disposed on a circuit development board) and a display terminal (PC).
In this embodiment, the visualization software is called a visualization management tool (ADS), and the ADS is an abbreviation of analog Development Studio. ADS software is compiled by Visual C language, runs at PC end, and is connected with the development board of HDMI-USB Type-C interface chip by using USB interface of PC.
The development board contains USB Type-B connector, USB changes UART bridge and singlechip MCU. PC passes through the USB data line and is connected to the USB Type-B connector on the development board, and USB Type-B connector passes through USB to change the UART bridge and links to each other with MCU, and through UART bus communication between USB commentaries on classics UART bridge and the MCU, MCU and HDMI change USB Type-C chip pass through I2C bus and other control bus CFGs transmission data, wherein, I2C bus connection is to HDMI changes the register of USB Type-C chip.
The USB-to-UART bridge is used for converting the USB signal into a UART serial port signal. The MCU can support UART serial port transceiving and an I2C master mode, can convert an instruction received by the UART into an I2C instruction through a singlechip program and send the instruction to the HDMI-to-USB Type-C chip, and can also forward data transmitted by the HDMI-to-USB Type-C chip through an I2C bus to ADS software through the UART interface. Therefore, the ADS software can complete the access to the I2C interface only by developing a standard serial communication program.
Fig. 5 is a schematic diagram of a serial interface protocol between the upper ADS software and the bottom single chip microcomputer program. In order to ensure the expansibility and independence of ADS software, the ADS software can be extended to other types of audio/video interface management chips and more management functions, and reduce the correlation with downstream hardware, a standard UART serial interface protocol must be defined. The serial interface protocol in fig. 5 includes two directions, from ADS software to downstream hardware development board and from downstream hardware development board to upstream ADS software.
The ADS software starts with \ to the downstream serial interface command, and the CMD follows the command to indicate that the command is a character string, for example, "wr" indicates writing a register, the command is followed by a space, and then Data is the specific content and parameters of the command. The format from the downstream chip development board to the upstream starts with \, followed by a status, 0 indicating that the instruction was successfully received, 1 indicating that the instruction cannot be recognized, 2 indicating that the instruction is recognized but the execution failed, 3 indicating that the downstream device has failed, and if the return value is 0 successful, length needs to be followed, informing the number of bytes of the return data, followed by a space and data. The control instruction may include a read register, a write register, a batch download register, a read DPCD register, a write DPCD register, and the like, and specific instructions are shown in the following table, for example:
table 1: visual interface UART interface instruction
Figure BDA0001206471080000101
Figure BDA0001206471080000111
Fig. 6 shows the components of the ADS software, which may be divided into five modules, HDMI reception management, DisplayPort transmission management, chip basic control, USB management, and HDCP management. The module division is mainly based on the functional composition and the internal structure of the chip, and each functional module in the ADS software corresponds to one module in the chip hardware. Each functional module is divided into a plurality of sub-functional modules to complete the control and management of all functions of the corresponding hardware module.
The chip basic control comprises functions of reading and writing registers, chip hardware pin control, power supply control, chip internal firmware debugging mode control, chip state control and the like. The HDMI reception management comprises the functions of receiving EDID, HDMI TMDS parameters, reception states, audio and video parameters, auxiliary information packets and the like. The DisplayPort transmission management comprises functions of DPCD register control, DP link control, MainLink parameter control and the like. The HDCP management comprises functions of HDCP overall control, HDCP state, HDCP Key management and the like. The USB management comprises functions of a USB Type-C Cable detect state, internal MUX control, PD message transceiving control and the like.
The visual interface of the ADS software may be as shown in fig. 7 to 12. As shown in fig. 7, the upper side of the visual interface is a main menu bar for switching and displaying the interface of the five-function module, Basic function is a chip Basic control function, HDMIRX Part is an HDMI receiving management function, DisplayPort TX Part is a DisplayPort sending management function, HDCPPart is an HDCP management function, and USB Part is a USB management function.
The five modules are arranged according to the working sequence of the chip from left to right, firstly, the chip is subjected to basic power supply and hardware control, chip and software version information, then, a data packet is received from the HDMI, the DisplayPort sends an audio and video data packet, an HDCP encryption mode is selected, and DisplayPort data is transmitted to downstream DisplayPort equipment through a USB Type-C interface.
The display of the state in the control interface is expressed by various visual icons, and meanwhile, a state display area is reserved for intensively displaying various state information. The control of the chip is mainly completed by buttons on a visual interface of ADS software, and the register can be directly operated in the visual interface by selecting the register on a drop-down menu or a ScrollView slider supported by VC, and then inputting the register value at a specified space. For EDID, Infoframe auxiliary information, PD (Power supply transport) packet in help window, and analyzing and displaying original information according to protocol.
As shown in fig. 7, the Basic Function interface basically powers on and off the chip, stops internal programs, reads and writes the register, upgrades and downloads the firmware of the chip, reads the EDID, analyzes the EDID content, and controls the chip to enter a special test mode to read and write the DPCD register content. The lower left corner in the interface is a window for converting the current HDMI into the USB Type-C interface chip, if the background color is red, the read information is incorrect, and the I2C channel is not passed. The control in the control interface is mainly embodied in the form of buttons, and each button corresponds to one or a plurality of instructions sent from the UART protocol. The Power on Chip button corresponds to an instruction that Power on turns on a Chip Power supply and controls a Chip Power supply pin to enable a Chip; the instruction corresponding to the Run MCU Firmware button is \ DebugFFMCU, which is an instruction for enabling external MCU software to normally work; the instruction corresponding to the Run OCM Firmware button is \ DebugOfOCM, which is an instruction for enabling OCM software in the chip to work normally. The DPCD register is a register of a DisplayPort RX, reading and writing are also finished by two buttons of read and write on a basic function interface, corresponding instructions are \ dpcdr and \ dpcdw respectively, the upper right corner of the basic control interface is display and control of EDID, the EDID is a character string used for storing and supporting audio and video formats, performances and parameters by a display device, the character string generally comprises 256 bytes, the original content of the character string is 16-system data, and the meaning of the character string can be known by analyzing the character string by each bar according to an EDID protocol. The Read EDID button in the ADS tool corresponds to the instruction \ dumpedd, and the HDMI to USB Type-C chip of the button correspondingly reads the EDID instruction, reads EDID data of downstream display equipment and transmits the EDID data back to the ADS tool through a serial port. Two windows are arranged on the right side of the button, EDID raw data is displayed on the upper window and used for displaying the original 16-system character strings of the EDID, and the lower window is used for analyzing the meanings of each byte and each bit of the original data one by one according to an EDID protocol. The three buttons at the lower right corner are three test mode buttons provided by the chip, and the chip is controlled to enter the corresponding test mode. After three buttons of a Power on Chip, Run MCU Firmware and Run OCMFirmware pressed, the working state of the Chip is changed, the Chip enters a Power on enabling state, and the OCM software and the MCU software enter a normal running state. The interfaces displayed after the HDMI, DisplayPort, HDCP and USB all work normally are shown in fig. 8. The status bar in the lower left corner of fig. 8 will become a green background color, I2C works normally, and can indicate rich chip status information, the operating status of the chip, MCU and OCM, and the status of the chip, software version number, HDMI, DisplayPort, HDCP, USB.
After the HDMI RX Part is selected, the HDMI RX interface is entered, as shown in fig. 9, to mainly display the audio and video parameters, the packet information, the HDMI receiver status and the parameter adjustment received by the HDMI. The HDMI state has many parameters, the HDMI state result can be obtained only by reading the registers one by one and judging or even calculating, the ADS visualization tool simplifies the processes, and all information can be obtained by directly converting the command \ showrx into a development version of a USB Type-C chip. The HDMI state display mode is displayed by two icons, information which can be displayed on the HDMI receiving management interface is HDMI or DVI, the information is displayed by the two icons, one icon represents the DVI, and the other icon represents the HDMI mode; when the Video Stable is DVI, the HDMI reception is unstable, and when the Video Stable is HDMI, the HDMI reception is normal; when the Audio Stable is HDMI, the Audio Signal is Stable, and the DVI indicates that the Audio Signal is unstable; the number next to the Pixel Clock Rate indicates the Rate of the HDMI Clock in MHz; the Video Timing is a parameter indication of the HDMI Video, the HDMI Video comprises a plurality of parameters, the Video Timing is displayed in an ADS tool in a table form, the table comprises H _ TOL, the total number of horizontal pixels, H _ ACT, the number of effective pixels in the horizontal pixels, the total number of V _ TOL vertical pixels, the number of effective pixels in V _ ACT vertical pixels, H _ Sync, the horizontal synchronization length, V _ Sync, the vertical synchronization length and other information, the table is used for avoiding a complex process of calculating and reading a register, and the parameters of the Video can be visually seen; the HDMI receiving management interface can also display the content of an auxiliary information packet, and the original 16-system character string read from the register is analyzed and displayed according to the HDMI specification, the display mode is a table mode, and the type of the auxiliary information packet comprises an AVI Infoframe and a video auxiliary information packet; audio info frame, Audio side information packet; the HDMI supports a plurality of bit depth modes, each pixel is divided into R, G, B elements, the bit depth indicates that R, G, B three elements in one pixel respectively comprise a plurality of bits, and the bit depths supported by the HDMI-to-USB Type-C chip are 8 bits, 10 bits and 12 bits; the HDMI has three TMDS data channels to transmit red, green and blue elements respectively, errors can occur on a Link due to interference, signal attenuation and other reasons, the number of bytes of each channel Error can be displayed if a Link Error button is pressed on an HDMI management interface, and Clearerror is used for resetting the number of Error packets to be 0; the lower left corner of the interface is an HDMI interruption event state display area used for displaying HDMI emergency, the HDMI interruption event state display area is actively initiated by a downstream chip, the format is 3HDMI num1num2, the main type of interruption represented by num1 is represented by num2, the main type of interruption is represented by a subtype in the main interruption, and ADS software receives interruption information and translates the interruption information into meaningful characters to be displayed in the lower left corner and adds a timestamp. The lower left corner of the HDMI reception control interface is a part for controlling HDMI reception, TMDS parameters can be adjusted, then a set key is pressed, an HPD on key is controlled to switch the state of an HPD, and a Descramble key is controlled to open and close a Descramble function.
Selecting DisplayPort TX Part to enter a DisplayPort transmission management interface, as shown in fig. 10, the DisplayPort transmission state, the audio/video data packet information and state, and the line connection state can be displayed in the interface, and the parameters of transmission and link are controlled. The instruction for the ADS tool to obtain the DisplayPort send state is \ Showtx. The LT Result shows the link status of the chip and the downstream DisplayPort device, and if a red light is displayed (indicated by a hollow icon in the figure), the link status indicates that a problem exists in connection with the DisplayPort main path (main link) of the downstream device; SSC on/off shows whether the SSC spreading function of the DisplayPort transmitting module is enabled or not, red (shown by an open icon) shows that the SSC spreading function is not enabled, and green (shown by a solid icon) shows that the SSC spreading function is enabled; the Video Timing shows parameters and formats for sending Video, the display mode is similar to the mode used in HDMI reception, the parameters are listed by using the tables, theoretically, the Video Timing received by the HDMI and the Video Timing sent by the DisplayPort should be the same, as the HDMI to USBType-C interface chip only completes the forwarding of different protocols and interfaces, but the debugging mode is that the Video Timing of the DisplayPort can be controlled by the chip; the DisplayPort sending module also needs to send an auxiliary information packet to downstream equipment, and the same information includes AVI Infoframe and Audio Infoframe; the table beside the Video Color shows the Color space composition adopted by the DisplayPort to send the Video, 4:4:4, 4:2:2 and 4:2: 0; the DisplayPort is a high-speed signal, error packets on a link can be caused due to signal reflection, attenuation and the like, the number of the error packets on the link can be displayed on an interface after a line error key is pressed down, the error number is cleared and counting is restarted after the Clear error key is pressed down; the lower left corner of the interface is that the message instruction sent by the downstream of the receiving chip is \3Type Value, the Type is 0 to indicate that the HPD downstream plug-in changes, 1 to indicate that the HPD _ IRQ has a short-time HPD signal, and 2 to indicate that the IRQ, and the ADS is displayed in the status bar at the lower left corner after receiving the message. The control of the DisplayPort sending module is realized through a button, a Set SSC is supported by the control button in the interface, and the SSC function is turned on or turned off; the Set Pattern button completes the selection of the link training mode of the DisplayPort, and has four modes of D10.2, PRBS, PLTPAT and CEP, and the EDID access can select the mode provided for the EDID of the HDMI transmitting equipment, including two modes of DDC Stretch and Shield EDID; the link Training button can be used for carrying out manual link Training, and parameters of link Training are selected from a pull-down frame on the right, wherein the parameters comprise link bandwidth SW, the number Lane CN of link channels, a link signal peak value Swing and the Pre-gain size Pre-emp of a link; the Audio Mute button sets the Audio Mute button to turn off or resume the Audio output, and the Video Mute button turns off or resumes the output of the Video.
HDCP Part is selected to enter the HDCP interface, which is shown in fig. 11. And selecting the version of the HDCP protocol on the HDCP interface, starting and stopping encryption, and displaying the HDCP state. The state of the HDCP in the interface is displayed in a table form, the HDCP Status table can display whether the upstream equipment initiates encryption or not, if the Decrypted is 1, the displayPort sending end completes the HDCP encryption, the Encrypted is 1, the HDMI encryption is completed, and the Auth is 1, the HDMI sending equipment initiates the HDCP encryption authentication; whether the HDMI and the DisplayPort are Stable also influences whether the HDCP function is normal, the lower left corner of the interface displays states of the HDMI Stable and the DisplayPort, the display mode is represented by red (represented by a hollow icon in the figure) for instability, and green (represented by a solid icon in the figure) for stability; the bottom left corner is the status bar of HDCP, which can display the status and messages of HDCP collectively. The UART instruction for the ADS tool to obtain information from the downstream chip is read directly from the chip registers. The HDCP control is mainly supported in an interface by HDCP Version selection, and two buttons of HDCP1.4Version and HDCP2.2 Version select HDCP1.4 or HDCP 2.2; the Start DP TXAuthentication button may reinitiate the HDCP authentication process.
Clicking the USB Part button to enter the USB control interface, wherein the USB interface can control and display the messages and states of the USB Type-C and the USB PD as shown in FIG. 12. The USB Type-C interface is connected with a green light (represented by a solid icon in the figure) to be lightened, and a red light (represented by a hollow icon in the figure) is lightened when the interface is empty; when the power supply mode of the HDMI-USB Type-C chip is an output side, a green light beside the Source/Sink is on, and otherwise, a red light is on; when the data role of the chip is a data source, a green light beside the DFP/UFP is on, and if the data role is a data receiver, a red light is on; the Plug Direction shows the insertion Direction of the USB Type-C interface equipment, and the Plug Direction has a forward Direction and a reverse Direction, wherein a green light is on when the USB Type-C interface equipment is inserted in the forward Direction, and a red light is on when the USB Type-C interface equipment is inserted in the reverse Direction; the USB Part interface can also display the Voltage of VBUS and VCONN, and if the real-time Voltage value of VBUS Voltage or VCONNvoltage is displayed in a white frame; the display is directly finished by reading a \ "rd' instruction through a register, and software interrupt information can be displayed at the lower left corner of the interface and is actively sent out by a chip development board. The upper right corner of the USB interface is provided with two display frames for displaying USB PD (power transmission) messages, a PD RAW Data window displays original PD messages in the format of original 16-system character strings, and a PD Message segmented window displays messages after the 16-system character strings of the selected PD messages are analyzed according to the USBPD protocol. The USB Part interface comprises three buttons which can be operated, an automatic GoodCRC button is used for enabling hardware to automatically reply GoodCRC, a Manual Toggle button can enable software to control the USB Type-C to discover the equipment access function, and a PD Manual Message Send button can Send out a PD Message in a left blank frame.
In this embodiment, the visual software management tool ADS takes HDMI to USB Type-C interface chip as an example, and displays and completes the management of the complex internal hardware register, HDMI, DisplayPort, USB Type-C, USB Power Delivery, and HDCP protocol in the visual interface finally by defining the interface protocol, interface design, and design of the hardware development board. The UART serial protocol is exemplified in the UART interface instruction list of the visual interface in table 1, the hardware connection is as shown in fig. 4, the system has 5 large functional modules in total, and the specific design of each interface is as shown in fig. 7 to fig. 12.
The design of the ADS visual management tool at the PC end mainly comprises two parts, namely designing a user interaction interface to express the state and control information in a visual mode, and analyzing the character strings received from the UART interface through a serial port to restore the hardware state information and convert the control of a user on the interface into UART instructions.
The support of the embedded software of the chip circuit development board on the visual management tool is realized by analyzing a serial port character string through an UART instruction analysis function and reading and writing an HDMI-to-USB Type-C interface chip through I2C.
The embodiment of the invention provides a new control mode for an audio and video conversion chip, which extracts the relevant contents of a chip register, hardware and a protocol and expresses the contents in an intuitive mode, so that the control and access to the chip can be realized in a visual interface, the high dependence on hardware definition and specification is eliminated, and the control speed and the problem positioning speed of the chip are accelerated. The embodiment of the invention is a general solution, can be applied to all audio and video interface chips, if the solution is applied to other similar video interface conversion chips except for an HDMI-to-USB Type-C interface chip, only the definition of a bottom layer register needs to be modified, and the visual software ADS does not need to be redesigned.
The order of the embodiments of the present application described above does not represent the merits of the embodiments.
It should be noted that, although the flow charts in the figures show a logical order, in some cases, the steps shown or described may be performed in an order different than that shown or described herein.
In the above embodiments of the present application, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments. In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (12)

1. The control system of the audio and video protocol conversion chip is characterized by comprising a display terminal and a communication circuit, wherein:
the communication circuit is connected with the audio and video protocol conversion chip and the display terminal and is used for transmitting data between the audio and video protocol conversion chip and the display terminal;
the display terminal is pre-equipped with visual software, and the visual software is used for controlling the display terminal to display a visual interface and displaying and receiving the data through the visual interface;
the display terminal is a computer, and the communication circuit comprises a singlechip, a computer bidirectional communication circuit and a singlechip;
the single chip microcomputer and computer bidirectional communication circuit is connected between the computer and the single chip microcomputer and is used for transmitting data between the computer and the single chip microcomputer; the single chip microcomputer is connected to the audio and video protocol conversion chip through an I2C bus and is used for transmitting data between the audio and video protocol conversion chip and the single chip microcomputer through the I2C bus;
wherein displaying and receiving the data through the visualization interface comprises: receiving an input control instruction for controlling the audio and video protocol conversion chip through the visual interface; and converting the control instruction into an instruction format capable of controlling the audio and video protocol conversion chip through a preset protocol so as to control the audio and video protocol conversion chip to execute the operation corresponding to the control instruction.
2. The system of claim 1, wherein the two-way communication circuit between the single-chip microcomputer and the computer is a USB-to-UART communication circuit, wherein the single-chip microcomputer is connected to the USB-to-UART communication circuit via a UART bus, and the computer is connected to the USB-to-UART communication circuit via a USB data line.
3. The system of claim 2, wherein the computer is pre-stored with a UART interface protocol, and wherein the visualization software is configured to convert data transmitted between the computer and the single-chip microcomputer via the UART interface protocol.
4. The system of claim 3, wherein the UART interface protocol comprises a first direction protocol and a second direction protocol, and wherein the visualization software is configured to convert data received through the visualization interface into data that can be recognized by the single chip microcomputer through the first direction protocol and convert data transmitted by the single chip microcomputer into data that can be displayed on the visualization interface through the second direction protocol.
5. The system of claim 2, wherein the USB to UART communication circuit comprises a USB to UART bridge and a USB connector connected together, wherein the single chip is connected to the USB to UART bridge via the UART bus, and the computer is connected to the USB connector via the USB data line.
6. The system of claim 1, wherein other hardware control signal lines are further connected between the single chip microcomputer and the audio/video protocol conversion chip, and the single chip microcomputer is further configured to control the audio/video protocol conversion chip through the other hardware control signal lines.
7. The system of claim 1, wherein displaying the data through the visualization interface comprises:
displaying the data sent by the audio and video protocol conversion chip in at least one display form through the visual interface, wherein the at least one display form at least comprises one of the following forms: pictures, message boxes, forms, buttons.
8. The system of claim 1, wherein receiving the data through the visualization interface comprises:
receiving a control instruction through an input operation executed on at least one display form of the visual interface, wherein the control instruction is used for controlling the audio and video protocol conversion chip, and the at least one display form at least comprises one of the following forms: pictures, message boxes, forms, buttons.
9. The system of any one of claims 1 to 8, wherein the communication circuit is disposed on a circuit board.
10. A method for controlling an audio/video protocol conversion chip, wherein the method is applied to a control system of an audio/video protocol conversion chip according to any one of claims 1 to 9, wherein the system includes a communication circuit and a display terminal, and the method includes:
controlling the display terminal to display a visual interface;
and displaying and receiving data transmitted between the audio and video protocol conversion chip and the display terminal through the visual interface.
11. The method of claim 10, wherein displaying data transmitted between the audio/video protocol conversion chip and the display terminal through the visual interface comprises:
receiving data sent by the audio and video protocol conversion chip through the communication circuit;
parsing the data through a preset protocol to enable the data to be displayed on the visual interface;
and displaying the data sent by the audio and video protocol conversion chip through the visual interface.
12. The method of claim 10, wherein receiving data transmitted between the audio/video protocol conversion chip and the display terminal through the visual interface comprises:
receiving an input control instruction for controlling the audio and video protocol conversion chip through the visual interface;
and converting the control instruction into an instruction format capable of controlling the audio and video protocol conversion chip through a preset protocol so as to control the audio and video protocol conversion chip to execute the operation corresponding to the control instruction.
CN201710019618.6A 2017-01-10 2017-01-10 Control method and system of audio and video protocol conversion chip Active CN106911983B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710019618.6A CN106911983B (en) 2017-01-10 2017-01-10 Control method and system of audio and video protocol conversion chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710019618.6A CN106911983B (en) 2017-01-10 2017-01-10 Control method and system of audio and video protocol conversion chip

Publications (2)

Publication Number Publication Date
CN106911983A CN106911983A (en) 2017-06-30
CN106911983B true CN106911983B (en) 2020-05-08

Family

ID=59206782

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710019618.6A Active CN106911983B (en) 2017-01-10 2017-01-10 Control method and system of audio and video protocol conversion chip

Country Status (1)

Country Link
CN (1) CN106911983B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110297793B (en) * 2018-03-22 2021-07-23 杭州海康威视数字技术股份有限公司 Chip identification method and device and electronic equipment
CN111651308B (en) * 2020-04-24 2024-01-30 广州视源电子科技股份有限公司 Method and device for acquiring debugging data of DP-HDMI chip and intelligent device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201042054Y (en) * 2007-02-13 2008-03-26 四川长虹电器股份有限公司 Digital multimedia TV
CN101533618A (en) * 2008-03-14 2009-09-16 联想(北京)有限公司 Display device, display method and computer
CN101815195A (en) * 2010-02-03 2010-08-25 许耿铭 Audio-video switching method, system and switcher used by same
CN102543128A (en) * 2010-12-30 2012-07-04 上海博泰悦臻电子设备制造有限公司 Audio and video decoding device and vehicle-mounted externally-connected audio and video playing device
CN102883198A (en) * 2012-09-29 2013-01-16 鸿富锦精密工业(深圳)有限公司 Bus of split-type television
KR20140073185A (en) * 2012-12-06 2014-06-16 삼성전자주식회사 Electronic device and control method thereof
CN104768048A (en) * 2014-11-08 2015-07-08 晶晨半导体(上海)有限公司 Audio/video conversion device
CN105657485A (en) * 2015-08-21 2016-06-08 乐视致新电子科技(天津)有限公司 Audio/video playing equipment
CN105916029A (en) * 2015-12-18 2016-08-31 乐视致新电子科技(天津)有限公司 Audio playing control equipment, video display equipment and audio and video playing system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201042054Y (en) * 2007-02-13 2008-03-26 四川长虹电器股份有限公司 Digital multimedia TV
CN101533618A (en) * 2008-03-14 2009-09-16 联想(北京)有限公司 Display device, display method and computer
CN101815195A (en) * 2010-02-03 2010-08-25 许耿铭 Audio-video switching method, system and switcher used by same
CN102543128A (en) * 2010-12-30 2012-07-04 上海博泰悦臻电子设备制造有限公司 Audio and video decoding device and vehicle-mounted externally-connected audio and video playing device
CN102883198A (en) * 2012-09-29 2013-01-16 鸿富锦精密工业(深圳)有限公司 Bus of split-type television
KR20140073185A (en) * 2012-12-06 2014-06-16 삼성전자주식회사 Electronic device and control method thereof
CN104768048A (en) * 2014-11-08 2015-07-08 晶晨半导体(上海)有限公司 Audio/video conversion device
CN105657485A (en) * 2015-08-21 2016-06-08 乐视致新电子科技(天津)有限公司 Audio/video playing equipment
CN105916029A (en) * 2015-12-18 2016-08-31 乐视致新电子科技(天津)有限公司 Audio playing control equipment, video display equipment and audio and video playing system

Also Published As

Publication number Publication date
CN106911983A (en) 2017-06-30

Similar Documents

Publication Publication Date Title
KR102545078B1 (en) Display apparatus, method for controlling thereof and system
US8380912B2 (en) Transparent repeater device for handling displayport configuration data (DPCD)
US8723756B2 (en) System having capability for daisy-chained serial distribution of video display data
US20100185792A1 (en) Data transmission system using in computer
US10031710B2 (en) Display device constituting multi-display system and control method thereof
TWI482485B (en) Audio/video system, control method of an audio/video system, and display device
CN102662514A (en) Touch screen control method and mobile terminal
EP3411872A2 (en) Display system for an array of video displays
US20060114248A1 (en) Displaying apparatus and control method thereof
TWI733535B (en) Display system and display apparatus
US20150163450A1 (en) Video display system, source device, sink device, and video display method
US9992441B2 (en) Displaying multiple videos on sink device using display information of source device
CN106911983B (en) Control method and system of audio and video protocol conversion chip
CN106933524B (en) Method for increasing display port compatibility
US20170118443A1 (en) Display apparatus and control method thereof
CN103713868A (en) Method and apparatus for dynamic adjustment of data transmission with usage context
US20110145866A1 (en) Method and apparatus for selecting video channel, video device and tv device
CN203457237U (en) HDMI-based signal distributor
CN111343392A (en) Signal distributor and video distribution method
WO2019163007A1 (en) Image display device and image display method
CN109656501A (en) The control method of display
US20170238050A1 (en) Method for transmitting and receiving data using hdmi and device therefor
US11265593B2 (en) Display device, hardware dongle capable of coupling to the display device, and method for controlling the display device
CN209545719U (en) A kind of point-to-point splicing system of video
CN114025227A (en) Electronic equipment and control method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant