require code for designing on EVE2-70A

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

Moderator: Mods

madhusudan.jadhav
LCD Geek
Posts: 25
Joined: Wed Apr 03, 2019 11:24 am

require code for designing on EVE2-70A

Post by madhusudan.jadhav »

Hi there,
I am using matrix orbital EVE2-70A with resistive touch screen display for my industrial projects. I am using infineon xmc4500 relax kit. Please send me the project code which has used this display. I will convert it in my project. Thank you.

Daniel Divino
Matrix Orbital
Matrix Orbital
Posts: 247
Joined: Thu Sep 24, 2015 9:38 am

Re: require code for designing on EVE2-70A

Post by Daniel Divino »

Hi Madhusudan.Jadhav,

You can find all of our EVE2 application notes on our Matrix Orbital website, and our GitHub page.

https://www.matrixorbital.com/app/app-eve-series
https://github.com/MatrixOrbital

You should be able to take this code and adapt it for your microcontroller. You will also find a C based EVE2 Library that you can port over on our GitHub page.

Cheers,
Daniel
Daniel Divino
Technical Support
Matrix Orbital

madhusudan.jadhav
LCD Geek
Posts: 25
Joined: Wed Apr 03, 2019 11:24 am

Re: require code for designing on EVE2-70A

Post by madhusudan.jadhav »

Hi,
thank you for given link. I did the program as per manual and eve knob. but display isnot going on. please help.

madhusudan.jadhav
LCD Geek
Posts: 25
Joined: Wed Apr 03, 2019 11:24 am

Re: require code for designing on EVE2-70A

Post by madhusudan.jadhav »

I get error in debugger cannot read register.

madhusudan.jadhav
LCD Geek
Posts: 25
Joined: Wed Apr 03, 2019 11:24 am

Re: require code for designing on EVE2-70A

Post by madhusudan.jadhav »

ERROR: CPU is not halted
ERROR: Can not read register 15 (R15) while CPU is running
Reading all registers
ERROR: Can not read register 0 (R0) while CPU is running
ERROR: Can not read register 1 (R1) while CPU is running
ERROR: Can not read register 2 (R2) while CPU is running
ERROR: Can not read register 3 (R3) while CPU is running
ERROR: Can not read register 4 (R4) while CPU is running
ERROR: Can not read register 5 (R5) while CPU is running
ERROR: Can not read register 6 (R6) while CPU is running
ERROR: Can not read register 7 (R7) while CPU is running
ERROR: Can not read register 8 (R8) while CPU is running
ERROR: Can not read register 9 (R9) while CPU is running
ERROR: Can not read register 10 (R10) while CPU is running
ERROR: Can not read register 11 (R11) while CPU is running
ERROR: Can not read register 12 (R12) while CPU is running
ERROR: Can not read register 13 (R13) while CPU is running
ERROR: Can not read register 14 (R14) while CPU is running
ERROR: Can not read register 15 (R15) while CPU is running
ERROR: Can not read register 16 (XPSR) while CPU is running
ERROR: Can not read register 17 (MSP) while CPU is running
ERROR: Can not read register 18 (PSP) while CPU is running
ERROR: Can not read register 24 (PRIMASK) while CPU is running
ERROR: Can not read register 25 (BASEPRI) while CPU is running
ERROR: Can not read register 26 (FAULTMASK) while CPU is running
ERROR: Can not read register 27 (CONTROL) while CPU is running
ERROR: Can not read register 32 (FPSCR) while CPU is running
ERROR: Can not read register 33 (FPS0) while CPU is running
ERROR: Can not read register 34 (FPS1) while CPU is running
ERROR: Can not read register 35 (FPS2) while CPU is running
ERROR: Can not read register 36 (FPS3) while CPU is running
ERROR: Can not read register 37 (FPS4) while CPU is running
ERROR: Can not read register 38 (FPS5) while CPU is running
ERROR: Can not read register 39 (FPS6) while CPU is running
ERROR: Can not read register 40 (FPS7) while CPU is running
ERROR: Can not read register 41 (FPS8) while CPU is running
ERROR: Can not read register 42 (FPS9) while CPU is running
ERROR: Can not read register 43 (FPS10) while CPU is running
ERROR: Can not read register 44 (FPS11) while CPU is running
ERROR: Can not read register 45 (FPS12) while CPU is running
ERROR: Can not read register 46 (FPS13) while CPU is running
ERROR: Can not read register 47 (FPS14) while CPU is running
ERROR: Can not read register 48 (FPS15) while CPU is running
ERROR: Can not read register 49 (FPS16) while CPU is running
ERROR: Can not read register 50 (FPS17) while CPU is running
ERROR: Can not read register 51 (FPS18) while CPU is running
ERROR: Can not read register 52 (FPS19) while CPU is running
ERROR: Can not read register 53 (FPS20) while CPU is running
ERROR: Can not read register 54 (FPS21) while CPU is running
ERROR: Can not read register 55 (FPS22) while CPU is running
ERROR: Can not read register 56 (FPS23) while CPU is running
ERROR: Can not read register 57 (FPS24) while CPU is running
ERROR: Can not read register 58 (FPS25) while CPU is running
ERROR: Can not read register 59 (FPS26) while CPU is running
ERROR: Can not read register 60 (FPS27) while CPU is running
ERROR: Can not read register 61 (FPS28) while CPU is running
ERROR: Can not read register 62 (FPS29) while CPU is running
ERROR: Can not read register 63 (FPS30) while CPU is running
ERROR: Can not read register 64 (FPS31) while CPU is running
ERROR: Can not read register 33 (FPS0) while CPU is running

