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. communication between qt application and stm32 board
Forum Updated to NodeBB v4.3 + New Features

communication between qt application and stm32 board

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
12 Posts 3 Posters 1.4k 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

    I am developing an application in qt and want to connect it with the stm32 board. how the qt application and stm32 board will communicate with each other?

    jsulmJ 1 Reply Last reply
    0
    • K kk2507

      I am developing an application in qt and want to connect it with the stm32 board. how the qt application and stm32 board will communicate with each other?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @kk2507 said in communication between qt application and stm32 board:

      how the qt application and stm32 board will communicate with each other?

      Serial port?
      What communication technology does the board provide?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kk2507
        wrote on last edited by
        #3

        board and application both will communicate using USB HS port.

        jsulmJ 1 Reply Last reply
        0
        • K kk2507

          board and application both will communicate using USB HS port.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @kk2507 And what will be the protocol?
          There is no support for USB in Qt.
          https://forum.qt.io/topic/105016/usb-communication-in-qt could give you some hints.
          You can also use libusb library.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • K Offline
            K Offline
            kk2507
            wrote on last edited by
            #5

            we are using usb protocol. if usb is not supporting then how I can form the communication with both application and hardware. can you provide any solution to this?

            jsulmJ 1 Reply Last reply
            0
            • K kk2507

              we are using usb protocol. if usb is not supporting then how I can form the communication with both application and hardware. can you provide any solution to this?

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @kk2507 said in communication between qt application and stm32 board:

              can you provide any solution to this?

              I already did above...

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • K Offline
                K Offline
                kk2507
                wrote on last edited by
                #7

                I want to send the data through the board to the application and again send the data from an application to the board. if we use libusb library. so, will it work?

                jsulmJ KroMignonK 2 Replies Last reply
                0
                • K kk2507

                  I want to send the data through the board to the application and again send the data from an application to the board. if we use libusb library. so, will it work?

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @kk2507 said in communication between qt application and stm32 board:

                  will it work?

                  I guess yes

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • K kk2507

                    I want to send the data through the board to the application and again send the data from an application to the board. if we use libusb library. so, will it work?

                    KroMignonK Offline
                    KroMignonK Offline
                    KroMignon
                    wrote on last edited by
                    #9

                    @kk2507 said in communication between qt application and stm32 board:

                    I want to send the data through the board to the application and again send the data from an application to the board. if we use libusb library. so, will it work?

                    Which kind of STM32 board are you targeting?
                    Most of them has and OTG USB-Port which implements a virtual COM port (for example NUCLEO boards)

                    It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

                    K 1 Reply Last reply
                    1
                    • KroMignonK KroMignon

                      @kk2507 said in communication between qt application and stm32 board:

                      I want to send the data through the board to the application and again send the data from an application to the board. if we use libusb library. so, will it work?

                      Which kind of STM32 board are you targeting?
                      Most of them has and OTG USB-Port which implements a virtual COM port (for example NUCLEO boards)

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

                      @KroMignon I am using the NUCLEO-H745ZI-Q board. which communication protocol I should use and can you provide any example of such communication?

                      KroMignonK 1 Reply Last reply
                      0
                      • K kk2507

                        @KroMignon I am using the NUCLEO-H745ZI-Q board. which communication protocol I should use and can you provide any example of such communication?

                        KroMignonK Offline
                        KroMignonK Offline
                        KroMignon
                        wrote on last edited by KroMignon
                        #11

                        @kk2507 said in communication between qt application and stm32 board:

                        I am using the NUCLEO-H745ZI-Q board. which communication protocol I should use and can you provide any example of such communication?

                        I don't understand your question?
                        You have asked about communication channel between NUCLEO board and a Qt Application.
                        My suggestion is to use the virtual COM port (over USB), so on Qt side you could use QSerialPort.

                        The communication protocol depends on software running on NUCLEO board, I do not have any NUCLEO board myself, so hard to give you more information.

                        EDIT a quick search on internet gives me this link for example: https://shawnhymel.com/1795/getting-started-with-stm32-nucleo-usb-virtual-com-port/

                        It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

                        K 1 Reply Last reply
                        1
                        • KroMignonK KroMignon

                          @kk2507 said in communication between qt application and stm32 board:

                          I am using the NUCLEO-H745ZI-Q board. which communication protocol I should use and can you provide any example of such communication?

                          I don't understand your question?
                          You have asked about communication channel between NUCLEO board and a Qt Application.
                          My suggestion is to use the virtual COM port (over USB), so on Qt side you could use QSerialPort.

                          The communication protocol depends on software running on NUCLEO board, I do not have any NUCLEO board myself, so hard to give you more information.

                          EDIT a quick search on internet gives me this link for example: https://shawnhymel.com/1795/getting-started-with-stm32-nucleo-usb-virtual-com-port/

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

                          @KroMignon ok thank you.

                          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