How can I adjust the sample time on the verdin module. I’m using the torizon core. Can that be done as an override in the overlay.
The reason I ask is the lsb count is low and I figure the sample time is not long enough
How can I adjust the sample time on the verdin module. I’m using the torizon core. Can that be done as an override in the overlay.
The reason I ask is the lsb count is low and I figure the sample time is not long enough
Greetings @jeffbelz,
The Verdin i.MX8M Plus, uses the Texas Instrument TLA2024 component for ADC. Looking at the device tree this seems to use the ads1015
driver: imx8mp-verdin.dtsi « freescale « dts « boot « arm64 « arch - linux-toradex.git - Linux kernel for Apalis, Colibri and Verdin modules
The in-kernel documentation for this driver shows how the sample rate may be configured via device tree: ads1015.txt « adc « iio « bindings « devicetree « Documentation - linux-toradex.git - Linux kernel for Apalis, Colibri and Verdin modules
Let me know if this was along the lines of what you were looking for.
Best Regards,
Jeremias
Figured the reason the sample were low. I thought it was reference to 3.3v.
I guess 1 lsb = 1mV I recalculated based on that and it was good
Glad to hear you were able to work it out.