NOTICE: The Processors Wiki will End-of-Life in December of 2020. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

Multimedia Daughterboard for OMAP3EVM

From Texas Instruments Wiki
Jump to: navigation, search
Multimedia Daughter Card.GIF


Block Diagram[edit]

Multimedia Daughterboard Block Diagram.jpg

Functionality[edit]

Video Encode[edit]

For video capture applications, the OMAP3 Multimedia Daughterboard uses a TI TVP5146 Digital Video Decoder, capable of decoding NTSC/PAL/SECAM signals. Video can be input either through the S-video connector or an RCA composite connector. The output of the TVP5146 is connected to the camera interface (CAM) of OMAP3, and the device is controlled by either I2C2 or I2C3 (default is I2C2)

Board Configuration[edit]

Here are board configuration details in order to proper enable and use the TVP5146 for video capture

1. I2C Selection. You can use either I2C2 or I2C3 to control the TVP5146 via resistor population.

I2C2 - populate R83 and R63

I2C3 - populate R82 and R64


TI PSP software and associated patches use I2C2 as the default.


2. Populate either R57 or R69 to determine the I2C address for the TVP5146.

R57 for address = 0xBA (default)

R69 for address = 0xB8


TI PSP software and associated patches use address 0xBA as the default.

3. Enable/disable the on board buffers to properly configure the board to use the TVP5146

Set OMAP3 GPIO134 to 0 to enable the level shifters for the OMAP3 CAM data bus. Set OMAP3 GPIO136 to 1 to disable the level shifters for the other devices connected to the OMAP3 CAM interface.

Operation[edit]

TVP5146 Power Down signal (PWDN) is controlled by GPIO_57 of OMAP3 TVP5146 Reset signal (RESETB) is controlled by both OMAP3 SYS_nRESPWRON and GPIO58. The TVP5146 is reset during a POR, and an additional hardware reset can be produced using GPIO_58 of OMAP3. TVP5146 interrupt request (INTREQ) is sent to OMAP3 via GPIO_55 TVP5146 FID/GPIO is connected to GPIO139 of OMAP3

All signals are properly level shifted to accomodate OMAP3 1.8V I/O and TVP5146 3.3V I/O.

Video Input into the TVP5146 can be achieved through the S-Video input connector (DN1), the composite connector J1, or through the component connector J3.


The 10-bit output of the TVP5146 is connected to D0-9 of the CAM interface on OMAP3.

Connections[edit]

The Multimedia Daughtercard provides 3 methods of input: Component, Composite, and S-Video.

USB Host[edit]

An SMSC USB332x USB PHY is connected to the High Speed Host Port 2 on OMAP3. OMAP3's EHCI controller can be used to communicate over the high speed ULPI bus to the USB PHY. A full size USB A connected is provided for peripheral connections.

Board Configuration[edit]

No hardware configuration is needed.

Operation[edit]

Use OMAP3 USB Host Port 2 to communicate with the SMSC USB PHY.

Reset the PHY via GPIO_135. A reset will also occur during a power-on reset event

5V VBUS is always enabled and is provided with an on-board power switch. It can provide up to 500mA of current. Fault monitoring is provided via GPIO_62.

Connections[edit]

Full sized A connector is provided for peripheral connections.

Expansion pass through[edit]

The expansion connectors that are provided on the OMAP3EVM main board are also present on the Multimedia Daughterboard with the same pinout. Note that if you use the USB Host Port2 on the pass through connectors, you must de-populate the 0 ohm resistors going to the SMSC USB PHY. See note on page 10 of the schematic for more information.

Board Information[edit]

Schematics[edit]

Board Schematic

Board Layout[edit]

Board Layout

Get Allegro Free Viewer

Component information[edit]

USB Power switch

High Speed USB PHY

TVP5146 Video Decoder

Software Patches[edit]

This patch should be applied to PSP 1.0.2 release to enable video encode and USB EHCI with the OMAP3EVM Multimedia Daughtercard.

Please refer to the documentation that comes with the PSP release (Addendum_Daughtercard_1_0_2.pdf) found in the /docs directory, for information on how to build the code to support video encoding. There is also a sample application (saMmapLoopback) available with the release that performs video encode (via composite in or S-Video) and displays it on the LCD of the OMAP3EVM.


File:PSP-1.0.2-mdc.zip: Software Patch to PSP 1.0.2 release for video in and USB EHCI


Below is a capture application to be used with the video encode patch above. This app can capture video input to a raw video file. Instructions for running the app are provided in readme.txt. A link to a YUV video player is also provided in order to play the captured video in Windows.


File:Capture.zip: Capture application for TVP5146


Support for USB EHCI additionally requires a change to u-boot. Patch is available below. To rebuild, perform the following two commands:

#make omap3evm_config 
#make

Reflash u-boot onto your board according to the instructions in the PSP documentation. Reflashing will delete your bootargs so be sure you know these as you will have to reenter them after reflashing.

Before powering up your board, attach a powered hub to the USB connector of the Customer Daughtercard (currently the code will only work when hub is connected before booting). After booting, you can connect any typical peripheral to the hub (mouse, flash drive), and use it normally.


File:PSP-1.0.2-mdc-u-boot.zip: u-boot patch for 1.0.2 release

E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article Multimedia Daughterboard for OMAP3EVM here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article Multimedia Daughterboard for OMAP3EVM here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article Multimedia Daughterboard for OMAP3EVM here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article Multimedia Daughterboard for OMAP3EVM here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article Multimedia Daughterboard for OMAP3EVM here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article Multimedia Daughterboard for OMAP3EVM here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article Multimedia Daughterboard for OMAP3EVM here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article Multimedia Daughterboard for OMAP3EVM here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article Multimedia Daughterboard for OMAP3EVM here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity