Picoverter Code Question


Author Message
poida

Guru

Joined: 02/02/2017
Location: Australia
Posts: 1483
Posted: 12:51am 20 Jul 2026      

what I wrote works well enough.

But why not give it a go and see if things improve.

I spent a good amount of time working with the area where the PWM changes
from D9 to D10 and also the D10 change to D9.

I found the order of actions that set up the PWM is important and
the code with "perfect_symmetry" in the name is ideal.

pico_2_heavy_filter_bv_better_stop_prefect_symmetry.zip


Possibly removing the extra zero in the sine table will be good.
I expect there will be some other "out by one" mistakes in there
and maybe one of those deals with the extra zero just by accident.