Skip to content

ADC 2 and more #17786

Jul 29, 2025 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

Thanks, I will check the viper, it could be useful.

I have made the test (dirty loop). Here are my results.

For both STM32F767 and STM32H753, I have 16 ADC channels (I mean, the function pyb.ADC() doesn't return the error that the pin is not an ADC pin). These channels are PA0 to PA7, PB0 and PB1, PC0 to PC5.
Which means all channels that are linked to ADC 1 and 2 and none channels linked to ADC 3 only.
But probably only ADC 1 is used.

Also, while making these tests, I discovered that the pins PF11 to PF13 and PH2 to PH5 are not recognised (error : Pin.cpu doesn't have pin X) on STM32H753.
I don't know why and maybe there are some more pins not recognised, I only tested the one linked to …

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@GitHubsSilverBullet
Comment options

@DanielActis
Comment options

@GitHubsSilverBullet
Comment options

@DanielActis
Comment options

Answer selected by DanielActis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants