How to set the register "SDM_SEL" when YC input is configured manually to AIN4(Y) & AIN5(C)? In datasheet it just mentions for AIN2 & AIN3 (0x69[1:0] = 1'b11)?
we are looking into your question.
Please use the :AUTODETECT Y/C IN NTSC/PAL/SECAM, 8 Bit 422 Encoder: script in the ADV7181C_ADV7181C@_ADV7341-VER.3.2c.txt script file as a starting point.
The writes below manually configure Y on Ain2 and C on Ain3:
42 C4 80 ; Enable maual input muxing
42 C3 C2 ; Enable manual input muxing
If you replace these 2 writes with the writes below, the part should be configured for Y on Ain4 and C on Ain5:
42 C3 54 ; Enable manual input muxing
Retrieving data ...