cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX and USBPD

TS-LMG
Associate III

Hello. 

 

I am trying to create a project that uses both the Nucleo GFX01M2 and SNK1M1 with the G071RB dev board. I want to configure my setup as a USB sink device. However, in STM32CubeMX I can select either the sink USBPD application, or the Touchgfx graphics application, but not both. What would be the best way to develop an application that utilizes both USBPD and TouchGFX? 

 

Thank you. 

6 REPLIES 6

Hello @TS-LMG 
I would recommend you to have a look at the STM32H7S78-DK example below. 

This demo shows USB DRD and DRP and UCPD: https://www.youtube.com/watch?v=FpX9AdRocYQ

And its available as FS: https://www.st.com/en/microcontrollers-microprocessors/stm32h7r3-7s3.html# 

Hope it helps you move forward.

 

Best regards

Soren Mikkelsen

TS-LMG
Associate III

Hello @Soren Myllerup MIKKELSEN,

I will look into using the STM32H7S78-DK for proof of concept purposes. However, the IC itself is quite expensive for my application. I would look to downgrading it in the future. Do you know where I can find the example show in the video? 

Thank you.  

TS-LMG
Associate III

@Soren Myllerup MIKKELSEN 

 

For the STM32H7S78-DK, I noticed that I cannot select both TouchGFX and Sink USBPD application in the software packs selector from within cubeMX. How can I merge TouchGFX and USBPD? 

@TS-LMG 
The demo source is available here: https://www.st.com/en/microcontrollers-microprocessors/stm32h7r3-7s3.html#tools-software Under "Demo resources"

For the TouchGFX and USBPD application combination from scratch, i will ask a colleague to answer on the thread here. 

Are you only looking for MCU to drive USB application? 

TS-LMG
Associate III

Hello @Soren Myllerup MIKKELSEN,

I found the demo source and looked at the source code. By the sounds of it, I will have to manually merge TouchGFX and USBPD together. I noticed the demo has no IOC file. 

 

I am looking for an MCU that can do USBPD and drive a TFT display at the same time, as my application required PD negotiation and some kind of graphical interface. 

 

Regards,

Tom

Hello @TS-LMG 
One will shortly answer you on the merge of these 2. 

The example shows this setup (TouchGFX app + UCPD). 

What kind of display do you want to run? the STM32H7R3 comes in LQFP144 wiht UCDP and 1xQuadSPI NOR flash if, You could then connect a parallel or SPI display. 

 

Best regards

Soren Mikkelsen