Keywords: McBSP, CPLD, VHDL, DSP In many digital signal processing application systems, DSP is responsible for fast and complex core operations. However, the control of DSP on data input and output is limited during the operation. The design combining DSP with CPLD (complex programmable logic device) or FPGA (field programmable array) can effectively make up for this deficiency. The author designed a real-time video codec system based on DSP, which uses the latest high-performance and low-power TMS320VC55x series DSP chip TMS320VC5509 of TI (Texas Instruments) to perform video bidirectional codec operations. However, if DSP also undertakes the work of video input and output, the real-time performance of video codec operations will not be guaranteed. Therefore, Altera's CPLD chip EP1K50 is used as the buffer and control of video input and output. The communication between DSP and CPLD adopts McBSP serial port (multi-channel buffered serial port) DMA mode.
1 McBSP hardware interface and timing analysis
TMS320VC5509 is the third generation of high-performance and low-power DSP chip produced by TI. It has three McBSP serial ports. McBSP serial ports are functional extensions based on standard synchronous serial ports, providing a powerful synchronous serial port communication mechanism with a speed of up to 100Mbit/s. It has the following features:
· Full-duplex communication;
· Double-buffered transmit registers and triple-buffered receive registers, allowing continuous data stream transmission;
· Provide independent frame synchronization pulses and clock signals for data transmission and reception;
· Able to send interrupts to the CPU and send event signals to the DMA controller;
· There are 128 channels for transmission and reception respectively, which can allow or block the transmission of a certain channel;
· The data length can be 8, 12, 16, 20, 24, 32;
· Provides A-law and μ-law compression and expansion;
· Programmability of internal clock and frame synchronization signals;
· Direct interface with T1/E1, SPI, AC97, I2S, etc.
2 CPLD internal structure design
The data input channel is composed of the video sampling chip SAA7114H, CPLD and the McBSP serial port of C5509. After the video sampling data comes out of SAA7114H, it is buffered in the internal input FIFO (first-in, first-out queue) of CPLD. Since McBSP is serial, parallel-to-serial conversion and serial output must be performed inside CPLD, and a synchronous clock must be generated for the McBSP serial port.
The data output channel is composed of the McBSP serial port, CPLD and LCD (liquid crystal) controller. The decoded video data enters the CPLD serially through the McBSP. After the internal serial-to-parallel conversion, it is sent to the internal output FIFO for temporary buffering, and then enters the external LCD controller.
Previous article:Interface Circuit Design of FT245BM
Next article:Function and Application of USB Interface Chip FT245BM
- Popular Resources
- Popular amplifiers
- High signal-to-noise ratio MEMS microphone drives artificial intelligence interaction
- Advantages of using a differential-to-single-ended RF amplifier in a transmit signal chain design
- ON Semiconductor CEO Appears at Munich Electronica Show and Launches Treo Platform
- ON Semiconductor Launches Industry-Leading Analog and Mixed-Signal Platform
- Analog Devices ADAQ7767-1 μModule DAQ Solution for Rapid Development of Precision Data Acquisition Systems Now Available at Mouser
- Domestic high-precision, high-speed ADC chips are on the rise
- Microcontrollers that combine Hi-Fi, intelligence and USB multi-channel features – ushering in a new era of digital audio
- Using capacitive PGA, Naxin Micro launches high-precision multi-channel 24/16-bit Δ-Σ ADC
- Fully Differential Amplifier Provides High Voltage, Low Noise Signals for Precision Data Acquisition Signal Chain
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Ek314 How to upgrade Ubuntu 12.04 to 14.04?
- Embedded SBC plays AI reasoning
- dsp28335 SCI Summary
- Why are PCBs mostly green?
- Class AB amplifiers are replaced by Class D amplifiers
- What kind of operation circuit is U2?
- Those who want to learn ROS system should read this (video teaching materials are updated continuously...)
- A large number of books have been released after graduation, including C/C++, Linux, algorithms, and other books. They are on sale now. Only 3 days left
- IWR1642Boost people counting DEMO program operation process
- I would like to ask the experts to introduce the generation of 2HZ in detail. Now the buzzer circuit 2HZ does not work! ! ! ! ! !