Texas Instruments TVP5158 manual Setup DaVinci HD Video / Audio Drivers

Page 21

www.ti.com

TVP5158EVM Evaluation Procedures

7.2.2.2Setup DaVinci HD Video / Audio Drivers

Once the DaVinci HD EVM boot has completed, the login: prompt appears at the terminal. Copy and paste the Linux commands below to set up the video capture and and audio driver software. In place of <program_directory>, insert the directory path where the driver files are stored.

root

cd <program_directory>

insmod cmemk.ko phys_start=0x87800000 phys_end=0x8ba00000 pools=1x1000

./mapdmaq-hd insmod drv.ko

mknod /dev/dev_i2c c 251 0 mknod /dev/dev_dma c 250 0

7.2.2.3Start VCC Application (Optional – Provides GUI Interface for TVP5158)

1.Double-click the TVP5158EVM Software icon on the Windows desktop to start the VCC application.

2.The VCC Configuration dialog box appears (see Figure 8). Set THS8200 device family to NOT USED. Click OK to continue.

3.The Cascaded Devices dialog box appears (see Figure 9). Click OK to continue. If a message appears indicating that the USB device was not found (see Figure 10), disconnect the USB cable, wait three seconds, and reconnect the USB cable.

NOTE: If a second TVP5158EVM is used for cascade operation select "2 Devices Cascaded" and I2C slave addresses 0xB0 and 0xB2.

4.The VCC main window appears (see Figure 12).

5.Click the Tools > System Initialization menu item. The System Initialization dialog box appears (see Figure 13).

6. Click the Browse… button. The Open dialog box appears (see Figure 14). Double-click the file TVP5158EVM_DaVinci_HD_Setup.CMD

Figure 14. Browse to Command File

The dataset descriptions table should now appear (see Figure 15).

SLEU108 –November 2009

TVP5158 Evaluation Module

21

Submit Documentation Feedback

 

 

Copyright © 2009, Texas Instruments Incorporated

Image 21
Contents Users Guide Submit Documentation Feedback Evaluation Using the DaVinci HD EVM List of Figures List of Tables Notational Conventions Functional OverviewAnalog Video/Audio Outputs Analog Video/Audio InputsDigital Video/Audio Outputs to DaVinci HD EVM I2C Configuration OptionsDigital Video/Audio Cascade Output/Input Test Points and JumpersSystem Level Description Required Hardware and Equipment Setup for TVP5158EVM Stand-Alone ConfigurationJumper Function Setting Comment Setup for TVP5158EVM with DaVinci HD EVMAdditional Setup When DSP Processes Video and Audio Additional Setup when DSP Processes Video OnlyJumper Settings with DaVinci HD EVM Hardware Modifcation for I2S Audio to DM6467Jumper Settings for PC USB Interface as TVP5158 I2C Master Jumper Settings for DaVinci HD EVM as TVP5158 I2C MasterTVP5158EVM Software Setup Wizard Jumper Settings for a Cascaded TVP5158EVMSelect Installation Folder Installation Complete TVP5158EVM Evaluation Procedures Specifying Cascaded Devices Setting DM6467 ARM and DDR2 Memory Clock Rates Evaluation Using the DaVinci HD EVMRecommended DM6467 Clock Frequencies ARM Clock 675 MHz DDR2 Memory Clock 324 MHzDaVinci HD EVM Boot Setup DaVinci HD Video / Audio Drivers System Initialization for Line-Interleaved Modes Mcviptest Demo Application System Initialization for Pixel Interleave Modes Evaluation of Pixel-Interleaved Digital Video Output ModesVCC Main Window Menu ContentsRegister Map Editor VCC Main Menu SummaryVCC Register Map Editor Controls Property SheetsProperty Sheet Controls Control DefinitionVideo Decoder Select and Write Enables Editing Tools vs Video Decoder Write Enables Example TVP5158 Property PagesEditing Tool Reads From Writes To Writes What VCC Software in Depth VCC Software in Depth TVP5158 Noise Reduction and Auto Contrast Property VCC Software in Depth TDM I2S Audio Data Configuration Troubleshooting Setup and General Issues Troubleshooting GuideTroubleshooting with THS8200 and CompositeVideo Output Symptom Cause SolutionTroubleshooting I2C Connections and Cascaded EVMs Troubleshooting with DM6467 DaVinci HD EVMWhen DSP video/audio driver is I2C master for TVP5158 When cascading two TVP5158EVMs togetherTVP5158 Video Format Property THS8200 Input Controls / Status Property Video Input Schematics 1Audio Schematics 2TVP5158 Misc Schematics 3Schematics 4 Video OUTDavinci HD Schematics 6USB I2C Schematics 7Main Power Schematics 8Important Notice

TVP5158 specifications

The Texas Instruments TVP5158 is a highly versatile and efficient video decoder designed for a range of video processing applications. It serves as an excellent solution for converting analog video signals into digital formats for further processing. The device is commonly utilized in surveillance systems, video conferencing equipment, and various multimedia applications where reliable and high-quality video output is necessary.

One of the primary features of the TVP5158 is its ability to accept multiple video formats, including NTSC, PAL, and SECAM. This flexibility makes it suitable for a global market where different standards are employed. The device can handle up to four composite video inputs, allowing users to connect multiple sources and switch between them as needed seamlessly. The integrated multiplexing capability makes the TVP5158 an excellent choice for applications that require real-time processing of various video sources.

The TVP5158 also incorporates advanced noise reduction technology, which enhances the quality of the output video by minimizing artifacts and disturbances that may affect the viewing experience. This feature is particularly beneficial in situations where video signals may be degraded due to environmental factors. Additionally, the chip includes capabilities for automatic gain control, which helps adjust the signal levels to maintain consistent output quality.

Another significant characteristic of the TVP5158 is its built-in color space conversion. The device can transform the incoming video signals from YCbCr to RGB or vice versa, ensuring compatibility with a wide range of display systems and digital video formats. This feature is essential for applications that work with various video standards and require high fidelity in color representation.

The TVP5158 is designed for low power consumption, making it ideal for battery-operated devices and systems where energy efficiency is crucial. Its small footprint and integration capabilities also allow for easier design and implementation within existing systems without requiring extensive space or additional components.

In summary, the Texas Instruments TVP5158 is a robust video decoder that offers a rich set of features, including support for multiple video formats, advanced noise reduction, automatic gain control, and color space conversion. Its low power requirements and compact design make it an attractive choice for a variety of applications, positioning it as a reliable solution for modern video processing needs.