cancel
Showing results for 
Search instead for 
Did you mean: 

STM32-MAT/Target Simulink blocksets for pure simulation

Stefan Stark
Associate III
Posted on March 24, 2017 at 09:50

Hello together,

Is it possible to use the Simulink blocks of the SMT32 peripherals (out of the Target Support Package - STM32 Adapter) in 'pure simulations' (simulation / Debug without deploying it to the target hardware)? Or can these blocks only used for the code generation process?

Desired application:

Trigger the conversion process of the ADC with an Timer; the ADC Channel imput will be simulated with a Simulink block and the output of the ADC will be tracked with a Display (Simulink block). See sketch in attachment.

Thank you and best regards.

Stefan

#stm32-mat/target-matlab #stm32 #simulink
4 REPLIES 4
Imen.D
ST Employee
Posted on March 24, 2017 at 10:19

Hello Stefan,

SMT32 blocks are only for code generation and peripherals are not simulated.

For the simulation, s

imulation data must be given then 

replaced by data from the

peripherals 

in code generation. e r

eplace by the drivers (blocks STM32)

Hope this helps you.

Imen

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

Hello Imen,

that helps a lot. Thank you.

Are there any possibilities to simulate the STM32 peripherals? (other toolboxes)

Regards

Stefan

Posted on March 24, 2017 at 10:35

No Stefan 

:(

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

ok, thanks!