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. Serial Port Problem - Use Half duplex
Forum Updated to NodeBB v4.3 + New Features

Serial Port Problem - Use Half duplex

Scheduled Pinned Locked Moved Mobile and Embedded
9 Posts 3 Posters 2.3k Views 1 Watching
  • 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.
  • J Offline
    J Offline
    Jaeheon Chung
    wrote on last edited by
    #1

    Hi there, I'm new on QT.

    I just wonder how can I set up my serial port to half duplex?

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kuzulis
      Qt Champions 2020
      wrote on last edited by
      #2

      What is half duplex? And what do you half duplex without Qt? :)

      1 Reply Last reply
      0
      • McLionM Offline
        McLionM Offline
        McLion
        wrote on last edited by
        #3

        Why would you need half duplex? What is your target?
        A serial port (RS232) connection usually is full duplex and/or uses hardware- or software handshaking.

        1 Reply Last reply
        0
        • J Offline
          J Offline
          Jaeheon Chung
          wrote on last edited by
          #4

          My sensor type is half duplex :(
          The sensor has 3 connect line such as vcc, gnd, tx/rx.
          So, I have to use half duplex.

          1 Reply Last reply
          0
          • McLionM Offline
            McLionM Offline
            McLion
            wrote on last edited by
            #5

            And you are sure it is RS232?

            1 Reply Last reply
            0
            • J Offline
              J Offline
              Jaeheon Chung
              wrote on last edited by
              #6

              Of course :)
              When I use it on embeded board, I set up as half duplex.
              But not now..

              On embedded board, Usart port give some function for half duplex.

              1 Reply Last reply
              0
              • McLionM Offline
                McLionM Offline
                McLion
                wrote on last edited by
                #7

                A serial RS232 is full duplex by design/default. There must be a special protocol that your sensor is using or there must be some handshaking signals.
                Can you post a link to the sensor or it's type.

                1 Reply Last reply
                0
                • J Offline
                  J Offline
                  Jaeheon Chung
                  wrote on last edited by
                  #8

                  Yes, that sensor is customized for us by some company. so, there is no link and I can't post a link :(
                  I think I can't make sure the answer for my problem.
                  One thing what I can try to something is to make interface board. :)
                  Thank you for your answer for me.

                  1 Reply Last reply
                  0
                  • McLionM Offline
                    McLionM Offline
                    McLion
                    wrote on last edited by
                    #9

                    Post back if you have more information on the used interface and protocol and we will try to help :)

                    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