03-19-2019 02:09 AM - edited 03-19-2019 02:41 AM
Hello,
someone knows the correct parameters to configurate VTC for 1080 i and p 50Hz?
Particularly width and position of hsync and vsync.
Thank you very much.
03-21-2019 03:08 AM - edited 03-21-2019 03:13 AM
I did it. This is the configuration 1080p 50
The attached file is very useful for resolution parameters
tx_VTC_ptr[0x60/4] = (1080<<16)|1920;
tx_VTC_ptr[0x6C/4] = 0x0000003F; //polarity field_id_out (L field 0 H field 1)
tx_VTC_ptr[0x70/4] = 2640;
tx_VTC_ptr[0x74/4] = (1125<<16)|1125;
tx_VTC_ptr[0x78/4] = ((1920+192+88)<<16)|(1920+192); //[12:0] HSYNC_START = HACTIVE+HFRONTPORCH //[28:16] HSYNC_END = HACTIVE+HFRONTPORCH+HSYNCWIDTH
tx_VTC_ptr[0x7C/4] = (1920<<16)|1920;
tx_VTC_ptr[0x80/4] = (1088<<16)|1083;
tx_VTC_ptr[0x84/4] = (1920<<16)|1920;
tx_VTC_ptr[0x88/4] = (1920<<16)|1920;
tx_VTC_ptr[0x8C/4] = (1088<<16)|1083;
tx_VTC_ptr[0x90/4] = (1920<<16)|1920;
tx_VTC_ptr[0x94/4] = (1080<<16)|1920;
03-21-2019 03:08 AM - edited 03-21-2019 03:13 AM
I did it. This is the configuration 1080p 50
The attached file is very useful for resolution parameters
tx_VTC_ptr[0x60/4] = (1080<<16)|1920;
tx_VTC_ptr[0x6C/4] = 0x0000003F; //polarity field_id_out (L field 0 H field 1)
tx_VTC_ptr[0x70/4] = 2640;
tx_VTC_ptr[0x74/4] = (1125<<16)|1125;
tx_VTC_ptr[0x78/4] = ((1920+192+88)<<16)|(1920+192); //[12:0] HSYNC_START = HACTIVE+HFRONTPORCH //[28:16] HSYNC_END = HACTIVE+HFRONTPORCH+HSYNCWIDTH
tx_VTC_ptr[0x7C/4] = (1920<<16)|1920;
tx_VTC_ptr[0x80/4] = (1088<<16)|1083;
tx_VTC_ptr[0x84/4] = (1920<<16)|1920;
tx_VTC_ptr[0x88/4] = (1920<<16)|1920;
tx_VTC_ptr[0x8C/4] = (1088<<16)|1083;
tx_VTC_ptr[0x90/4] = (1920<<16)|1920;
tx_VTC_ptr[0x94/4] = (1080<<16)|1920;
03-21-2019 04:28 AM
Hi @pierlum ,
The video_common driver contains also a lot of video format defined you can use in your application:
03-22-2019 01:55 AM