Skip to main content
zhu jie
Associate
March 24, 2017
Question

STM32_MAT-TARGET

  • March 24, 2017
  • 2 replies
  • 1328 views
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
This topic has been closed for replies.

2 replies

Stefan Stark
Associate II
March 24, 2017
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

zhu jie
zhu jieAuthor
Associate
March 24, 2017
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

Technical Moderator
March 24, 2017
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

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
zhu jie
zhu jieAuthor
Associate
March 24, 2017
Posted on March 24, 2017 at 11:02

STM32-MAT/TARGET version4.4.1   

MATLAB version 2016b

Cubemx version 4.20.0