Analog I/P sampling rate
-
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.
-
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 -
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.