Re: [PATCH] iio: flow: slf3s: restart measurement if VDD disable fails
From: Wadim Mueller
Date: Tue Aug 11 2026 - 06:04:48 EST
On Tue Aug 11, 2026 at 2:24 AM CEST, Maxwell Doose wrote:
> On Wed Aug 5, 2026 at 9:21 PM CDT
> Linmao Li <lilinmao@xxxxxxxxxx> wrote:
>
> >
> > One thing I noticed while doing this, not specific to my patch: the
> > datasheets for all three supported variants say that after the stop
> > command the sensor "needs up to 0.5 ms to power down the heater, enter
> > idle mode and be receptive for a new command". probe() and
> > slf3s_set_medium() both send the next command right away, and my
> > rollback can too. Is that something you have had to care about in
> >
> > practice?
> >
>
> Perhaps something that would be good to test on actual hardware to see
> if it matters. Maybe Wadim can check? However in all of the (very very
> basic) drivers I've written I've tried my best to account for hardware
> delays so I would do some more research into this.
>
> thanks,
> max
It's definitely a missing piece. I haven't observed any issues with the
current implementation, but the required timing should still be respected.
I'll add the delay in a follow-up patch.
Thanks,
Wadim