WARNING: Failed to read memory @ address 0xDEADBEEE

Daniel Divino
Matrix Orbital
Matrix Orbital
Posts: 247
Joined: Thu Sep 24, 2015 9:38 am

Re: require code for designing on EVE2-70A

Post by Daniel Divino »

Hi Madhusudan.Jadhav,

Have you modified the EVE Know code at all to properly interface with your Infineon processor?

The EVE Knob Example was designed to be used with an Arduino, so modifications may need to be made in order for it to work properly with your host.

Cheers,
Daniel
Daniel Divino
Technical Support
Matrix Orbital

madhusudan.jadhav
LCD Geek
Posts: 25
Joined: Wed Apr 03, 2019 11:24 am

Re: require code for designing on EVE2-70A

Post by madhusudan.jadhav »

Hi there,
I have ported my infineon codes. spi writes the data. but cannot read from lcd. Also power light is red. After Host command i tried to read the REG_ID but the value always comes 0x00. Also I am not using interrupt.

Daniel Divino
Matrix Orbital
Matrix Orbital
Posts: 247
Joined: Thu Sep 24, 2015 9:38 am

Re: require code for designing on EVE2-70A

Post by Daniel Divino »

Hi Madhusudan.Jadhav,

So you are not able to read '7C' from the FT81X during startup?

The FT81X does require some time to start up. Could you try implementing a short delay at the beginning of your code to allow the EVE to boot properly? I'd say you start with 1000mS to start with. Once you have confirmed you can read from the display, you can reduce the startup delay.

Cheers,
Daniel
Daniel Divino
Technical Support
Matrix Orbital

madhusudan.jadhav
LCD Geek
Posts: 25
Joined: Wed Apr 03, 2019 11:24 am

Problem of booting on EVE2-70A

Post by madhusudan.jadhav »

HI,

As I am using Matrix orbital EVE2-70A TPR module
I did the following wiring
1) pin no.1 3.3v, pin no.16 3.3v, pin no.17,18 all are shorted to 3.3 v from mcu board.
2) Pin no.2 GND, Pin no. 15 GND, Pin no. 19,20 all are shorted to GND from mcu board
3) int pin is shorted to GND of mcu board through 4.7 kohm.
is this connection is correct?

Daniel Divino
Matrix Orbital
Matrix Orbital
Posts: 247
Joined: Thu Sep 24, 2015 9:38 am

Re: require code for designing on EVE2-70A

Post by Daniel Divino »

Hi Madhusudan.Jadhav,

Your connections are correct. Are you still having difficulties communicating with the display?

Cheers,
Daniel
Daniel Divino
Technical Support
Matrix Orbital

madhusudan.jadhav
LCD Geek
Posts: 25
Joined: Wed Apr 03, 2019 11:24 am

Re: require code for designing on EVE2-70A

Post by madhusudan.jadhav »

I am able to read 7c from reg id. But backlight isnot coming. Also i am reading reset register it is giving output 12.

Daniel Divino
Matrix Orbital
Matrix Orbital
Posts: 247
Joined: Thu Sep 24, 2015 9:38 am

Re: require code for designing on EVE2-70A

Post by Daniel Divino »

Hi Madhusudan.jadhav,

What are you trying to draw on the screen? Could you provide a snippet of your code?

Cheers,
Daniel
Daniel Divino
Technical Support
Matrix Orbital

madhusudan.jadhav
LCD Geek
Posts: 25
Joined: Wed Apr 03, 2019 11:24 am

Re: require code for designing on EVE2-70A

Post by madhusudan.jadhav »

Hi there,
I am using eve2-70-TPR. I am getting reg-Id 7c but cpu reset I am getting 224. and display isnot coming on
Attachments
SPI.hpp
(2.75 KiB) Downloaded 1170 times
SPI.cpp
(33.9 KiB) Downloaded 1110 times
process.h
(257 Bytes) Downloaded 1166 times
process.c
(4.66 KiB) Downloaded 1120 times
MatrixEve2Conf.h
(535 Bytes) Downloaded 1128 times
main.cpp
(1.38 KiB) Downloaded 1173 times
Eve2_81x.h
(16.97 KiB) Downloaded 1162 times
Eve2_81x.c
(3.56 KiB) Downloaded 1149 times
Arduino_AL.h
(2.61 KiB) Downloaded 1129 times

Daniel Divino
Matrix Orbital
Matrix Orbital
Posts: 247
Joined: Thu Sep 24, 2015 9:38 am

Re: require code for designing on EVE2-70A

Post by Daniel Divino »

Hi Madhausen,

I took a quick look at your startup code. Please note, you don't need to write anything to REG_CPURESET prior to reading the register.

All you'll need to do is perform a rd8(REG_RESET) and read what is in the Reset Register.

Cheers,
Daniel
Daniel Divino
Technical Support
Matrix Orbital

madhusudan.jadhav
LCD Geek
Posts: 25
Joined: Wed Apr 03, 2019 11:24 am

Re: require code for designing on EVE2-70A

Post by madhusudan.jadhav »

Hi Daniel,
No I amnot written it. Also backlight isnot coming. is this the problem? i have given 3.3 v external supply to all supply pins of display. And GND is common for supply source and mcu card. Int is grounded through 4.7 kohm resistor. If you can see I defined the CLKEXT and frequency 36M. Please suggest where may I wrong.

Post Reply