Some debugging questions and experiences about s5pv210 sate210 VGA (by gooogleman)

Source: Internet
Author: User

 

My sate210 VGA has achieved a resolution of 1024*768 for a long time, But Bt's 800*600 is hard to find the appropriate parameters. I thought those parameters didn't move, it's just a matter of modifying the width and height. The result is very bad. Later, the team engineer wrote an LCD and VGA wince debugging assistant. After a few times, it was still difficult to debug. This morning, I got up and tried the VGA display resolution of 1280*720. I found that the VGA of s5pv210 is very smooth in the case of 1024*768, so it is not a problem to think that 210 supports 1280*720. At first, the display was striped. After the LCD and VGA software were adjusted, the display images were also very clear and delicate, but there was a depressing problem that could not be solved, that is, my 19
The inch LCD display is incomplete. There is a black edge in the zip code that cannot be displayed. The width of the Black edge is close to 10 cm. Now there is no time for debugging. I will go to work first. Wait and think about what is going on. Unlike LCD, VGA monitors have their own fixed parameters and only have one frame rate requirement. It seems that this can only be tried slowly.

// 2011.11.29 goooogleman
# If 1
Ldi_inf (_ T ("[LDI: INF] output device type [% d] = LDI _ (smrp) ldi_vga1024_rgb \ n \ r"), g_moduletype ));
Pdeviceinfo-> videooutmode = disp_vidout_rgbif;
Pdeviceinfo-> rgbinfo. rgboutmode = disp_16bit_rgb565_p;
Pdeviceinfo-> rgbinfo. mipidsien = mipi_dsi_dis;
Pdeviceinfo-> rgbinfo. rgbevenorder = rgb_order_e_mask; // rgb_order_e_rgb;
Pdeviceinfo-> rgbinfo. rgboddorder = rgb_order_o_mask; // rgb_order_o_rgb;
// Pdeviceinfo-> rgbinfo. uiwidth = 1024;
// Pdeviceinfo-> rgbinfo. uiheight = 768;
Pdeviceinfo-& gt; rgbinfo. uiwidth = 1280;
Pdeviceinfo-& gt; rgbinfo. uiheight = 720;
Pdeviceinfo-> rgbinfo. vbpd_value = 23;
Pdeviceinfo-> rgbinfo. vfpd_value = 1;
Pdeviceinfo-> rgbinfo. vspw_value = 4;
Pdeviceinfo-> rgbinfo. hbpd_value = 210;
Pdeviceinfo-> rgbinfo. hfpd_value = 75;
Pdeviceinfo-> rgbinfo. hspw_value = 61;
Pdeviceinfo-> rgbinfo. vclk_polarity = ivclk_rise_edge;
Pdeviceinfo-> rgbinfo. hsync_polarity = ihsync_low_active;
Pdeviceinfo-> rgbinfo. vsync_polarity = ivsync_low_active;
Pdeviceinfo-> rgbinfo. vden_polarity = ivden_high_active;
Pdeviceinfo-> rgbinfo. vclk_source = clksel_f_lcdclk;
Pdeviceinfo-> rgbinfo. vclk_direction = clkdir_divided;
Pdeviceinfo-> rgbinfo. frame_rate = 60; // vclk> 24.5 MHz (max 35.7 MHz)
Pdeviceinfo-> rgbinfo. vclk_gate = vclk_normal;
Pdeviceinfo-> rgbinfo. rgbskipen = rgb_skip_disable;
Pdeviceinfo-> rgbinfo. rgbdummy = rgb_dummy_disable;
Pdeviceinfo-> rgbinfo. pixelcompensation = pixel_comp_disable;
 
# Endif

 

The LCD and VGA adjustment software can be changed to the following parameters to significantly improve. We hope we can run 1280*720 .!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.