I'm trying to generate EAV/SAV codes with 720p analog on the ADV7441A. I am getting FF 00 10 10 in the data stream
I should be seeing FF 00 00 XY for the preamble. What am I missing ?
What output mode are you using? Are you repeating EAV/SAV codes on both components or is it alternating luma chroma (that's what it looks like). What value are you writing to address 0x7B in the User map?
Here are my settings :
0x03, 0x15, // 24-bit output dup AV codes
0x04, 0x86, // Select ITU-R BT.656 output mode
0x05, 0x01, // Prim_Mode = 720P60
0x06, 0x0A, // VID_STD = CP HD/SD
0x1D, 0x40, // Disable TRI_LLC
0x3C, 0xA8, // SOG level for attenuated sync
0x47, 0x0A, // Enable automatic PLL_Qpump and VCO Range // FIX_ME this is reserved ?
0x68, 0xF2, // Auto CSC, RGB out
0x67, 0x03, // Force YCrCb input (709 color space)
// 0x7B, 0x0C, // Data during blank, NO AV CODES
// 0x81, 0xC0, // Disable AV codes
0x7B, 0x0E, // Data during blank, Insert AV codes in stream normal polarity
0x81, 0xD0, // Enable AV codes for auto graphics mode
0x31, 0x02, // NEWAVMODE = 0
0xF4, 0x1F, // Medium low drive strength, data only
0xB7, 0x17, // ADI recommended write
0x91, 0x10, // Progressive mode
0xB3, 0x41, // Maximum free run thresholds - as loose as possible // FIX_ME this is a read only reg !
0xBF, 0x10, // Do not insert Blue on free run
0x7C, 0x00, // HS and VS start/end to standard values
0x7D, 0x00, //
0x7E, 0x00, //
0x7F, 0x00, //
0x6C, 0x10, // Clamp all inputs at 0
0x85, 0xE9, // Manual Sep HS & VS, pos polarity !!!!!!NEW
0x8B, 0x47, // TRY!!
0x8C, 0xFF, // TRY!!
0x34, 0x00, // HS Begin & HS End MSBs
0x35, 0x00, // HS Begin LSBs
0x36, 0x20, // HS End LSBs
0xB5, 0x08, // Disable sync deglitch filters, will prevent narrow HS from locking
and thanks for looking at this
In register 0x7B, bit 0-- have you tried setting that to 1? It's not clear to me how you are positioning HS/VS/DE which will drive the AV codes... do those synchs look right (even if you don't use them)?
For reference here is a script similar to what you are trying to do but with EAV/SAV codes turned off. I suggest starting with this and just changing 0x7B and the duplicate AV codes bit:
Retrieving data ...