To my knowledge, it should always reset to the pin configuration described in the DT. Yeah, documentation is spotty here. But it's "reliable" to the degree that using a linux-controlled GPIO for…
First of all, I'd like to try lowering noise by electrical means. No sense in starting to do filtering until we know we have done the best we can at providing a good signal to the ADC. Let's see…
Do you know of any off the shelf thermocouple sensor that we could interface to, eg. via a fieldbus or at some other high level? That might be the easiest and most reliable option.
There are…
libgpiod is the gpio chardev, yes. It is defined to reset on fdes closure. Supported in kernels >= 5.10.
Seems https://github.com/warthog618/go-gpiocdev is the canon solution for this?