你好,游客 登录 注册 搜索
背景:
阅读新闻

S3C6410硬件DISPLAY CONTROLLER(显示控制器)

[日期:2012-05-23] 来源:Linux社区  作者:tianxiawuzhei [字体:大 中 小]

5、VTIME CONTROLLER OPERATION     VTIME 控制器操作

VTIME is mainly divided into two blocks. One is VTIME_RGB_TV for RGB interface, ITU-R601 interface and TV
Encoder Interface timing control. The other is for I80 interface timing control.

VTIME 主要分为两个模块。一个是VTIME_RGB_TV 模块,用于RGB 接口,ITU_R601 接口和TV编码器接口时序控制。另一个是用于I80 接口时序控制的模块。

5.1、RGB Interface

   The VTIME generates the control signals such as, RGB_VSYNC, RGB_HSYNC, RGB_VDEN and RGB_VCLK
signal for RGB interface. These control signals are highly related with the configuration on the VIDTCON0/1/2
registers in the VSFR register. 

   Based on these programmable configurations of the display control registers inVSFR, the VTIME module can generate the programmable control signals suitable for the support of manydifferent types of display device.

  The RGB_VSYNC signal is asserted to cause the LCD's line pointer to start over at the top of the display. The
RGB_VSYNC and RGB_HSYNC pulse generation is controlled by the configuration of both the HOZVAL field and
the LINEVAL registers. 

The HOZVAL and LINEVAL can be determined by the size of the LCD panel according to
the following equations:
HOZVAL = (Horizontal display size) -1
LINEVAL = (Vertical display size) –1
The rate of RGB_VCLK signal can be controlled by the CLKVAL field in the VIDCON0 register. The table below
defines the relationship of RGB_VCLK and CLKVAL. The minimum value of CLKVAL is 1.
RGB_VCLK (Hz) =HCLK/ (CLKVAL+1) where CLKVAL >= 1

VTIME 产生控制信号,如RGBZ-VSYNC,RGB_HSYNC,RGB_VDEN 和RGB_VCLK 信号。这些控制信号与VSFR 寄存器内的VIDTCON0/1/2 寄存器的配置有很大的关系。

根据VSFR 内显示控制寄存器的可编程配置,VTIME 模块可以产生程序控制信号,这些控制信号适合于很多不同类型的显示设备。
RGB_VSYNC 信号用来导致LCD 行指针从显示的顶层开始覆盖。RGB_VSYNC 和RGB_HSYNC 跳动产生由HOZVAL 区域和LINEVAL 寄存器的配置控制。HOZVAL 和LINEVAL 由LCD 显示屏的尺寸决定,具
体等式如下:
HOZVAL=(水平显示尺寸)-1
LINEVAL=(垂直显示尺寸)-1
RGB_VCLK 信号的速率可以由VIDCON0 寄存器内的CLKVAL 领域控制。RGB_VCLK 和CLKVAL之间的关系见表14-4. CLKVAL 最小值为1.
RGB_VCLK(Hz)=HCLK/(CLKVAL+1) CLKVAL>=1


The frame rate is calculated as follows;
Frame Rate = 1/ [ { (VSPW+1) + (VBPD+1) + (LIINEVAL + 1) + (VFPD+1) } x {(HSPW+1) + (HBPD +1)
+ (HFPD+1) + (HOZVAL + 1) } x { ( CLKVAL+1 ) / ( Frequency of Clock source ) } ]

5.2、LDI Command Control

LDI can receive command and data. Command refers to index for the selection of SFR in LDI. In control signal for
command and data, only SYS_RS signal has different operation. Generally, SYS_RS is polarity of ‘1’ for
command issue and vice versa.
DISPLAY Controller has two kinds of command control. One is auto command and the other is normal command.
Auto command is issued automatically (i.e. without S/W control) at a predefined rate (rate = 2,4, 6 ..30. Rate = 4
means auto command are send to LDI at the end of every 4-image-frames). Normal command is issued by S/W
control.

LDI 可以接收命令和数据。命令表示LDI 内的SFR 选择的索引。在命令和数据的控制信号内,只有SYS_RS 信号有不同的操作。通常SYS_RS 的命令极性是1,反之亦然。
显示控制器有两种命令控制形式。一种是自动命令控制形式,另一种是常规命令控制形式。自动命令
在预定速率内自动发出。通过S/W 控制可以发出常规命令。

5.3、RGB INTERFACE IO


linux
相关资讯       S3C6410 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款