Skip to main content
MDeva.1
Associate III
January 7, 2022
Question

USB communication with GUI which class have to used?

Hello ,

I am working on STM32H745IIK3.I have to connect my board to Software which is based on GUI.SO which USB class I have to use.Can you please help me?

This topic has been closed for replies.

3 replies

Andrew Neil
Super User
January 7, 2022

Your link doesn't work:

0693W00000HqwZkQAJ.png 

What does the "GUI.SO" documentation tell you?

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
MDeva.1
MDeva.1Author
Associate III
January 8, 2022

We are developing standalone application in qt software using c++/python language. We are sending some digital data/ waveforms from hardware and that we have to see on the application. We want to know how we can interface this application with the STM hardware. For Gui and hardware communication, we are using usb communication. But we don't know which usb class we should use for the communication.

Andrew Neil
Super User
January 8, 2022

You can use whichever USB Class you like.

Common choices would be CDC - to give you a virtual COM port - or HID.

If you don't have (much) experience developing for microcontrollers and/or USB, it might be simpler to just use a UART on the microcontroller, and a USB-to-UART converter; eg,

0693W00000HqxkjQAB.png

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.