# Plecs Code Support

**URL:** <https://forum.plexim.com/t/plecs-code-support/2299>\
**Category:** Coder\
**Tags:** xmc\
**Created:** [June 30, 2025, 4:47am UTC](https://forum.plexim.com/t/plecs-code-support/2299 "2025-06-30T04:47:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sairaj](https://avatars.discourse-cdn.com/v4/letter/s/6f9a4e/32.png) [@sairaj](https://forum.plexim.com/u/sairaj)\
**Post date:** [June 30, 2025, 4:47am UTC](https://forum.plexim.com/t/plecs-code-support/2299/1 "2025-06-30T04:47:45Z")

</div>

Does Plecs Generated Codes can be used in TINA Simulation software to Run the Virtual Simulation?

Regards,  
Sairaj

---

<div class="post-metadata">

**Author:** ![Bryan\_Lieblick](https://dub1.discourse-cdn.com/flex006/user_avatar/forum.plexim.com/bryan_lieblick/32/10_2.png) [@Bryan\_Lieblick](https://forum.plexim.com/u/Bryan_Lieblick)\
**Post date:** [June 30, 2025, 1:30pm UTC](https://forum.plexim.com/t/plecs-code-support/2299/2 "2025-06-30T13:30:28Z")

</div>

Hello Sairaj,

It would be interesting to know more about your overall goal. What are you trying to accomplish here? What parts of your converter system will be generated vs. modeled in each software?

PLECS can generate C code from a simulation model. If there is a way to integrate C code into a TINA, then that is something you would need to do within that software. There is no native connection between PLECS and TINA.

Regards,  
Bryan

---

<div class="post-metadata">

**Author:** ![sairaj](https://avatars.discourse-cdn.com/v4/letter/s/6f9a4e/32.png) [@sairaj](https://forum.plexim.com/u/sairaj)\
**Post date:** [July 2, 2025, 6:10am UTC](https://forum.plexim.com/t/plecs-code-support/2299/3 "2025-07-02T06:10:50Z")

</div>

Hi Bryan  
We are Just trying to Create Simulation for Basic Example like adc ,Blinking led on Plecs and Generating Code into the Dave and use that hex and elf files which can be imported to TINA Simulation.  
Is there any working Code which is built into DAVE ide with xmc1404 Microcontroller from Plecs.

Regards,  
Sairaj

---

<div class="post-metadata">

**Author:** ![Jeroen\_Buitendijk](https://dub1.discourse-cdn.com/flex006/user_avatar/forum.plexim.com/jeroen_buitendijk/32/1540_2.png) [@Jeroen\_Buitendijk](https://forum.plexim.com/u/Jeroen_Buitendijk)\
**Post date:** [July 2, 2025, 1:36pm UTC](https://forum.plexim.com/t/plecs-code-support/2299/4 "2025-07-02T13:36:54Z")

</div>

Hi Sairaj,

PLECS provides a target support package (TSP) for XMC1400 microcontrollers. This TSP extends the functionality of the PLECS Coder to generate code specifically for XMC1400 microcontrollers.

The TSP also comes with pre-configured projects that can be imported into DAVE. Once you have done that, you can generate code out of PLECS into the imported project in DAVE.

Code generation out of PLECS requires a PLECS Coder license. Downloading a target support package does not require an additional license. It can be found on the Plexim website: [Infineon XMC Code Generation | Plexim](https://www.plexim.com/download/tsp_xmc).

Documentation for the XMC target support package is also available on the Plexim website: [Documentation | Plexim](https://www.plexim.com/download/documentation).
