cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX: Displaying Data from Code Onto Display

KMew
Senior III

Hello,

I am using the TouchGFX Designer to make screens on the display on the STM32H7B3I-EVAL board. I have run through the tutorials, so I feel pretty familiar with how to use TouchGFX.

My next goal is to have data displayed on the screen that was gathered by another peripheral on the evaluation board (i.e. the CAN bus peripheral).

I can add code to the main.c, but I am unsure how to link that data to the ScreenXView.cpp files. Can someone please explain how to do that?

1 ACCEPTED SOLUTION

Accepted Solutions
EEbyKarl
Associate III

Maybe this tutorial will help? It's using an ADC result to show on the screen but you can substitute with your CAN data.

https://www.youtube.com/watch?v=EbWOv_0Lp-U

View solution in original post

3 REPLIES 3
EEbyKarl
Associate III

Maybe this tutorial will help? It's using an ADC result to show on the screen but you can substitute with your CAN data.

https://www.youtube.com/watch?v=EbWOv_0Lp-U

Hello,

Thank you for sending me this tutorial! This actually helped a lot with my knowledge of it! I'd like to replicate it but I do not have access to a source to generate the 3.3V with a varistor at the moment.

Is there another peripheral I could test this code with on the evaluation board? For example, a thermal sensor or a current measurement? If you do not know the answer to that, do you know where I can find that information?

I don't have that eval board so i couldn't tell you what to use.