cancel
Showing results for 
Search instead for 
Did you mean: 

STM32_MAT-TARGET

zhu jie
Associate II
Posted on March 24, 2017 at 03:15

A strange problem occured when i used the STM32_MAT-TARGET to configure the DAC. I configred the DAC output 1 in the STM32F407ZGT6 in cubemx, however, an error always exists shown in the figure. GPIO and ADC are configured and work well. The ioc file is attached. So i am really confused.

0690X00000603frQAA.jpg

#stm32_mat-target
5 REPLIES 5
Stefan Stark
Associate III
Posted on March 24, 2017 at 10:16

I have a similar problem.

From my point of view the problem could be that I didn't have the plugin 'Embedded Coder' and so I can not set the path to the STMCubeMx. Maybe the Simulink block has no information about his configuration.

Did you install the 'Embedded Coder' Simulink/Matlab plugin?

So I am really curious for the solution of this problem!

Regards

Stefan

Imen.D
ST Employee
Posted on March 24, 2017 at 10:23

Hello,

We will check this case and come back to you.

Could you please precise which version of

STM32_MAT-TARGET 

are you using ?

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Posted on March 24, 2017 at 11:02

STM32-MAT/TARGET version4.4.1   

MATLAB version 2016b

Cubemx version 4.20.0

Posted on March 24, 2017 at 11:09

I did't install the ''Embedded Coder''. I just follow the hands-on and install the 

STM32_MAT-TARGET, as shown in the figure.0690X00000603iKQAQ.jpg

Thank you for your answer

Best regards

Posted on March 24, 2017 at 11:13

STM32-MAT/TARGET version4.4.1   

MATLAB version 2016b

Cubemx version 4.20.0