Skip to content

RP2040 is out of tune #251

@tomcombriat

Description

@tomcombriat

Making a small drone synth to play along, I noticed that a simple setup, based on a RP2040 with PWM output, seems to be out of tune (looks like something similar than #67 ).

Here are some measurements ("Sinewave" sketch, CPU speed: 133MHz (this does not seem to affect):

Asked frequency (Hz) Measured frequency (Hz) Deviation (%)
440 448 1.82
220 224 1.82
1000 1017 1.7
2000 2035 1.75
10000 10173 1.73

Looks fairly stable, hence the timer is probably off by that amount.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions