Why are there less ADC Inputs for STM when compiling with Simulink?

6 views (last 30 days)
Hi everyone,
I have a question which I am confused about for a long time:
I am programming a STM32H743ZI2 Nucleo board with the help of the Simulink Hardware Support Package for Nucleo boards.
I have to read in several Analog Signals and want to utilise as many ADC-inputs as possible.
One thing that occured directly while testing and through documentation is, that the STM32 Documentation would state far more ADC inputs as it is possible to set with Simulink. The following screenshots should demonstrate this:
ADC-Input Pins according to the STM32H743ZI2 manual:
And the Inputs according to the Pinmap in Simulink and which was verified by Tests:
As you can see there are clearly less Input Pins for the ADC and there are several dublicates in there.
Could somebody please explain to me why this is the case and if there is a way to use all possible input pins as stated in the picture above?
Thank you in advance!
Regards,
Lorenz

Answers (1)

Sarthak
Sarthak on 21 Dec 2023
Hi Lorenz,
This looks like an older pinmap. I don't think there are any limitations on the usage of ADC pins and all pins mentioned on the mbed platform should be supported.
The Embedded Coder Support Package for STMicroelectronics STM32 Processors on FileExchange might help if your requirements need more control.
  1 Comment
Lorenz Klaus
Lorenz Klaus on 22 Dec 2023
Hi Sarthak,
Thanks for your advice!
After I had another look in the documentation I found another doc to adress the alternative functions of pins:
With this I am now finally able to choose each ADC input I want!
Greetings,
Lorenz

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!