Skip to content

Conversation

@chmousset
Copy link
Contributor

Some members of the CH32 range have a built-in Programmable Gain Amplifier integrated into their ADC.

I tested it on the CH32V203, and all 4 settings (X1 to X64) work.
However, only X1 and X4 seem to have an accurate gain while the rest has pretty large deviations.

For the ADC that don't have a PGA the API remains identical, but for those who do the API is changed slightly with the addition of the PGA setting to the .convert() function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant