AnsweredAssumed Answered

ADV7393 color instability

Question asked by Bivin on Jul 2, 2018
Latest reply on Jul 4, 2018 by Bivin

Following I2C setting is done on adv7393 to obtain color output for my test pattern.   
I2C clock is 100KHz.
 
1)Fsc Registers are not set.
2)Following resgisters are set one after another.
 
                    if (word_cnt = 0) then
                        instruct_byte <= sw_rst_reg;  --x"17"
                        dat_byte       <= sw_rst_data;--x"02"  
                    elsif (word_cnt = 1) then
                        instruct_byte <= power_mode_reg;     --x"00"
                        dat_byte       <= power_mode_data;    --x"1C"
                    elsif (word_cnt = 2) then  
                        instruct_byte <= sel_pal_ntsc_reg;     --x"80"
                        dat_byte       <= sel_pal_ntsc_data;--x"11"  
                    elsif (word_cnt = 3) then  
                        instruct_byte <= sd_mode2_reg;         --x"82"    
                        dat_byte       <= sd_mode2_data;    --x"CB"                    
                    elsif (word_cnt = 4)  then
                        instruct_byte <= Autodetect_reg;    --x"87";
                        dat_byte       <= Autodetect_data;    --x"20";  
                    elsif (word_cnt = 5) then  
                       instruct_byte <= sd_mode1_reg;          --x"88"
                        dat_byte       <= sd_mode1_data;    --x"08"
                    elsif (word_cnt = 6) then  
                        instruct_byte <= TP7_reg;             --x"84" TP 40 for Test Pattern ON, 00 otherwise
                        dat_byte       <= TP7_data;            --x"00"
                    elsif (word_cnt = 7) then  
                        instruct_byte <= sd_timing0_reg;     --x"8A"
                        dat_byte       <= sd_timing0_data;  --x"0A"  Mode 1 slave
                    elsif (word_cnt = 8) then  
                        instruct_byte <= sd_input_mode_reg;    --x"01";
                        dat_byte       <= sd_input_mode_data;--x"00";        
                        
I'm feeding data to data pins of adv7393 in a incremental pattern horizontally.
                        
I'm not getting any proper color patterns. What i observe is attached below as images.


1)avertv_1_testpat_scroll.jpg shows the inbuilt test pattern without enabling color by setting register x"82" with "C9" (in avertv). pattern is scrolling in avertv.


2)avertv_2_testpat_scroll_coloron.jpg shows the inbuilt test pattern with enabling color by setting register x"82" with "CB" (in avertv). pattern is scrolling in avertv.


3)avertv_3_ourpatt_scroll_coloron.jpg shows my test pattern with enabling color by setting register x"82" with "CB" (in avertv). pattern is not scrolling in avertv.


4)avertv_4_ourpatt_noscroll_coloroff.jpg shows my test pattern without enabling color by setting register x"82" with "C9" (in avertv). pattern is not scrolling in avertv.


5)monitor_1_testpat_no_scroll.jpg shows inbuilt test pattern without enabling color by setting register x"82" with "C9" (in monitor). pattern is not scrolling in monitor.


6)monitor_2_testpat_no_scroll_color_1.jpg and monitor_2_testpat_no_scroll_color_2.jpg shows the inbuilt test pattern with enabling color by setting register x"82" with "CB" (in monitor). pattern is not stable and becomes monitor_3_testpat_no_scroll_colorfail.jpg after few seconds.


7)monitor_4_ourpat_no_scroll_coloron_fail.jpg shows my test pattern with enabling color by setting register x"82" with "CB" (in monitor). pattern is not scrolling and don't have color.   


8)monitor_5_ourpat_no_scroll_coloroff.jpg shows my test pattern without enabling color by setting register x"82" with "C9" (in monitor). pattern is not scrolling.


9)monitor_6_autopat_poweron_coloron.jpg shows inbuilt testpattern with color enabled by setting register x"82" with "CB" (in monitor) before soft powerdown.


10)monitor_7_autopat_poweroff_coloron.jpg shows monitor when soft powerdown is applied.Before this register x"82" is set with data "CB" (color on).  


11)monitor_8_autopat_poweron_coloron_1.jpg shows monitor after coming out of soft power down mode. Color appears on pattern for few seconds and again comes back to monitor_6_autopat_poweron_coloron.jpg (in monitor).
 
Kindly let me know why this is happening. What are the register setting need to done in ADV7393 with PAL output with color. Is there any sequence need to be followed to write registers. If i need to switch on and off test pattern do i need to write multiple registers or just the register to turn on it.
  

Attachments

Outcomes