Why do I need this library? #94
-
Hi, I'm new to display development in general, and to EVE specifically. Our EEs have decided to use the BT817 with a TBD display connected to our Infineon tc297 and I'm trying to learn about it. So I found the EVE Screen Editor which ostensibly generates some code based on static screens I draw in their editor. Does this library provide any new widgets or graphics not available in stock EVE Screen Editor? Or is it just about providing like a HAL to some pre-ported displays and MCUs? Thanks! I also read through some existing discussions on trying to use this library with LVGL and have been convinced to leave it alone. The examples on LVGL's web site sure do look nicer than what I can do in EVE Screen Editor though. |
Beta Was this translation helpful? Give feedback.
Replies: 12 comments 20 replies
-
Interesting, the ECU I am currently working with has a TC297. :-)
For the most part this library and the few others for EVE chips "merely" provide a HAL, yes. So this sits in between the application layer and the MCAL. Yes, you do want something like this. :-) There are a couple of functions like EVE_init() and EVE_init_flash() that go way beyond the plain EVE chip API but this is not adding any new widgets. And in case of displays this is supporting at least all modules that I am aware of from FT810 to BT818. And using LVGL would mean to not actually use the EVE chips, this reduces EVE to a SPI connected framebuffer. |
Beta Was this translation helpful? Give feedback.
-
The short answer is "Yes". People, particularly on the creative side, tend to be polarized in how they think. WYSIWYG layout editors are perfect for lots of situations... but in other cases, purely programmatic layouts are highly beneficial. Personally, I rather enjoy the ability to have an entire UI that can be designed in nothing but a text editor, and that I can dynamically generate and position UI pages and display elements depending on runtime conditions. Plus, Eve Screen Designer is yet another developer tool dependency that has to be installed and maintained. I'm sure it's great for those that use it - but it's Windows-only software in a cross-platform world, and that alone makes it a non-starter for many organizations. |
Beta Was this translation helpful? Give feedback.
-
Here, this is what I added to our Autosar TC297 project: I am not actually sure what this is, perhaps a complex device driver. I went one step further now, configured the chip-select and power-down pins in the MCAL, generated the DIO code and added the apropriate calls to EVE_target_Tricore.h. No SPI so far though, we do have two other devices on that SPI but these are not used in the project and one is not even populated. |
Beta Was this translation helpful? Give feedback.
-
Hi @RudolphRiedel, more good info, thank you! And thank you to @dstulken for your input as well! So it sounds like you are working to get the library working on your new tc297 ECU, and now I'm getting a little confused on just what you're doing for your project, versus what I will need to do to use the library for my project. Tasks that I've seen mentioned:
Sounds like EVE Screen Editor (not Screen Designer) could be moderately helpful to get started, but I would need to port whatever commands it produced to use the commands from this library. Is that right? I am maybe going to need more “eye candy”, is that achievable with this library? Am I going to be making my own eye candy by drawing lines and circles? Thanks again! This is very helpful. |
Beta Was this translation helpful? Give feedback.
-
Ok, sorry, I tend to provide too much information. :-)
I ended up not using the version I linked to and that is still current in this repository, I modified it.
Not necessary, but there are a number of files that are not needed, depending on the project context.
Well, yes, I needed to do this, you might not, depends on the project.
Yes, this is what you need to do in order to "port" this library to your target project.
This is something I am considering to do and this is either DMA support or at least blocking buffered transfers.
I did, compiling in the context of a TC297 Autosar project showed a couple of issues that I did not run into before.
This is just the exact folder with this library that I added to my TC297 project, stripped and with minor adaptions in regards to what is in this repository.
This depends on your toolchain and your project. Oh, something else to consider as "Integration Requirement".
This is correct.
It sure is possible and you are not limited to lines and circles, everything can be used for touch events and so images could be used as buttons for example. |
Beta Was this translation helpful? Give feedback.
-
I just remembered that we have Infineon Eval boards as well and checked and found a KIT_AURIX_TC297_TFT. |
Beta Was this translation helpful? Give feedback.
-
Hey @RudolphRiedel, I got my test setup running as I described previously. It's using the Matrix Orbital EVE library from here which one of our EEs modified to work with the tc397 dev kit. So I know I'll be asked why we should use your library instead of Matrix Orbital's since we already have it kind of working. Do you have an argument I can pass along? Did you get your test setup working with the tc297? |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am certain that my library is faster, but this does not mean much with something like a TC397.
No, not yet, we went thru two release-cycles in our project, not much time to tinker on the side. |
Beta Was this translation helpful? Give feedback.
-
So I asked and it is not looking good in regards of TC397 boards. Adding the SPI code to our current TC297 ECU does likely not make any difference in regards of TC3xx. |
Beta Was this translation helpful? Give feedback.
-
Good news, I just received a KIT_A2G_TC387_5V_TFT to play with.
I would like to take a peek at this modifications. :-) |
Beta Was this translation helpful? Give feedback.
-
Hi @RudolphRiedel , I forked your library and created a branch here with the changes I had to make for it to work with Ifx QSPI driver. I am not sure if/what will have to be changed for MCAL which is what I will eventually be using. Let me know what you think. |
Beta Was this translation helpful? Give feedback.
-
I'll have a look. |
Beta Was this translation helpful? Give feedback.
Interesting, the ECU I am currently working with has a TC297. :-)
And while there is a connector for a display as parts of the design are from me, I did not have the opportunity so far to actually connect a display to it.
Now I wonder how difficult it would be to integrate a display in our project. :-)
For the most part this library and the few others for EVE chips "merely" provide a HAL, yes.
So in essence this pro…