ADC 2 and more #17786
-
Hello, Do you know when the use of more than one ADC will be implemented ? Thanks Daniel |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
I found some information on Github. The management of more than one ADC has been put on low priority in 2015. After 10 years, maybe it's time to do it ? It seems the only µC that implement ADC 2 and 3 is the STM32H7. I will test it. |
Beta Was this translation helpful? Give feedback.
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 …