How to use ESD with EVE2-38G

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

Moderator: Mods

Post Reply
jgb
LCD?
Posts: 2
Joined: Mon Jul 04, 2022 7:33 am

How to use ESD with EVE2-38G

Post by jgb »

Hello,

currently I am trying to start a project with EVE Screen Designer 4.15.1.0 for the EVE2-38G display with the MM900EV-Lite as host.
I am somewhat at a loss, however, when it comes to select the right target for the project.
Trying to define a new target instead, I can't seem to find the right EVE platform or display. I know the controller is an FT813 and the resolution is 480x116, but this does not lead me anywhere.

What am I doing wrong?

Cheers,
JG

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

Re: How to use ESD with EVE2-38G

Post by Raquel »

Hello JG,

Thank you for posting on the forum.

Please check out this guide

Let me know how it turns out.
Thank you,
Raquel Malinis
Design and Development
Matrix Orbital

jgb
LCD?
Posts: 2
Joined: Mon Jul 04, 2022 7:33 am

Re: How to use ESD with EVE2-38G

Post by jgb »

Hello Raquel,

thank you for the hint. I followed the guide.

I managed completing step 4 in the guide, but was unable to find the ifdef block in step 6. I assume it is gone, since the guide is nearly three years old. I trust capacitive touch is already configured all right in EVE_Util.c because it sets up some registers for Goodix touch support.

However, I got the impression that the EVE2-38G is not supported at all in EVE Screen Designer, so I changed a couple other things:

EVE_Config.h:
* Line 124: Uncommented 'ESD_TARGET_GRAPHICS(EVE_GRAPHICS_FT813 ...' and added parameter 'SupportedFlash = "(?=a)b"' to it, since the EVE2-38G has the FT813 and no flash, and added '|\b\w+GOODIX\w*\b' to the 'SupportedTouch' parameter, since the EVE2-38G has the Goodix touch screen
* Line 135: Added 'ESD_TARGET_DISPLAY(EVE_DISPLAY_480x116, DisplayName = "EVE2-38 (480x116)")' since there was no appropriate display defined yet
* Line 313: Added '|| defined(EVE_DISPLAY_480x116)' to the conditions when 'EVE_DISPLAY_AVAILABLE' gets defined, in order to make the new display actually usable
* Line 1204: Added '#elif defined(EVE_DISPLAY_480x116) #define DISPLAY_RESOLUTION_480x116' to the display resolutions

EVE_Util.c:
* Line 52: Added '{ 480, 116, 60, 0 },' to the 's_DisplayResolutions' array
* Line 71: Added '"BAR 480x116 60Hz",' to the 's_DisplayNames' array
* Line 536: Added '#elif defined(DISPLAY_RESOLUTION_480x116) display = EVE_DISPLAY_480x116_60Hz;' to the initialization of 'display' variable
* Line 584: Added an else-if-block with specific resolution and timing values to the initialization of the 'config' struct.

EVE_Util.h:
* Line 98: Added 'EVE_DISPLAY_480x116_60Hz,' to the 'EVE_DISPLAY_T' enum typedef

Quite a bunch and hopefully all builds well.
For now ESD at least accepts my changes and I can set up a project with the proper display and all.

JG

Post Reply