2017-03-24 01:50 AM
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 #simulink2017-03-24 02:19 AM
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 replace by the drivers (blocks STM32)
Hope this helps you.
Imen
2017-03-24 03:21 AM
Hello Imen,
that helps a lot. Thank you.
Are there any possibilities to simulate the STM32 peripherals? (other toolboxes)
Regards
Stefan
2017-03-24 03:35 AM
No Stefan
:(
2017-03-24 06:02 AM
ok, thanks!