Skip to content

Raspberry Pi Pico ADC changes the sampling rate in Free-running Sampling mode #15816

Discussion options

You must be logged in to vote

The right hand expression div_value | (int_part << 8) | frac_part seems wrong. I would have expected it to be (int_part << 8) | frac_part. The previous int_part of the DIV register is 0xbfff. So if you OR 100 (0x64) to it, it will still stay 0xbfff.

Replies: 2 comments 11 replies

Comment options

You must be logged in to vote
11 replies
@leezisheng
Comment options

@robert-hh
Comment options

@leezisheng
Comment options

@leezisheng
Comment options

@leezisheng
Comment options

Answer selected by leezisheng
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants