En - stm32 Matlab
En - stm32 Matlab
En - stm32 Matlab
• ARM/ST/MathWorks initiative
• Optimized Cortex-M code for Embedded Coder based on ARM’s CMSIS DSP SW library
• Peripheral blockset for Simulink provided by ST based on STM32Cube abstraction layers;
opening access for the use of whole STM32 portfolio
• Compiler / IDE integration for MATLAB, based on Keil, IAR, and Atollic IDEs
Toolchain
Simulink
Stateflow
Simulate and Test on PC 8
Simulink
Command
vs.
Response
PWM Duty
Cycles
9
Step 2: Processor-in-the-loop
Processor-in-the-loop (PIL) 10
Host
Serial Cable
Target
Compare
to model
results
STM32
Generate Cortex-M Optimized Code 11
Embedded
Coder
12