Post Go back to editing

ADV7393 proper output not coming.

Category: Software
Product Number: ADV7393

Hii,
I am using ADV7393 encoder to convert RGB565 to analog out on STM32MP257FAK3 custom board.
I am using RGB565 input which is 16 bit RGB in SD mode.
The resolution I am setting is 720x288 progressive with these timings:

mode->clock = 27000; 
mode->hdisplay = 720;
mode->hsync_start = 732;
mode->hsync_end = 795;
mode->htotal = 864;
mode->vdisplay = 288; 
mode->vsync_start = 289; 
mode->vsync_end = 292; 
mode->vtotal = 312; 

The output coming is 


My register settings are:
=== ADV7393 Full Register Dump ===
--- Basic Mode Registers ---
reg0x00 = 0x1c
reg0x01 = 0x30
reg0x02 = 0x00
reg0x03 = 0x03
reg0x04 = 0xf0
reg0x05 = 0x4e
reg0x06 = 0x0e
reg0x07 = 0x24
reg0x08 = 0x92
reg0x09 = 0x7c
reg0x0a = 0x00
reg0x0b = 0x00
reg0x0c = 0x00
reg0x0d = 0x00
reg0x0e = 0x00
reg0x0f = 0x00
--- Status Registers ---
reg0x10 = 0x00
reg0x11 = 0x1b
reg0x12 = 0xa7
reg0x13 = 0x00
reg0x14 = 0x00
reg0x15 = 0x20
reg0x16 = 0x5f
reg0x17 = 0x00
--- HD Mode Registers ---
reg0x30 = 0x3c
reg0x31 = 0x01
reg0x32 = 0x00
reg0x33 = 0xec
reg0x34 = 0x08
reg0x35 = 0x00
reg0x36 = 0xa0
reg0x37 = 0x80
--- SD Mode Registers ---
reg0x80 = 0x65
reg0x81 = 0x00
reg0x82 = 0xc3
reg0x83 = 0x00
reg0x84 = 0x8a
reg0x85 = 0x00
reg0x86 = 0x00
reg0x87 = 0x80
reg0x88 = 0x10
reg0x89 = 0x00
reg0x8a = 0x0c
reg0x8b = 0x00
reg0x8c = 0xcb
reg0x8d = 0x8a
reg0x8e = 0x09
reg0x8f = 0x2a
--- SD Timing & Misc ---
reg0x90 = 0x00
reg0x91 = 0x00
reg0x92 = 0x00
reg0x93 = 0x00
reg0x94 = 0x00
reg0x95 = 0x00
reg0x96 = 0x00
reg0x97 = 0x00
reg0x98 = 0x00
reg0x99 = 0x10
reg0x9a = 0x00
reg0x9b = 0x00
reg0x9c = 0x00
reg0x9d = 0x00
reg0x9e = 0x00
reg0x9f = 0x00
--- Hue & Brightness ---
reg0xa0 = 0x80
reg0xa1 = 0x00
reg0xa2 = 0x00
reg0xa3 = 0x00
reg0xa4 = 0x00
reg0xa5 = 0x00

I have also tried Table 93, 94 and 95.
Can you check this data and let me know what is the problem and how to resolve it and make it work. I can also go for 720x576 if needed interlaced or progressive.

Thread Notes

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.