-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Description
Is your enhancement proposal related to a problem? Please describe.
Recently I’ve been testing out ADC & PWM functionality on the nRF52840 & STM32 (blackpill_f411ce) boards under Zephyr, as part of an effort to move projects over from Arduino framework to Zephyr.
I’m finding that the current ADC support in Zephyr for the STM32 boards is quite limited. From my debug sessions, it appears that only one or two ADC channels are currently supported on the STM32. On the blackpill_f411ce (stm32f411ce), only one ADC channel on pin PA1 is currently supported.
Zephyr does support multiple ADC channels on other boards, for example, with the Particle Xenon (nRF52840), I’m able to access all 6 ADC channels without any issues.
As the STM32 devices are very popular and used extensively, it would be very useful to have full channel support.
Describe the solution you'd like
Extend ADC channel support on the STM32 (blackpill_f411ce and other) from the current one or two channels to all the available ADC channels.
Describe alternatives you've considered
The current temporary fallback has been to use the Arduino Framework with the STM32 blackpill_f411ce to access the available ADC channels. I certainly would prefer to use Zephyr.
Additional context
Add any other context or graphics (drag-and-drop an image) about the feature request here.