• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Latency measurements

    UniPi 1 - HW Q&A
    3
    3
    76
    Loading More Posts
    • 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.
    • E
      emomiilol last edited by

      Hello,

      Me and my colleague are doing some latency measurements where we just send in an analog input from a function generator and then send out the same signal as output. The latency seems to be around 100 ms and more. Is this what we could count with when we use the Unipi 1.1? And if so, what is most probably the limiting factor? And lastly, is there any way to make it faster?

      1 Reply Last reply Reply Quote 0
      • A
        AVsetula administrators last edited by AVsetula

        Hello @emomiilol

        What software do you use on the unit?
        This is probably a delay caused by the software and conversion of values in combination with communication with the chip on the Unipi board. In addition, both delay factors are manifested twice:

        input signal -> communication -> conversion -> program -> conversion -> communication -> output signal


        Antonín Všetula,
        Unipi technician

        1 Reply Last reply Reply Quote 0
        • M
          martin_triska administrators last edited by

          Hello @emomiilol ,

          can you please share a set of all SW you are using for this test with its configuration?

          The main reason can be the sampling rate of the A/D converter. For full resolution, there are 2-4 samples per second only. See excerpt from the MCP3422A0 datasheet:

          4555e0bb-3fec-433f-a0a0-93b78197cae4-image.png

          1 Reply Last reply Reply Quote 0
          • First post
            Last post