EVE3x-70A display parameters

FTDI/Bridgetek EVE2 & EVE3 & EVE4 SPI TFT Series by Matrix Orbital

Moderator: Mods

Post Reply
johnschimandle
LCD?
Posts: 6
Joined: Sat Sep 10, 2022 7:24 am

EVE3x-70A display parameters

Post by johnschimandle »

I'm trying to get an EVE3x-70A display working and looking at the Bridgetek PIC24 sample code. The sample code is not specific to this display. One part of the start up code sets the display parameters as follows. I know the display is 800x480 but the rest of the parameters are very display dependent and might not be set to the correct value for the EVE3x-70A display. So I have a few questions. Do I have to set these parameters during display initialization? If so, what the correct values. If not, then where are the display parameters stored?

// WQVGA display parameters
lcdWidth = 800; // Active width of LCD display
lcdHeight = 480; // Active height of LCD display
lcdHcycle = 928; // Total number of clocks per line
lcdHoffset = 88; // Start of active line
lcdHsync0 = 0; // Start of horizontal sync pulse
lcdHsync1 = 48; // End of horizontal sync pulse
lcdVcycle = 525; // Total number of lines per screen
lcdVoffset = 32; // Start of active screen
lcdVsync0 = 0; // Start of vertical sync pulse
lcdVsync1 = 3; // End of vertical sync pulse
lcdPclk = 2; // Pixel Clock
lcdSwizzle = 0; // Define RGB output pins
lcdPclkpol = 1; // Define active edge of PCLK

EVE_MemWrite16(REG_HSIZE, lcdWidth);
EVE_MemWrite16(REG_HCYCLE, lcdHcycle);
EVE_MemWrite16(REG_HOFFSET, lcdHoffset);
EVE_MemWrite16(REG_HSYNC0, lcdHsync0);
EVE_MemWrite16(REG_HSYNC1, lcdHsync1);
EVE_MemWrite16(REG_VSIZE, lcdHeight);
EVE_MemWrite16(REG_VCYCLE, lcdVcycle);
EVE_MemWrite16(REG_VOFFSET, lcdVoffset);
EVE_MemWrite16(REG_VSYNC0, lcdVsync0);
EVE_MemWrite16(REG_VSYNC1, lcdVsync1);
EVE_MemWrite8(REG_SWIZZLE, lcdSwizzle);
EVE_MemWrite8(REG_PCLK_POL, lcdPclkpol);

Raquel
Matrix Orbital
Matrix Orbital
Posts: 805
Joined: Thu Aug 19, 2004 3:37 pm
Location: MO Office

Re: EVE3x-70A display parameters

Post by Raquel »

Hello John,

Here is the timing for the EVE3x-70A:
DWIDTH = 800;
DHEIGHT = 480;
HCYCLE = 928;
HOFFSET = 127;
HSYNC0 = 40;
HSYNC1 = 88;
VCYCLE = 525;
VOFFSET = 44;
VSYNC0 = 13;
VSYNC1 = 16;
PCLK = 2;
SWIZZLE = 0;
PCLK_POL = 1;
HSIZE = 800;
VSIZE = 480;
CSPREAD = 0;
DITHER = 1;

Hope this helps.
Thank you,
Raquel
Raquel Malinis
Design and Development
Matrix Orbital

Post Reply