Tong qingping, Liu duoren, Xi'an University of Electronic Science and Technology
Introduction
Based on the ARM920T kernel, the arm 203 microprocessor is developed by Samsung. It has a master frequency of up to MHz and is suitable for information appliance, smart phone, tablet, handheld devices, mobile terminals, and other fields. The integrated LCD controller is universal and can be used with most LCD disp
The time sequence of tft LCD is complex. Therefore, the S3C2440 involves many tft LCD registers. You just need to carefully compare the LCD manual to set the corresponding 2440 register. Tft L
frequency:
For tft LCD, the formula for calculating the vclk provided by S3C2440 is:Vclk = hclk/(clkval + 1) * 2)
We can conclude that:Clkval = hclk/(vclk * 2)-1
My hclk is 100 MHz (CPU runs at 400 MHz, clkdiv_val is set to 5, fclk: hclk: pclk =), and vclk uses the 6.4 m recommended on the screen:Clkval = 100000000/(6400000*2)-1 = 6.8
Select the nearest integer 7 and write it into lcdcon1: 17-8.
(Vclk is
TFT-4238 liquid crystal and the original TFT-6862 difference. The clock and Signal Polarity of this screen is low, and the bit14 of the LCD _pol register (0x3104 0008) needs to be modified to 1. [ARCH/ARM/mach-lpc32xx/clocks-lpc32xx.c] 1623 TMP = ~ (0xf800001f); 1624 TMP = ~ Clcdc_lcdtiming2_bcd; 1625 TMP | = (div 0x1f); 1626 TMP | = (div> 5) 0x1f) TFT
Show size (display size)Refers to the diagonal length of the actual viewable area, in inches, or inch (1 inches = 2.54 centimeters).Aspect ratio (aspect ratio)Refers to the ratio of the length and width of the visible area of the TFT-LCD, also called the screen scale. The main aspect ratio has 4:3,5:4,16:10,16:9 four kinds. A 16:9 ratio is closer to the golden section than the human eye is more comfortable
The LCD and CPU cables are divided into control lines and data lines. The control lines are generally based on the SPI protocol. We initialize the LCD registers through this. Under the premise that the output format of the main chip is fixed, LCD adjustment is the rest of the initial registers. Generally, we need to ca
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.