CMM2 vs. PicoMite 2 Mio For-Next-Benchmark
Author
Message
Tinine
Guru
Joined: 30/03/2016
Location: United KingdomPosts: 1646
Posted: 04:09am 26 Sep 2022
phil99 said
"And 32000000 times per second using the PIO."
Yes indeed, if you have A Need for Speed.
ADC and CSUB LOG also work well.
Update on the For - Next. The 15uS per sample was before I added
Dim Integer n
That reduced it to 12.4uS per sample = 80,645 samples / second.
I had assumed, wrongly, that the counter in a For - Next would automatically be an integer.
That enables it to catch the 25uS pulses at 252MHz most of the time.
Doesn't a decrementing For-Next run even faster?
Craig