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

조회 수: 5 (최근 30일)
Lorenz Klaus
Lorenz Klaus 2023년 12월 11일
댓글: Lorenz Klaus 2023년 12월 22일
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

답변 (1개)

Sarthak
Sarthak 2023년 12월 21일
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
Lorenz Klaus
Lorenz Klaus 2023년 12월 22일
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

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by