QT interfacing with stm32 board through USB
-
wrote on 21 Feb 2022, 13:14 last edited by
Hello, I am working with stm32 board
I have to establish communication between the stm32 board and qt gui through the usb(not rs232)
I have created gui in which 3 leds and 1 switch included.
So, when I select led1 ON these command I have to send to the stm32 board through USB.
Then LED will start blinking on stm32 board.
In stm32 board, we are using USB_FS.
So, in qt how I can establish these communication?Can you share me usb related projects or link using USB.
I am using only usb and not RS232 or serial port(UART). -
Hello, I am working with stm32 board
I have to establish communication between the stm32 board and qt gui through the usb(not rs232)
I have created gui in which 3 leds and 1 switch included.
So, when I select led1 ON these command I have to send to the stm32 board through USB.
Then LED will start blinking on stm32 board.
In stm32 board, we are using USB_FS.
So, in qt how I can establish these communication?Can you share me usb related projects or link using USB.
I am using only usb and not RS232 or serial port(UART).wrote on 21 Feb 2022, 17:06 last edited byHi @kk2507 ,
Are you using your STM as USB CDC libusb device or USB virtual COM port to communicate with your application?
PS: I suggest you move this topic to the category Mobile and Embedded.
-
Hi @kk2507 ,
Are you using your STM as USB CDC libusb device or USB virtual COM port to communicate with your application?
PS: I suggest you move this topic to the category Mobile and Embedded.
-
wrote on 22 Feb 2022, 10:02 last edited by
Hi @kk2507 ,
Although I have never worked with serial ports in QML, I think a good starting point would be: https://github.com/ayberkozgur/qml-serialport . It implements a QML wrappers from QSerialPort object.
1/4