Is it possible to run PIL in Simulink with a non-supported microcontroller like Infineon TLE9879?
3 次查看(过去 30 天)
显示 更早的评论
Hello,
I've successfully tested the Processor-in-the-Loop (PIL) workflow in Simulink using a TI F28069M LaunchPad, following the standard examples provided by MathWorks. The PIL block, code generation, and communication all worked without issues.
Now, I’d like to run a similar PIL setup using the Infineon TLE9879 EVALKIT (based on an ARM Cortex-M0), which is not officially supported by Simulink as a target.
I’m wondering if it’s possible to configure PIL manually or via custom workflows. For example:
- Can I create a custom PIL target using Embedded Coder?
- Would I need to port rtiostream manually for communication over UART?
- Could I somehow integrate with Keil µVision (which I use for TLE9879) to build and run the generated code?
- Is there a workaround to simulate PIL behavior using a non-supported board?
My setup:
- Simulink R2024b
- Infineon TLE9879 EVALKIT
- Keil µVision 5 + Infineon Config Wizard
- UART and JTAG interfaces available
The main purpose is to validate control algorithms and measure execution time, not to implement a full HIL system.
Has anyone attempted PIL with a custom or unsupported microcontroller before? Any tips or resources would be greatly appreciated. Thanks in advance!
1 个评论
YE
2025-7-11
Same here. Did you figure it out? Plus, which PIL workflow instructions you are following and which support packages you installed for PIL? Thank you in advance!
回答(1 个)
sudobash
2025-7-14
Hey,
The above example refers another example to Create a Target Communication Channel for Processor-in-the-Loop (PIL) Simulation, using TCP/IP.
Hope this helps!
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!