AnsweredAssumed Answered

Simple EPPI setup assistance needed

Question asked by RichardJ on Jun 22, 2011
Latest reply on Aug 22, 2011 by RichardJ

I'm a little puzzled having tried a simple EPPI setup and a few experiments.

For transmit mode with BLANKGEN, internal FS and clock generation enabled:

  • What determines interlaced / non-interlaced mode?

          ITU_TYPE is for RX mode.

  • Why would the following setup result in 101 lines per frame?

          70 active lines, 31 non-active.

  • Why do I get HSYNC low for 64 pixels,  high for 36 pixels?


*pEPPI_FRAME       = 100                 // lines per frame.
*pEPPI_LINE             = 100                // samples per line
*pEPPI_HDELAY     = 40                   // clock cycles delay after asserting FS1
*pEPPI_HCOUNT     = 60                  // samples to write out per line
*pEPPI_VDELAY      = 30                   // lines to wait after start of  new frame

*pEPPI_VCOUNT     = 70                   // lines to write out after VDELAY

*pEPPIx_FS1W_HBL  = (40-4-4)       // 40 less EAV and SAV
*pEPPIx_FS1P_AVPL = 60                 // Active Video Samples per Line
*pEPPIx_FS2W_LVB  = 30                 // Lines of Vertical Blanking
*pEPPIx_FS2P_LAVF = 70                 // Active Video Samples per Line

 

*pEPPI_CONTROL=
   EPPI_EN                // 1   = enable
| EPPI_DIR               // 1   = transmit
| FS_CFG_2FS         // 10  = 2FS.

| BLANKGEN          // 1   = ITU Output, Int. Blanking enabled
| ICLKGEN               // 1   = Clock Generation enabled
| IFSGEN                  // 1   = FS Generation enabled
| DLEN_16               // 100 = 16-bits
| PACKEN                // 1   = 32 bit DMA -> two 16-bit pixels
| FIFO_RWM_75    // 01  = regular at 75%
| FIFO_UWM_25    // 11  = urgent AT 25%

 

//so *pEPPI_CONTROL = 0x681207AF

Outcomes