Video extension for FPGA4U

From Fpga4u

Jump to: navigation, search

Introduction

The video extension card was developed as a student project to provide extended video capabilities to the FPGA4U.

The extension card has three main features:

Schematic

FPGA4U LCD/VGA display & sd_mmc card reader, Version C (.pdf)

Architecture

Extlcd arch.jpg

Pin assignment

Version B/C pin connection:

Port 64 Pin Table TOP view connector
Pin Num Name FPGA Pin Video extension board
1 3.3V 3.3V
3 PIN_E19 CLK_to_Conn Clk (for VGA)
5 PIN_G7 SWITCH0[0]
7 PIN_F8 SWITCH0[2]
9 PIN_E9 SWITCH0[4]
11 PIN_G11 SWITCH0[6]
13 Gnd Gnd
15 PIN_C21 LED[87] StepUp_ON
17 PIN_D21 LED[85] LCD_Reset_n
19 PIN_E21 LED[83] LCD_VSync
21 PIN_F20 LED[81] LCD_TS_SCL
23 PIN_G17 LED[71] LCD_TS_SDO
25 PIN_H16 LED[69] LCD_ON
27 PIN_J19 LED[67] MMC_CMD
29 PIN_K22 LED[65] MMC_CD
31 PIN_C1 LED[55] MMC_Dat[1]
33 PIN_D3 LED[53] MMC_Dat[3]
35 PIN_E3 LED[51] B[0]
37 PIN_F3 LED[49] B[2]
39 PIN_G6 LED[39] B[4]
41 PIN_H4 LED[37] B[6]
43 PIN_J2 LED[35] VGA_SCL
45 PIN_R7 LED[33] G[0]
47 PIN_M19 LED[23] G[2]
49 PIN_N15 LED[21] G[4]
51 PIN_R22 LED[19] G[6]
53 PIN_R18 LED[17] VGA_HSync_n
55 PIN_U22 LED[7] R[0]
57 PIN_V22 LED[5] R[2]
59 PIN_W22 LED[3] R[4]
61 PIN_Y20 LED[1] R[6]
63 Gnd Gnd
Pin Num Name FPGA Pin Video extension board
2 3.3V 3.3V
4 PIN_L22 CLK_from_top
6 PIN_H8 SWITCH0[1]
8 PIN_H9 SWITCH0[3]
10 PIN_F10 SWITCH0[5]
12 PIN_E11 SWITCH0[7]
14 Gnd Gnd
16 PIN_C19 LED[86] LED_ON
18 PIN_D19 LED[84] LCD_HSync
20 PIN_F22 LED[82] LCD_CS_n
22 PIN_G21 LED[80] LCD_TS_SDI
24 PIN_H18 LED[70] LCD_DotClk (for LCD)
26 PIN_J21 LED[68] TS_CS_n
28 PIN_J17 LED[66] MMC_WP
30 PIN_K20 LED[64] MMC_Dat[0]
32 PIN_D1 LED[54] MMC_Dat[2]
34 PIN_E1 LED[52] MMC_Clk
36 PIN_F1 LED[50] B[1]
38 PIN_G3 LED[48] B[3]
40 PIN_H2 LED[38] B[5]
42 PIN_H6 LED[36] B[7]
44 PIN_P3 LED[34] VGA_SDA
46 PIN_T6 LED[32] G[1]
48 PIN_N22 LED[22] G[3]
50 PIN_P17 LED[20] G[5]
52 PIN_R20 LED[18] G[7]
54 PIN_T22 LED[16] VGA_VSync_n
56 PIN_U20 LED[6] R[1]
58 PIN_V20 LED[4] R[3]
60 PIN_Y22 LED[2] R[5]
62 PIN_Y18 LED[0] R[7]
64 Gnd Gnd

Functions:

  • StepUp_ON : Allows internal +5V generation, necessary for VGA and LCD on 45 pins connector
  • LED_ON  : Allows LED back light ON
  • LCD_ON  : Needed for LCD on 45 pins connector to work

RGB :

  • 3x8 bits for color display:
    • only bits 7..2 used with LCDs --> 3x6 bits
    • 3x8 with VGA interface

LCD prefix:

Signals used for the specifics LCD display.

VGA prefix:

Signals for the VGA DAC converter. VGA_SCL and VGA_SDA are i2c communication interface for monitor communication.

TS prefix:

Touch scren control signals, used with a 2 channels ADC, serial communication SPI like.

TS_CS_n is used to select the ADC interface. LCD_TS_ SCL, SDI, SDO are common with LCD and ADC communications.

Board capabilities

The LCD display has a resolution of 240x320 pixels, and a color resolution of (3x6) 18 bits.


The LCD display has a resolution of 240x320 pixels, and a color resolution of (3x6) 18 bits.


The analog color signals for the VGA monitor are generated by the DAC, with a resolution of 10 bits per color, i.e. 30 bits (version B). Only 3x8 bits are available with the Version C of the board.


The form factor of the flash card reader allows it to read from both SD cards and MMC cards.

Personal tools