AnsweredAssumed Answered

Input port of ADC block not availible while using STM32-MAT/TARGET

Question asked by XJ Q on Nov 2, 2017
Latest reply on Nov 2, 2017 by XJ Q

Hi everyone,


I have been just getting started with the model-based design using MATLAB/Simulink with the Target Support Package for my STM32F407VGTx Discovery Board.


But with the configuration for the MCU using STM32CubeMX done, there is no input port in the ADC_Read block availible.


In my STM32CubeMX Project (in the attachment, Version 4.22.1) I actived three channels of ADC1 (IN0, IN1 and IN2). Principally, these three channels must be availible in my Simulink project. However, as shown below, CH0, CH1 and CH2 couldn't be checked.


Simulink project


Is there anyone who can help me to solve this problem?


Thank you!