Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QT interfacing with stm32 board through USB

QT interfacing with stm32 board through USB

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 2 Posters 733 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kk2507
    wrote on last edited by
    #1

    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).

    ndiasN 1 Reply Last reply
    0
    • K kk2507

      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).

      ndiasN Offline
      ndiasN Offline
      ndias
      wrote on last edited by
      #2

      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.

      K 1 Reply Last reply
      0
      • ndiasN ndias

        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.

        K Offline
        K Offline
        kk2507
        wrote on last edited by
        #3

        @ndias Yes, we are using usb as virtual com port

        ndiasN 1 Reply Last reply
        0
        • K kk2507

          @ndias Yes, we are using usb as virtual com port

          ndiasN Offline
          ndiasN Offline
          ndias
          wrote on last edited by
          #4

          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 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved