Question
code generate base on model by simulink and stm32cubeMX,the use of ADC block in stm32 adapter package.
Posted on April 28, 2015 at 13:52
But when I drag the ADC block into the model,the pop-up box appear,which writes ''!!selected ADC has not been configured!!''.but i have configured the ADC in stm32cubeMx.How can i do now?hope for help,TY! #code-generate #stm32cube #simulink
Hello,there!
I want to generate code base on model by simulink and stm32cubeMX.I install the ''target support package-stm32 adapter'' in simulink and stm32cubeMX version 4.70 in computer.I set a model in simulink and drag a MCU config block in it,then I select the .ioc file which was generated in stm32cubeMX.I chose the stm32f0803 discovery board,and configue the ADC peripheral in stm32cubeMX.
But when I drag the ADC block into the model,the pop-up box appear,which writes ''!!selected ADC has not been configured!!''.but i have configured the ADC in stm32cubeMx.How can i do now?hope for help,TY! #code-generate #stm32cube #simulink