文档库 最新最全的文档下载
当前位置:文档库 › 树莓派3 [硬件教程]-LVDS显示屏接线教程

树莓派3 [硬件教程]-LVDS显示屏接线教程

树莓派3-LVDS显示屏教程

树莓派3

版本描述日期

V1.0 创建2014.1.25

微信公众号

更多技术支持与科技资讯分享,请关注我们的微信公众号。

目录

第1章版权声明 (3)

第2章Introduction (4)

2.1Powersupply (4)

2.2Hardware Connections (4)

2.3Software Configuration (6)

第1章版权声明

本手册版权归属深圳风火轮科技有限公司所有, 并保留一切权力。非经风火轮科技同意(书面形式),任何单位及个人不得擅自摘录本手册部分或全部,违者我们将追究其法律责任。

敬告:

在售产品的手册会经常更新,请在https://www.wendangku.net/doc/96657854.html,网站下载最新手册,不再另行通知。

如果您对文档有所疑问,您可以在办公时间(星期一至星期五上午9:00~12:00;下午1:30~6:00;星期六上午9:00~12:00)到论坛发贴或E-mail联系我们。

网址:https://www.wendangku.net/doc/96657854.html,

联系电话:0755-********

E-mail:peter@https://www.wendangku.net/doc/96657854.html,

销售及网络:

深圳风火轮科技有限公司

电话:0755-******** - 186********

传真:0755-********

地址:深圳市宝安区宝源路名优工业产品展示采购中心C座710、711号

网址:https://www.wendangku.net/doc/96657854.html,

深圳本地客户可以上门提货

树莓派淘宝店:https://www.wendangku.net/doc/96657854.html,/ --专营树莓派

风火轮淘宝店:https://www.wendangku.net/doc/96657854.html,/ --专营各类开发板

技术支持:

树莓派论坛:https://www.wendangku.net/doc/96657854.html,

QQ群: 237172995

QQ群: 249126495

QQ群: 178954903

QQ群: 209767435

(由于资源有限,请只选其中一个QQ群加入,多加无用)

风火轮推荐的技术支持方式是论坛发贴,我们的工程师会第一时间去回贴。

第2章Introduction

To use a LVDS TFT-LCD display with Superboard is very simple job.

There are two main activities do to:

1. Connect the LVDS to Superboard.

2. Configure script.bin for LVDS display.

For this example I will use a CHI-MEI G070Y2-L01 800x480 LED backlight TFT-LCD. For other displays there would be different power-supply requirements, LCD I/O pin layouts and script.fex values.

2.1 Powersupply

The LCD is a device which require a lot of power to work so we need two extra-power supplies:

1. One at 3.3V to supply LCD main board.

2. One at 12V to supply LCD backlight system.

NB:you can't use 3.3V from Superboard because the display will typically have a Rush Current of > 1A at startup and Superboard can't supply that much power.

2.2 Hardware Connections

Generally the following can be said of the hardware connection.

1. The pins VDD, VCC or similar must be connected to 3.3V external supply

2. The pins VDD_LED, VDD_BL or similar must be connected to 12V external backlight

supply

3. The pins GND must be connected to both Superboard and external supply GND

4. Each LVDS lane RX0+/- to RX3+/- and the clock lane RXC+/- must be connected to

corrosponding pins on Superboard

Superboard U14 G070Y2-L01 LVDS

I/O PIN

Notes

12 PD8 (LCDD8/LVDS0P3)

01 (RX3+)

11 PD9

02 (RX3-)

(LCDD9/LVDS0N3)

-N/A- 03 (NC) Leave unconnected.

-N/A- 04 (FRC) Must be connected to extra 3.3V power supply VCC.

02 Ground 05 (GND) Must be connected also with extra 3.3V power supply Ground.

07 PD6 (LCDD6/LVDS0PC)

06 (RXC+)

10 PD7 (LCDD7/LVDS0NC)

07 (RXC-)

02 Ground 08 (GND) Must be connected also with extra 3.3V power supply Ground.

05 PD4 (LCDD4/LNVS0P2)

09 (RX2+)

08 PD5 (LCDD5/LVDS0N2)

10 (RX2-)

02 Ground 11 (GND) Must be connected also with extra 3.3V power supply Ground.

03 PD2 (LCDD2/LVDS0P1)

12 (RX1+)

06 PD3 (LCDD3/LVDS0N1)

13 (RX1-)

02 Ground 14 (GND) Must be connected also with extra 3.3V power supply Ground.

01 PD0 (LCDD0/LVDSP0)

15 (RX0)

04 PD1 (LCDD1/LVDS0N0)

16 (RX0)

-N/A- 17 (LR) Leave unconnected. T ogether with UD describe only display scanning direction.

-N/A- 18 (UD) Leave unconnected. T ogether with LR describe only display scanning direction.

-N/A- 19 (VCC_IN) Must be connected to extra 3.3V power supply VCC.

-N/A- 29 (VCC_IN) Must be connected to extra 3.3V power supply VCC.

2.3 Software Configuration

At this point is important to understand HOW TO set properly the A20 chip to run with the specific display settings. More simple job is recover and set display X/Y resolutions. With example's devices we should use:

Now we will enter in the more complex range of settings regarding timings.

At this point only display datasheet can help us with the TIMING CHARACTERISTICS: Vertical Display Parameter Symbol Min. Typ. Max Unit Note

Period Tv 490 500 550 Th Tv = Tvd + Tvb

Active Tvd - 480 - Th

Blanking Tvb 10 20 70 Th

Horizzontal Display Parameter Symbol Min. Typ. Max Unit Note

Period Th 930 992 1090 T clock Th = Thd + Thb

Active Thd - 800 - T clock

Blanking Thb 130 192 290 T clock

Clock Frequency Symbol Min. Typ. Max Unit Note

1/T clock 27 29.5 33 MHz

1. LCD Data Clock Frequency

Looking in the table, at field Clock Frequency, a good value for lcd_dclk_freq should be comprised between 29.5 to 33 MHz.

The value of 30MHz should go fine so:

Check whether 24 or 18 bit color is used, and set

1. LCD horizontal sync back porch

2. LCD horizontal sync total cycle

3. LCD vertical sync back porch

4. LCD vertical sync total cycle * 2

In the upon table we can the needed values.

1. Horizontal sync total sycle (lcd_ht) is the same as horizontal period in the datasheet

which is = 1055 at 30Mhz

2. Horizontal back porch (lcd_hpb) is the same as horizontal blanking in the datasheet,

which is the difference between horizontal period and the horizontal active time

(1055-800) which is = 255, here 200 is used an approximate value

3. Vertical sync total cycle (lcd_vt) is the same as 2*vertical period in the datasheet which

is = 1050 at 30Mhz

4. Horizontal back porch (lcd_hpb) is the same as 2*vertical blanking in the datasheet,

which is the difference between 2*vertical period and the 2*vertical active time

(1050-1000) which is = 50, 25 is used as an approximate value.

So the final values are:

So the final config of the script.fex file:

相关文档