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

    Analog I/P sampling rate

    UniPi 1 - HW Q&A
    2
    3
    229
    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.
    • R
      RajeshAnnad last edited by

      Hello. Im using Unipi 1.1 hardware with Raspberry Pi 3b. I would like to know about the sampling rate of Analog Input channels (AI1 and AI2) so that I can use it accordingly in my program.

      Thanks.

      Martin Kudláček 1 Reply Last reply Reply Quote 0
      • Martin Kudláček
        Martin Kudláček administrators @RajeshAnnad last edited by

        Hello @rajeshannad,
        the ADC chip is MCP3422 which has configurable sampling rate (datasheet). But the sampling rate is not the issue, but rather the fact that the I2C bus is shared with other devices and therefor it is not deterministic.

        Best regards,
        Martin

        R 1 Reply Last reply Reply Quote 0
        • R
          RajeshAnnad @Martin Kudláček last edited by

          Hello @martin-kudláček, Thanks for the response. I would like to use 12 bit which will enable me the Analog input sampling rate of 240Hz as mentioned in the MCP3422 manual. Is there any way to know how to check if the current ADC resolution is 12 bits? and if it is not the resolution I need, how do I write the configuration register for ADC for 240Hz mode using I2C?
          Any suggestions would be helpful.

          Thanks in advance,
          Rajesh.

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