博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

Video Timing Controller v6.1软件调试记录

Posted on 2017-09-19 17:25  沉默改良者  阅读(2276)  评论(0编辑  收藏  举报

Video Timing Controller v6.1软件调试记录

GUI配置:

 

1.
case XVTC_VMODE_PAL: //576i@50
    {
        TimingPtr->Interlaced = 1;
        // Horizontal Timing
        TimingPtr->HActiveVideo  = 720;
        TimingPtr->HFrontPorch   = 12;
        TimingPtr->HSyncWidth    = 63;
        TimingPtr->HBackPorch    = 69;
        TimingPtr->HSyncPolarity = 0;

         // Vertical Timing
        TimingPtr->VActiveVideo  = 288;
        TimingPtr->V0FrontPorch   = 2;
        TimingPtr->V0SyncWidth    = 3;
        TimingPtr->V0BackPorch    = 19;

        TimingPtr->V1FrontPorch   = 2;
        TimingPtr->V1SyncWidth    = 3;
        TimingPtr->V1BackPorch    = 20;

        TimingPtr->VSyncPolarity = 0;

        break;
    }

VTC的基地址为:0x44A10000

 

 

0x44A10060

 

 GUI相符

0x44A10070

GUI相符

0x44A10078

GUI相符

0x44A1007A

GUI相符

 

GUI相符

0x44A10074

GUI相符

0x44A10080

GUI相符

GUI相符

0x44A1007C

GUI相符

GUI相符

0x44A10084

GUI相符

GUI相符

 

GUI:不相符 312

0x44A1008C

GUI:不相符 289 292

 

GUI相符

GUI:不相符(732732

Video_out 输出ready信号正常,tpg能正常输出信号。

修改了XVtc_Timing 中的成员变量HSyncPolarityVSyncPolarityInterlaced的值,在ila窗口中可以抓取到

可以看出,video_out的状态为186,即已经开始正常工作了。

sdi_bridge封装成ip添加入block design中,接上sdi_bridge之后,sdi_bridge能正常输出数据