Skip to main content
KMew
Senior III
October 5, 2022
Solved

TouchGFX: Displaying Data from Code Onto Display

  • October 5, 2022
  • 3 replies
  • 2403 views

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?

This topic has been closed for replies.
Best answer by EEbyKarl

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

3 replies

EEbyKarl
EEbyKarlBest answer
Visitor II
October 5, 2022

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

KMew
KMewAuthor
Senior III
October 6, 2022

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?

EEbyKarl
Visitor II
October 6, 2022

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