Testing a code written for an Aurix T3XX family

2 vues (au cours des 30 derniers jours)
Ahmad
Ahmad le 15 Déc 2023
Réponse apportée : Deep le 11 Sep 2024
I am preparing ideas for testing a source code written for Infineon Aurix T3XX processor.
I have the embedded system with the shematic but we are interesting only in testing the source code.
Is it possible to use simulink or other tool to simulate the Aurix?
If not, What hardware part would be needed to achieve the test.
I read about a starter Kit or Embedded Coder. Is it a good thing to start with?

Réponses (1)

Deep
Deep le 11 Sep 2024
Hi Ahmad,
I believe that you are looking to simulate the Infineon AURIX TC3x board in Simulink. It is possible to do so using the Embedded Coder Support Package for Infineon AURIX TC3x Microcontrollers, which can be found here: https://www.mathworks.com/hardware-support/infineon-aurix.html#aurix-tc3x. This package lets you model your applications in Simulink that can be executed on the AURIX TC3x microcontrollers. It also lets you test your code without physical hardware by providing the required blocks and libraries within Simulink.
Additionally, there's a helpful example on the MathWorks help page that walks you through setting up a model to control an LED on the board: https://www.mathworks.com/help/ecoder/infineonaurixtc3x/ug/ifx-tc3x-getting-started-led-example.html.
For integrating any existing application code that you have prepared for testing with the support package, you may find these additional resources to be useful:
  1. Place External C/C++ Code in Generated Code - https://www.mathworks.com/help/ecoder/ug/place-external-c-cpp-code-in-generated-code.html#f1144416
  2. Code Generation Custom Code - https://www.mathworks.com/help/rtw/ref/code-generation-pane-custom-code.html
  3. Replace Code Generated from Simulink Models - https://www.mathworks.com/help/rtw/ug/replace-code-generated-from-simulink-models-sc.html
Hope this helps!

Catégories

En savoir plus sur Embedded Coder dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by