AnsweredAssumed Answered

BF548 PAL/NTSC active filed only

Question asked by CyberSamu on Feb 25, 2011
Latest reply on Feb 28, 2011 by emanuele.cardani

Good morning,

I'm trying to acquire an NTSC active field only and loopback to a TV, but the video is totally out of sync.

In PAL mode everything works fine.

 

This is part of my source code that I use to set the EPPI:

 

NTSC mode:

ADI_DEV_CMD_VALUE_PAIR EppiItuAVOut[] =                                     /* ITU-R 656 NTSC Active video out with BLANKGEN enabled                */
    {
        { ADI_EPPI_CMD_ENABLE_BLANKGEN,                     (void *)TRUE    },  /* Enable BLANKGEN                                                      */
        { ADI_EPPI_CMD_SET_FS1_WIDTH,                       (void *)268     },  /* Horizontal blanking samples per line                                 */
        { ADI_EPPI_CMD_SET_FIELD1_PRE_ACTIVE_DATA_VBLANK,   (void *)17      },  /* Vertical blank before start of Field 1 Active Data                   */
        { ADI_EPPI_CMD_SET_FIELD1_POST_ACTIVE_DATA_VBLANK,  (void *)2       },  /* Vertical blank after the end of Field 1 Active Data                  */
        { ADI_EPPI_CMD_SET_FIELD2_PRE_ACTIVE_DATA_VBLANK,   (void *)17      },  /* Vertical blank before start of Field 2 Active Data                   */
        { ADI_EPPI_CMD_SET_FIELD2_POST_ACTIVE_DATA_VBLANK,  (void *)3       },  /* Vertical blank after the end of Field 2 Active Data                  */
        { ADI_EPPI_CMD_SET_FS1_PERIOD,                      (void *)1440    },  /* Active Video samples per line or Vertical blanking samples per line  */
        { ADI_EPPI_CMD_SET_FIELD1_ACTIVE_DATA_LINES,        (void *)243     },  /* # of Active data lines in Field 1                                    */
        { ADI_EPPI_CMD_SET_FIELD2_ACTIVE_DATA_LINES,        (void *)243     },  /* # of Active data lines in Field 2                                    */
        { ADI_DEV_CMD_END,                                  NULL            }
    };

 

 

PAL mode:

ADI_DEV_CMD_VALUE_PAIR EppiItuAVOut[] =                                     /* ITU-R 656 PAL Active video out with BLANKGEN enabled                 */
    {
        { ADI_EPPI_CMD_ENABLE_BLANKGEN,                     (void *)TRUE    },  /* Enable BLANKGEN                                                      */
        { ADI_EPPI_CMD_SET_FS1_WIDTH,                       (void *)280     },  /* Horizontal blanking samples per line                                 */
        { ADI_EPPI_CMD_SET_FIELD1_PRE_ACTIVE_DATA_VBLANK,   (void *)22      },  /* Vertical blank before start of Field 1 Active Data                   */
        { ADI_EPPI_CMD_SET_FIELD1_POST_ACTIVE_DATA_VBLANK,  (void *)2       },  /* Vertical blank after the end of Field 1 Active Data                  */
        { ADI_EPPI_CMD_SET_FIELD2_PRE_ACTIVE_DATA_VBLANK,   (void *)23      },  /* Vertical blank before start of Field 2 Active Data                   */
        { ADI_EPPI_CMD_SET_FIELD2_POST_ACTIVE_DATA_VBLANK,  (void *)2       },  /* Vertical blank after the end of Field 2 Active Data                  */
        { ADI_EPPI_CMD_SET_FS1_PERIOD,                      (void *)1440    },  /* Active Video samples per line or Vertical blanking samples per line  */
        { ADI_EPPI_CMD_SET_FIELD1_ACTIVE_DATA_LINES,        (void *)288     },  /* # of Active data lines in Field 1                                    */
        { ADI_EPPI_CMD_SET_FIELD2_ACTIVE_DATA_LINES,        (void *)288     },  /* # of Active data lines in Field 2                                    */
        { ADI_DEV_CMD_END,                                  NULL            }
    };

 

 

any hints to solve this issue?

 

The issue is in the BF548 or could be in the ADV7183?

 

Thanks.

Outcomes