s full 😉
>
> -Oorspronkelijk bericht-
> Van: Daniel Pereira Carvalho
> Verzonden: woensdag 21 oktober 2020 21:01
> Aan: dev@nuttx.apache.org
> Onderwerp: Re: NuttX and continuous ADC conversion
>
> Maybe you could propose a modification on ADC upper-half driver to en
Nice.. I just want to use the ADC as feedback sensor for a plunger... I all
works fine until the FIFO is full 😉
-Oorspronkelijk bericht-
Van: Daniel Pereira Carvalho
Verzonden: woensdag 21 oktober 2020 21:01
Aan: dev@nuttx.apache.org
Onderwerp: Re: NuttX and continuous ADC conversion
IFO is full... Maybe I have to add an IOCT
> that resets the ADC?... Or set the FIFO buffer back? Or make a ringbuffer
> instead of FIFO
>
> Ben
>
> -Oorspronkelijk bericht-
> Van: Nathan Hartman
> Verzonden: woensdag 21 oktober 2020 20:36
> Aan: dev@nuttx.apache.org
Verzonden: woensdag 21 oktober 2020 20:36
> Aan: dev@nuttx.apache.org
> Onderwerp: Re: NuttX and continuous ADC conversion
>
> On Wed, Oct 21, 2020 at 2:26 PM wrote:
>
> > Thats correct... so I have to start the conversion every time over
> > again... and het the value af
Hartman
Verzonden: woensdag 21 oktober 2020 20:36
Aan: dev@nuttx.apache.org
Onderwerp: Re: NuttX and continuous ADC conversion
On Wed, Oct 21, 2020 at 2:26 PM wrote:
> Thats correct... so I have to start the conversion every time over
> again... and het the value after that conversion
On Wed, Oct 21, 2020 at 2:26 PM wrote:
> Thats correct... so I have to start the conversion every time over
> again... and het the value after that conversion I have seen continuous
> conversions ADC on an STM32...
>
> I will try to find a plausible solution.
>
Zero latency ISR to read ADC
: woensdag 21 oktober 2020 17:14
Aan: dev@nuttx.apache.org
Onderwerp: Re: NuttX and continuous ADC conversion
If I understand well, you want to put the ADC to continuously sample an input
at some sampling rate.The ADC ring buffer depth will be set to 1 and should
store the value of the last
If I understand well, you want to put the ADC to continuously sample an
input at some sampling rate.The ADC ring buffer depth will be set to 1 and
should store the value of the last sample. Is that correct?
If yes I think that is not possible because adc_receive() will refuse new
data if FIFO is f
Is it possible to achieve a continuous ADC conversion, where the
sample[0].am_data is written in a struct (and constantly updated) and where I
can get and check the voltage from the ADC?
I have it working that the value I get is true and it also seems to measure the
change, but after some time