SDAA440
June 2026
AM13E23019
1
Abstract
Trademarks
1
Introduction
2
Processor-in-the-Loop (PIL)
3
Prerequisites
4
Benchmarking the Current Control Algorithm on AM13x
4.1
Reference C28x Example Simulation Model
4.2
Simulation Model Configured for F28379D
4.3
Simulation Results
5
Isolating the Algorithm: Converting the Subsystem to a Model Reference
5.1
Conversion Procedure
5.2
Converted Model Reference Block Configured for Processor in the Loop
6
Configuring the Model Reference for AM13x PIL
6.1
Target Hardware Selection
6.2
SysConfig Configuration
7
SIL/PIL Manager
7.1
Launching the SIL/PIL Manager and Running PIL
7.1.1
Simulation Time Consideration
7.1.2
PIL Results: Showing Numerical Verification
7.1.3
PIL Results: Execution Profiling
8
Optimization and Re-Profiling
8.1
PIL Results: With Single Datatype and Sine/Cosine TMU
8.2
Codegen Report Showing TMU Functions
8.3
Enable Code View from Compare Runs Option
8.4
PIL Results: Execution Profiling with Single Datatype and Sine/Cosine TMU
9
Summary
10
References
Application Note
Benchmark Simulink Model on AM13x