About the hardware interface and timing issues of Linux framebuffer and s3c2410

Publisher:haoyingLatest update time:2016-12-03 Source: eefocusKeywords:linux Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

The formula of pixel clock:
VCLK = HCLK/[(CLKVAL+1)X2].
In this system, the value of HCLK is 100M HZ.
The following is the relationship between several parameters and the s3c2410fb_display data structure:
VBPD is the vertical back porch, which indicates the number of invalid rows after the vertical synchronization signal at the beginning of a frame of image, corresponding to upper_margin;
VFBD is the vertical front porch, which indicates the number of invalid rows before the vertical synchronization signal after the end of a frame of image, corresponding to lower_margin;
VSPW is the vertical sync pulse width, which indicates the width of the vertical synchronization pulse, calculated by the number of rows, corresponding to vsync_len;
HBPD is the horizontal back porch, which indicates the number of VCLKs from the falling edge of the horizontal synchronization signal to the beginning of valid data of a row, corresponding to left_margin;
HFPD is the horizontal front porth, which indicates the number of VCLKs from the end of valid data of a row to the beginning of the next horizontal synchronization signal, corresponding to right_margin;
HSPW is the horizontal sync pulse width represents the width of the horizontal synchronization signal, calculated by VCLK, corresponding to hsync_len;
according to the data sheet of LQ61D133, we can get the following data:
  left_margin = 48
  right_margin = 16
  hsync_len = 96
  upper_margin = 32
  lower_margin = 11
  vsync_len = 2
  pixclock = 39714
lcdcon1 : 17~8 CLKVAL 6~5 select the display mode 4~1 select the bpp mode 0 enable output
lcdcon2 : 31~24 VBPD 23~14 LINEVAL 13~6 VFPD 5~0 VSPW
lcdcon3 : 25~19 HBPD 18~8 HOZVAL 7~0 HFPD
lcdcon4 : 7~0 HSPW
lcdcon5 :

Keywords:linux Reference address:About the hardware interface and timing issues of Linux framebuffer and s3c2410

Previous article:Linux bootloader full explanation (ARM S3C2410)
Next article:How to count the number of interrupt sources in the interrupt controller of s3c2410

Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号