This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to use THS8200 to provide a 720P output on DM648 EVM?

Other Parts Discussed in Thread: THS8200

Hi, everyone,

I have to use THS8200 on my DM648 EVM to give a 720P output in my project, and I'm using TI PSP driver.

The thing is I had tried using SAA7105 to output a 480i video successfully, and I just modified the parameters for THS8200.

I could get a FVID_handle and allocate FVID_frame buffers for it. Then I set some data in a frame buffer, and invoked FVID_exchange.

But it ended up no video displaying on TV.

Could anyone drop a few clue about this question?

Thanks.

Kevin.

  • 720p display is part of the sample application HD Loopback found if location <pspdrivers_1_XX_XX>\packages\ti\sdo\pspdrivers\system\dm648\bios\evmDM648\video\sample.

    By default this sample application captures a 1080i 60Hz from TVP7000 and displays the output on THS8200 in 1080i 60Hz.

    You have to change the macro CFG_VIDEO_MODE defined in psp_bios_vport_hd_loopback.c file to MODE_720P_60HZ, recompile the sample application and run it to do a loopback on a 720p 60 Hz video.

    The steps to follow to run this sample application could be found in VPORT user guide section 7.2.1 found @ <pspdrivers_1_XX_XX>\packages\ti\sdo\pspdrivers\drivers\vport\docs\BIOS_VPORT_Driver_UserGuide.pdf

    If you are only interested in display, remove the capture portion from the sample application.

    Let me know if you need any further help on this.

  • Thanks very much! That should help me out.

  • According to the sample program, I have tried coding my one. But the return value from FVID_exchange() is always -10. So what does this value indicate?

    Thanks!

  • Return value of -10 corresponds to IOM return value of IOM_EBADARGS. This means that the argument passed to the exchange function is not valid or is equal to NULL.

    What are you passing to FVID Exchange function? Are you passing a proper FVID_Frame pointer?

  • I think I pass a right FVID_frame pointor to the FVID_exchange, cause' it derives from FVID_dequeue function, and there the return value is 0.

    If I could get the IOM_COMPLETED return value from FVID_exchange(), but couldn't display the video on the terminal, would I say I have outputed the video using 720P format, but the problem exists somewhere else, such as my TV set?

  • Kevin,

    First I suggest you to test 1080i display using the existing sample application and then modify the code to display a 720p video.

    This will separate the EVM setup issue and the software issue.

    Try running the HD compositor sample application which could be found in the same directory as the HD loopback sample application. The steps to follow are also provided in the VPORT user guide.

    The EVM setup for 720p is very similar to that of 1080i display. So you should be able to do the software modification qucikly and test the same.

  • Right. Thanks for your suggestion. I hope I could figure it out.