IntroducTIonLow-voltage differenTIal signaling—the most effecTIve interface for in-vehicle digital video routing—can also be used as a low-cost solution to transmit digital audio data streams.¹ This application note details how to use the MAX9205/MAX9206 10-bit LVDS serializer/deserializer (SerDes) ICs for transmitting up to four I²S audio data streams across STP wiring. Refer to the MAX9205/MAX9206 data sheets for detailed information on these ICs.
The LVDS Serializer AdvantageSince each time an audio signal is converted between analog and digital domains the sound quality is degraded, it is important to keep audio data in digital form when possible in order to provide the best sound quality. The MOST® bus is designed for in-vehicle audio data transmission but is expensive to implement and overkill for most applications. For consumer audio equipment, S/PDIF is commonly used to transmit compressed audio data from one piece of audio equipment to another. However, S/PDIF does not have the bandwidth to transmit 5.1 or 7.1 digital audio in an uncompressed format and lacks a proven, robust physical layer for automotive applications.
Transmitting digital audio data using LVDS provides a robust, low-cost, high-bandwidth interface solution that can be easily added to existing hardware without impacting system resources. Digital audio data in the form of I²S streams, which are already available, can be transmitted to a different location in a vehicle with virtually no software overhead. By keeping the audio data in digital form, multiple ADCs, DACs, and wires can be eliminated from the system, thereby freeing up cost and board space for other features.
LVDS is already used to route video data from cameras, DVD players, and navigation systems to various displays in the vehicle. Its low signal amplitude and differential structure allow LVDS to transmit high-bandwidth data with low electromagnetic radiation.
The MAX9205/MAX9206 SolutionThe MAX9205 is designed to transmit 10-bit parallel data from a single reference clock. To transmit the I²S signals SCLK, WS, and SDA0–3 as data, we need a reference clock that is synchronous to SCLK and at least two times the frequency. The specified reference clock frequency range for the MAX9205 is between 16MHz and 40MHz. However, the IC will lock onto a reference clock as low as 10MHz. This allows us to use the commonly available clock frequency of 12.28MHz.
Signals that leave a module in the wiring harness must be robust to withstand the harsh automotive environment and failure conditions. The LVDS bus needs to be AC-coupled to prevent damage if high-voltage short conditions occur. Since the MAX9205 does not automatically DC-balance the outgoing signal we must make sure that the data being transmitted is in fact DC-balanced. Since we are using no more than six of the ten available inputs we can use the remaining four inputs to DC-balance the transmitted data. The SCLK and WS signals are symmetrical signals so we only need to invert the random signals SDA0–3 and feed them into the unused inputs to ensure that the number of ones and zeros are equal for every 2-channel I²S packet transmitted.
To meet the setup and hold times for the MAX9205 and prevent excess jitter at the output of the MAX9206 deserializer, the I²S signals should be sampled when they are not changing state. Connect TCLK_R/F to GND to enable the MAX9205 to sample the inputs on the falling edge of the reference clock (TCLK). This assumes that the rising edge of TCLK corresponds to when SCLK changes state. If this is different than your configuration, make the appropriate adjustment to TCLK_R/F to ensure that the setup and hold times for the inputs are met. See Figure 1 below for the proper sampling of the I²S input signals.
Figure 1. Sampling of I²S input signals.
Figure 2 illustrates the application schematic diagram.
Figure 2. Schematic diagram for using the MAX9205/MAX9206 to transmit I²S audio data.
The left side of the schematic (labeled "Serializer") contains the circuit needed to serialize and transmit the LVDS audio data streams. Table 1 contains a list of components and signal descriptions for the serializer circuit.
Table 1. Component and Signal List for the Serializer Side
The right side of the schematic (labeled "Deserializer") contains the circuit needed to receive and deserialize the LVDS audio data streams. Table 2 contains a list of components and signal descriptions for the deserializer circuit.
Table 2. Component and Signal List for the Deserializer Side
ConclusionLVDS—the most effective interface for in-vehicle digital video routing—is also an effective interface for transmitting audio data. The MAX9205/MAX9206 LVDS serializer/deserializer ICs provide a simple, low-cost solution for transmitting multiple I²S audio streams between two points in a vehicle. Maxim’s next generation of LVDS products will continue to improve and support sending control and data across the same STP wire, thereby eliminating the need for an extra control interface.
¹For an application note that details the advantages of LVDS for digital video transmission in automotive applications, refer to Application Note 4019: LVDS Offers Robust Video Interface for Automotive Applications.
MOST is a registered trademark of MOST Corp.
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)