Zur Übersicht - INFO - Neueste 50 Beiträge - Neuer Beitrag - Suchen - Zum C-Control-I-Forum - Zum C-Control-II-Forum

Re: ADC in Free Running Mode Kategorie: Programmierung C (von PepeV - 9.02.2013 14:57)
Als Antwort auf Re: ADC in Free Running Mode von Torsten - 9.02.2013 10:18
Ich nutze:
C-Control Pro Mega128, Pro-Bot128
> >
> > Hi Torsten,
> >
> > I managed to adapt your ADCaptureRunFree to work with a float array.
> > Since I could not find a suitable algorithm on the internet, I figured out
> > one myself. Because I need only to convert integers between 0 and 1023,
> > it is much simpler then the algorithms I found on internet.
> > I attached the results. Hope you like my first attempt of asm programming.
> >
> > Thanks for the asm spectrum analyzer files. They look promising (fast!) but
> > also complicated. I will study them and let you know if I can use them.
> >
> > Regards,
> > Pepe
>
>
>  Hello Pepe,
>
>  maybe the version below is still interesting for you.
>
>  GruÃ? Torsten

Hi Torsten,

Thanks, I will look at it later.
Here is an improved version of my ADCapture2fl.asm. The previous version
has a serious bug. If an ADC value is zero, it will hang. That case is dealt
with now and also the code is optimized so less instructions are needed.

Maybe we should start a new thread in the category Programmierung
Assembler. 'FFT for the Atmega128'?

Regards,
Pepe
ADCapture2fl02.zip




    Antwort schreiben


Antworten:

Re: ADC in Free Running Mode (von PepeV - 11.02.2013 18:29)
    Re: ADC in Free Running Mode (von Torsten - 11.02.2013 21:07)
        Re: ADC in Free Running Mode (von PepeV - 12.02.2013 19:54)