<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Altair Embed — Altair Community</title>
        <link>https://community.altair.com/</link>
        <pubDate>Sat, 24 Oct 2026 08:55:03 +0000</pubDate>
        <language>en</language>
            <description>Altair Embed — Altair Community</description>
    <atom:link href="https://community.altair.com/discussions/tagged/embed/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>what is the standard procedure to run a TFT display with embed STM32?</title>
        <link>https://community.altair.com/discussion/67364/what-is-the-standard-procedure-to-run-a-tft-display-with-embed-stm32</link>
        <pubDate>Thu, 22 Oct 2026 16:37:34 +0000</pubDate>
        <category>Community Q&amp;A</category>
        <dc:creator>xchum</dc:creator>
        <guid isPermaLink="false">67364@/discussions</guid>
        <description><![CDATA[<p>Hello all, how hard or easy is it to implement TFT display using Embed stm32 ? Does anyone have any experience ? Does embed have specific blocks that makes implement display module easy?</p>]]>
        </description>
    </item>
    <item>
        <title>Facing issue with opening altair appln</title>
        <link>https://community.altair.com/discussion/67244/facing-issue-with-opening-altair-appln</link>
        <pubDate>Wed, 07 Oct 2026 16:24:45 +0000</pubDate>
        <category>Community Q&amp;A</category>
        <dc:creator>Balaji_Maddur</dc:creator>
        <guid isPermaLink="false">67244@/discussions</guid>
        <description><![CDATA[<span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/PSSVELI2F723\/19930.jpg&quot;,&quot;name&quot;:&quot;19930.jpg&quot;,&quot;type&quot;:&quot;image\/jpeg&quot;,&quot;size&quot;:7281753,&quot;width&quot;:4080,&quot;height&quot;:3072,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FPSSVELI2F723%2F19930.jpg&quot;,&quot;active&quot;:true,&quot;mediaID&quot;:104758,&quot;dateInserted&quot;:&quot;2026-10-07T16:22:37+00:00&quot;,&quot;insertUserID&quot;:495650,&quot;foreignType&quot;:null,&quot;foreignID&quot;:null,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FPSSVELI2F723%2F19930.jpg" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/PSSVELI2F723/19930.jpg" alt="19930.jpg" height="3072" width="4080" data-display-size="large" data-float="none" data-type="image/jpeg" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/PSSVELI2F723/19930.jpg 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/PSSVELI2F723/19930.jpg 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/PSSVELI2F723/19930.jpg 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/PSSVELI2F723/19930.jpg 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/PSSVELI2F723/19930.jpg 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/PSSVELI2F723/19930.jpg 2000w, https://us.v-cdn.net/6038102/uploads/PSSVELI2F723/19930.jpg" sizes="100vw" /></a>
    </span>
</span>
<span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/I4E71ZLM64K7\/19931.jpg&quot;,&quot;name&quot;:&quot;19931.jpg&quot;,&quot;type&quot;:&quot;image\/jpeg&quot;,&quot;size&quot;:6788885,&quot;width&quot;:4080,&quot;height&quot;:3072,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FI4E71ZLM64K7%2F19931.jpg&quot;,&quot;active&quot;:true,&quot;mediaID&quot;:104757,&quot;dateInserted&quot;:&quot;2026-10-07T16:22:36+00:00&quot;,&quot;insertUserID&quot;:495650,&quot;foreignType&quot;:null,&quot;foreignID&quot;:null,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FI4E71ZLM64K7%2F19931.jpg" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/I4E71ZLM64K7/19931.jpg" alt="19931.jpg" height="3072" width="4080" data-display-size="large" data-float="none" data-type="image/jpeg" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/I4E71ZLM64K7/19931.jpg 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/I4E71ZLM64K7/19931.jpg 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/I4E71ZLM64K7/19931.jpg 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/I4E71ZLM64K7/19931.jpg 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/I4E71ZLM64K7/19931.jpg 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/I4E71ZLM64K7/19931.jpg 2000w, https://us.v-cdn.net/6038102/uploads/I4E71ZLM64K7/19931.jpg" sizes="100vw" /></a>
    </span>
</span>
<p>Please help me out here to open the altair one application </p>]]>
        </description>
    </item>
    <item>
        <title>how to plot 2 outputs in a single monitor buffer ?</title>
        <link>https://community.altair.com/discussion/66871/how-to-plot-2-outputs-in-a-single-monitor-buffer</link>
        <pubDate>Sun, 19 Jul 2026 09:07:39 +0000</pubDate>
        <category>Community Q&amp;A</category>
        <dc:creator>xchum</dc:creator>
        <guid isPermaLink="false">66871@/discussions</guid>
        <description><![CDATA[<span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/C0SMEIY4ZB6Y\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:12886,&quot;width&quot;:987,&quot;height&quot;:219,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FC0SMEIY4ZB6Y%2Fimage.png&quot;,&quot;active&quot;:true,&quot;mediaID&quot;:104271,&quot;dateInserted&quot;:&quot;2026-07-19T09:06:15+00:00&quot;,&quot;insertUserID&quot;:482549,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;482549&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FC0SMEIY4ZB6Y%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/C0SMEIY4ZB6Y/image.png" alt="image.png" height="219" width="987" data-display-size="large" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/C0SMEIY4ZB6Y/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/C0SMEIY4ZB6Y/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/C0SMEIY4ZB6Y/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/C0SMEIY4ZB6Y/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/C0SMEIY4ZB6Y/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/C0SMEIY4ZB6Y/image.png 2000w, https://us.v-cdn.net/6038102/uploads/C0SMEIY4ZB6Y/image.png" sizes="100vw" /></a>
    </span>
</span>
<p>How can I plot the outputs of the SOGI-PLL against each other in a single monitor buffer? is it even possible in embed?</p>]]>
        </description>
    </item>
    <item>
        <title>Strange ADC output - STM32</title>
        <link>https://community.altair.com/discussion/66870/strange-adc-output-stm32</link>
        <pubDate>Sun, 19 Jul 2026 09:03:42 +0000</pubDate>
        <category>Community Q&amp;A</category>
        <dc:creator>xchum</dc:creator>
        <guid isPermaLink="false">66870@/discussions</guid>
        <description><![CDATA[<p>I am trying to PLL my line voltage using STM32G4 in Embed using the build in Sogi-PLL block. I am using ZMPT101 voltage sensor, this is the sense signal going to the ADC </p><span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/1O1REHXAD74J\/img-5671-jpg.jpg&quot;,&quot;name&quot;:&quot;IMG_5671.JPG&quot;,&quot;type&quot;:&quot;image\/jpeg&quot;,&quot;size&quot;:2554166,&quot;width&quot;:4032,&quot;height&quot;:3024,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2F1O1REHXAD74J%2Fimg-5671-jpg.jpg&quot;,&quot;active&quot;:true,&quot;mediaID&quot;:104267,&quot;dateInserted&quot;:&quot;2026-07-19T08:49:01+00:00&quot;,&quot;insertUserID&quot;:482549,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;482549&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2F1O1REHXAD74J%2Fimg-5671-jpg.jpg" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/1O1REHXAD74J/img-5671-jpg.jpg" alt="IMG_5671.JPG" height="3024" width="4032" data-display-size="large" data-float="none" data-type="image/jpeg" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/1O1REHXAD74J/img-5671-jpg.jpg 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/1O1REHXAD74J/img-5671-jpg.jpg 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/1O1REHXAD74J/img-5671-jpg.jpg 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/1O1REHXAD74J/img-5671-jpg.jpg 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/1O1REHXAD74J/img-5671-jpg.jpg 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/1O1REHXAD74J/img-5671-jpg.jpg 2000w, https://us.v-cdn.net/6038102/uploads/1O1REHXAD74J/img-5671-jpg.jpg" sizes="100vw" /></a>
    </span>
</span>
<p>My ADC is running at 10khz to read this 50hz signal.</p><span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/CGQOWZ5TWTVJ\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:12739,&quot;width&quot;:659,&quot;height&quot;:295,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FCGQOWZ5TWTVJ%2Fimage.png&quot;,&quot;active&quot;:true,&quot;mediaID&quot;:104268,&quot;dateInserted&quot;:&quot;2026-07-19T08:54:13+00:00&quot;,&quot;insertUserID&quot;:482549,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;482549&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FCGQOWZ5TWTVJ%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/CGQOWZ5TWTVJ/image.png" alt="image.png" height="295" width="659" data-display-size="large" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/CGQOWZ5TWTVJ/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/CGQOWZ5TWTVJ/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/CGQOWZ5TWTVJ/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/CGQOWZ5TWTVJ/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/CGQOWZ5TWTVJ/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/CGQOWZ5TWTVJ/image.png 2000w, https://us.v-cdn.net/6038102/uploads/CGQOWZ5TWTVJ/image.png" sizes="100vw" /></a>
    </span>
</span>
<p>The orange plot is the ADC output of the sense 50hz signal, I plotted it against a 50hz sine wave. There is a huge mismatch. The output of the ADC is not 50hz. These are the settings that produced this weird result</p><span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/E2T4SAGN2Z7A\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:7984,&quot;width&quot;:311,&quot;height&quot;:327,&quot;displaySize&quot;:&quot;medium&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FE2T4SAGN2Z7A%2Fimage.png&quot;,&quot;active&quot;:true,&quot;mediaID&quot;:104269,&quot;dateInserted&quot;:&quot;2026-07-19T08:57:15+00:00&quot;,&quot;insertUserID&quot;:482549,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;482549&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FE2T4SAGN2Z7A%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/E2T4SAGN2Z7A/image.png" alt="image.png" height="327" width="311" data-display-size="medium" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/E2T4SAGN2Z7A/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/E2T4SAGN2Z7A/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/E2T4SAGN2Z7A/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/E2T4SAGN2Z7A/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/E2T4SAGN2Z7A/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/E2T4SAGN2Z7A/image.png 2000w, https://us.v-cdn.net/6038102/uploads/E2T4SAGN2Z7A/image.png" sizes="100vw" /></a>
    </span>
</span>
<span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/99DOV5JZGI3B\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:17828,&quot;width&quot;:487,&quot;height&quot;:476,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2F99DOV5JZGI3B%2Fimage.png&quot;,&quot;active&quot;:true,&quot;mediaID&quot;:104270,&quot;dateInserted&quot;:&quot;2026-07-19T08:57:36+00:00&quot;,&quot;insertUserID&quot;:482549,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;482549&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2F99DOV5JZGI3B%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/99DOV5JZGI3B/image.png" alt="image.png" height="476" width="487" data-display-size="large" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/99DOV5JZGI3B/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/99DOV5JZGI3B/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/99DOV5JZGI3B/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/99DOV5JZGI3B/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/99DOV5JZGI3B/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/99DOV5JZGI3B/image.png 2000w, https://us.v-cdn.net/6038102/uploads/99DOV5JZGI3B/image.png" sizes="100vw" /></a>
    </span>
</span>
<p>I have noticed that if i reduce the simulation frequency to 0.5khz then the ADC produces a 50hz signal like it should but it messed up my PLL theta output. I didnt find any answers online so here I am. Please help team</p>]]>
        </description>
    </item>
    <item>
        <title>License Error</title>
        <link>https://community.altair.com/discussion/66509/license-error</link>
        <pubDate>Fri, 15 May 2026 15:53:32 +0000</pubDate>
        <category>Community Q&amp;A</category>
        <dc:creator>olpoot</dc:creator>
        <guid isPermaLink="false">66509@/discussions</guid>
        <description><![CDATA[<p>Altair Embed SE 2025.2 Build 14<br />
Log file attached. </p><p>Fresh install to see if something was broken on the previous install. <br />
Amutil indicates the license is working, but something is corrupted or locked up. <br /><br />
I found this post: </p><p><a href="https://community.altair.com/discussion/41458/soap-1-1-fault-soap-env-client-no-subcode-end-of-file-or-no-input-message-transfer-interrupted-or-timed-out-5-sec-max-recv-delay-5-sec-max-send-delay?utm_source=community-search&amp;utm_medium=organic-search&amp;utm_term=SOAP" target="_blank" rel="nofollow noopener ugc">SOAP 1.1 fault SOAP-ENV:Client [no subcode] "End of file or no input: message transfer interrupted or timed out (5 sec max recv delay) (5 sec max send delay)" - Altair Community</a></p><p>But that user variable does not exist. <br /><br />
i've tried everything i can. I thought the fresh install would certainly fix it. I'm wondering if this is on the server side. </p><p>i've deleted the user account and started a new one with the same credentials. </p><p>and a new one with different credentials. </p><p>Really stuck now. </p><div data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/2C7S36OO9C24\/almutil-output.txt&quot;,&quot;name&quot;:&quot;Almutil output.txt&quot;,&quot;type&quot;:&quot;text\/plain&quot;,&quot;size&quot;:1717,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2F2C7S36OO9C24%2Falmutil-output.txt&quot;,&quot;active&quot;:true,&quot;mediaID&quot;:103656,&quot;dateInserted&quot;:&quot;2026-05-15T13:02:35+00:00&quot;,&quot;insertUserID&quot;:492517,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;492517&quot;,&quot;embedType&quot;:&quot;file&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <a rel="nofollow" href="https://community.altair.com/api/v2/media/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2F2C7S36OO9C24%2Falmutil-output.txt" download="" aria-label="Almutil output.txt">
        Almutil output.txt
    </a>
</div>
<div data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/W0DHLGY5QH6E\/licensing-1.log&quot;,&quot;name&quot;:&quot;licensing 1.log&quot;,&quot;type&quot;:&quot;application\/octet-stream&quot;,&quot;size&quot;:3763,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FW0DHLGY5QH6E%2Flicensing-1.log&quot;,&quot;active&quot;:true,&quot;mediaID&quot;:103655,&quot;dateInserted&quot;:&quot;2026-05-15T13:00:56+00:00&quot;,&quot;insertUserID&quot;:492517,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;492517&quot;,&quot;embedType&quot;:&quot;file&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <a rel="nofollow" href="https://community.altair.com/api/v2/media/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FW0DHLGY5QH6E%2Flicensing-1.log" download="" aria-label="licensing 1.log">
        licensing 1.log
    </a>
</div>
]]>
        </description>
    </item>
    <item>
        <title>using stm32 as USB host</title>
        <link>https://community.altair.com/discussion/66425/using-stm32-as-usb-host</link>
        <pubDate>Sun, 03 May 2026 14:08:07 +0000</pubDate>
        <category>Community Q&amp;A</category>
        <dc:creator>xchum</dc:creator>
        <guid isPermaLink="false">66425@/discussions</guid>
        <description><![CDATA[<p>Hello all, can we use Altair Embed to program a STM32 to work as USB Host for HID like mouse and keyboards? I did not find any relatable examples. My final goal is to make a macro device for mouse and keyboard. Is this even possible to model inside Embed? If yes then how will the workflow/structure be like? I was also wondering if using other boards like teensy or pico would be better and easier. Thanks</p>]]>
        </description>
    </item>
    <item>
        <title>Renewal of Embed Personal Edition</title>
        <link>https://community.altair.com/discussion/66132/renewal-of-embed-personal-edition</link>
        <pubDate>Tue, 24 Mar 2026 15:41:26 +0000</pubDate>
        <category>Community Q&amp;A</category>
        <dc:creator>WoodyRKW</dc:creator>
        <guid isPermaLink="false">66132@/discussions</guid>
        <description><![CDATA[<p>Support issue ——— not able to select as category</p><p>corrupted dialog</p>]]>
        </description>
    </item>
    <item>
        <title>E-Drive: issue on Main motor control block execute on interrupt</title>
        <link>https://community.altair.com/discussion/65728/e-drive-issue-on-main-motor-control-block-execute-on-interrupt</link>
        <pubDate>Fri, 06 Feb 2026 05:11:33 +0000</pubDate>
        <category>Community Q&amp;A</category>
        <dc:creator>Reshmi</dc:creator>
        <guid isPermaLink="false">65728@/discussions</guid>
        <description><![CDATA[<p>Dear Team,</p><p>In the e-drive motor control project (open-loop and closed-loop), we initially worked with <strong>Launchpad F280049C mcu using the GANINV board</strong>, and the system was working fine….In this setup, the *main motor control is executed on interrupt, configured with <strong>*</strong>ADCBINT1 and EOC2 mode.</p><p>Later, we converted the same project to the <strong>Launchpad F28P550SJ mcu using the GANINV board</strong>. However, in this case, the *main motor control interrupt is triggered only once…In the setup, the main motor control is executed on interrupt: ADCAINT1 and Mode: EOC2.</p><p>Additionally,we have also attached the VSM files.</p><p>help us to identify the reason for this issue and guide us on how to resolve it.</p><p>Regards,</p><p>Reshmi Team.</p><div data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/JMRSBK9SZ70O\/c-26f-f28p550sj-with-ganinv.zip&quot;,&quot;name&quot;:&quot;C&amp;F-F28P550SJ With Ganinv.zip&quot;,&quot;type&quot;:&quot;application\/x-zip-compressed&quot;,&quot;size&quot;:28998,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FJMRSBK9SZ70O%2Fc-26f-f28p550sj-with-ganinv.zip&quot;,&quot;active&quot;:true,&quot;mediaID&quot;:102378,&quot;dateInserted&quot;:&quot;2026-02-06T05:05:44+00:00&quot;,&quot;insertUserID&quot;:120,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;120&quot;,&quot;embedType&quot;:&quot;file&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <a rel="nofollow" href="https://community.altair.com/api/v2/media/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FJMRSBK9SZ70O%2Fc-26f-f28p550sj-with-ganinv.zip" download="" aria-label="C&amp;F-F28P550SJ With Ganinv.zip">
        C&amp;F-F28P550SJ With Ganinv.zip
    </a>
</div>
]]>
        </description>
    </item>
    <item>
        <title>Doubt about this ADC block</title>
        <link>https://community.altair.com/discussion/65426/doubt-about-this-adc-block</link>
        <pubDate>Tue, 30 Dec 2025 10:52:47 +0000</pubDate>
        <category>Community Q&amp;A</category>
        <dc:creator>xchum</dc:creator>
        <guid isPermaLink="false">65426@/discussions</guid>
        <description><![CDATA[<span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/Y52Z0RDQL5IR\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:10784,&quot;width&quot;:445,&quot;height&quot;:295,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FY52Z0RDQL5IR%2Fimage.png&quot;,&quot;active&quot;:true,&quot;mediaID&quot;:101751,&quot;dateInserted&quot;:&quot;2025-12-30T10:43:11+00:00&quot;,&quot;insertUserID&quot;:482549,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;482549&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FY52Z0RDQL5IR%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/Y52Z0RDQL5IR/image.png" alt="image.png" height="295" width="445" data-display-size="large" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/Y52Z0RDQL5IR/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/Y52Z0RDQL5IR/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/Y52Z0RDQL5IR/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/Y52Z0RDQL5IR/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/Y52Z0RDQL5IR/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/Y52Z0RDQL5IR/image.png 2000w, https://us.v-cdn.net/6038102/uploads/Y52Z0RDQL5IR/image.png" sizes="100vw" /></a>
    </span>
</span>
<p>This is the <strong>Analog Input block</strong> (Embedded→STM32→ADC→Analog Input).</p><span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/FEAUVRNAMQRO\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:11174,&quot;width&quot;:1225,&quot;height&quot;:44,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FFEAUVRNAMQRO%2Fimage.png&quot;,&quot;active&quot;:true,&quot;mediaID&quot;:101752,&quot;dateInserted&quot;:&quot;2025-12-30T10:44:58+00:00&quot;,&quot;insertUserID&quot;:482549,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;482549&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FFEAUVRNAMQRO%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/FEAUVRNAMQRO/image.png" alt="image.png" height="44" width="1225" data-display-size="large" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/FEAUVRNAMQRO/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/FEAUVRNAMQRO/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/FEAUVRNAMQRO/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/FEAUVRNAMQRO/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/FEAUVRNAMQRO/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/FEAUVRNAMQRO/image.png 2000w, https://us.v-cdn.net/6038102/uploads/FEAUVRNAMQRO/image.png" sizes="100vw" /></a>
    </span>
</span>
<p>The docs says it output between <strong>0 and 1</strong>, this doesn't seem to be the case I tried reading a sine signal (0 to 3 ) using the <strong>simulated analog channel block. </strong>The output of the <strong>Analog input block</strong> also outputs sine (0 - 3).</p><p>Why is the block outputting 0 - 3 and not 0 - 1 as written in the docs? Its confusing</p>]]>
        </description>
    </item>
    <item>
        <title>Unexpected End of File Error Altair Embed</title>
        <link>https://community.altair.com/discussion/65372/unexpected-end-of-file-error-altair-embed</link>
        <pubDate>Fri, 19 Dec 2025 13:08:42 +0000</pubDate>
        <category>Community Q&amp;A</category>
        <dc:creator>xchum</dc:creator>
        <guid isPermaLink="false">65372@/discussions</guid>
        <description><![CDATA[<span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/KFEOY4NILKC3\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:4461,&quot;width&quot;:372,&quot;height&quot;:170,&quot;displaySize&quot;:&quot;medium&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FKFEOY4NILKC3%2Fimage.png&quot;,&quot;active&quot;:true,&quot;mediaID&quot;:101556,&quot;dateInserted&quot;:&quot;2025-12-19T13:03:53+00:00&quot;,&quot;insertUserID&quot;:482549,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;482549&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FKFEOY4NILKC3%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/KFEOY4NILKC3/image.png" alt="image.png" height="170" width="372" data-display-size="medium" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/KFEOY4NILKC3/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/KFEOY4NILKC3/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/KFEOY4NILKC3/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/KFEOY4NILKC3/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/KFEOY4NILKC3/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/KFEOY4NILKC3/image.png 2000w, https://us.v-cdn.net/6038102/uploads/KFEOY4NILKC3/image.png" sizes="100vw" /></a>
    </span>
</span>
<p>While opening Embed file , I'm getting this error. It happened after power outage while I was working on the file. Is there anyway to get it back? 😭 Does embed keeps local backup?</p>]]>
        </description>
    </item>
    <item>
        <title>Convert block not converting in Altair Embed</title>
        <link>https://community.altair.com/discussion/65319/convert-block-not-converting-in-altair-embed</link>
        <pubDate>Sat, 13 Dec 2025 13:48:56 +0000</pubDate>
        <category>Community Q&amp;A</category>
        <dc:creator>xchum</dc:creator>
        <guid isPermaLink="false">65319@/discussions</guid>
        <description><![CDATA[<span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/JZLDGR8R5N6D\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:7201,&quot;width&quot;:802,&quot;height&quot;:181,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FJZLDGR8R5N6D%2Fimage.png&quot;,&quot;active&quot;:true,&quot;mediaID&quot;:101409,&quot;dateInserted&quot;:&quot;2025-12-13T13:45:17+00:00&quot;,&quot;insertUserID&quot;:482549,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;482549&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FJZLDGR8R5N6D%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/JZLDGR8R5N6D/image.png" alt="image.png" height="181" width="802" data-display-size="large" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/JZLDGR8R5N6D/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/JZLDGR8R5N6D/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/JZLDGR8R5N6D/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/JZLDGR8R5N6D/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/JZLDGR8R5N6D/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/JZLDGR8R5N6D/image.png 2000w, https://us.v-cdn.net/6038102/uploads/JZLDGR8R5N6D/image.png" sizes="100vw" /></a>
    </span>
</span>
<p>I have this simple diagram, I code gen for stm32g431, but when I view the code I can see double cast.</p><span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/AE78QZDLYAHV\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:10674,&quot;width&quot;:1410,&quot;height&quot;:119,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FAE78QZDLYAHV%2Fimage.png&quot;,&quot;active&quot;:true,&quot;mediaID&quot;:101410,&quot;dateInserted&quot;:&quot;2025-12-13T13:47:57+00:00&quot;,&quot;insertUserID&quot;:482549,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;482549&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FAE78QZDLYAHV%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/AE78QZDLYAHV/image.png" alt="image.png" height="119" width="1410" data-display-size="large" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/AE78QZDLYAHV/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/AE78QZDLYAHV/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/AE78QZDLYAHV/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/AE78QZDLYAHV/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/AE78QZDLYAHV/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/AE78QZDLYAHV/image.png 2000w, https://us.v-cdn.net/6038102/uploads/AE78QZDLYAHV/image.png" sizes="100vw" /></a>
    </span>
</span>
<p>Why is embed using double even though I converted each input and output to float?</p>]]>
        </description>
    </item>
    <item>
        <title>Program did not start on DSP error - STM32</title>
        <link>https://community.altair.com/discussion/65266/program-did-not-start-on-dsp-error-stm32</link>
        <pubDate>Mon, 08 Dec 2025 19:12:11 +0000</pubDate>
        <category>Community Q&amp;A</category>
        <dc:creator>xchum</dc:creator>
        <guid isPermaLink="false">65266@/discussions</guid>
        <description><![CDATA[<p>I modeled a controller for a totem pole PFC in Embed, also using PSIM coupler for plant simulation. This is the top level diagram.</p><span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/KYEEZVOS7CPR\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:40777,&quot;width&quot;:1229,&quot;height&quot;:667,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FKYEEZVOS7CPR%2Fimage.png&quot;,&quot;active&quot;:true,&quot;mediaID&quot;:101103,&quot;dateInserted&quot;:&quot;2025-12-08T18:49:14+00:00&quot;,&quot;insertUserID&quot;:482549,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;482549&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FKYEEZVOS7CPR%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/KYEEZVOS7CPR/image.png" alt="image.png" height="667" width="1229" data-display-size="large" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/KYEEZVOS7CPR/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/KYEEZVOS7CPR/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/KYEEZVOS7CPR/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/KYEEZVOS7CPR/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/KYEEZVOS7CPR/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/KYEEZVOS7CPR/image.png 2000w, https://us.v-cdn.net/6038102/uploads/KYEEZVOS7CPR/image.png" sizes="100vw" /></a>
    </span>
</span>
<p>This is the inside of "MCU compound". it contains sense signals scaling and processing, inrush control, inner outer PFC loops.</p><span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/7SDICGU7DHBV\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:28789,&quot;width&quot;:1512,&quot;height&quot;:699,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2F7SDICGU7DHBV%2Fimage.png&quot;,&quot;active&quot;:true,&quot;mediaID&quot;:101105,&quot;dateInserted&quot;:&quot;2025-12-08T18:50:46+00:00&quot;,&quot;insertUserID&quot;:482549,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;482549&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2F7SDICGU7DHBV%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/7SDICGU7DHBV/image.png" alt="image.png" height="699" width="1512" data-display-size="large" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/7SDICGU7DHBV/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/7SDICGU7DHBV/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/7SDICGU7DHBV/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/7SDICGU7DHBV/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/7SDICGU7DHBV/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/7SDICGU7DHBV/image.png 2000w, https://us.v-cdn.net/6038102/uploads/7SDICGU7DHBV/image.png" sizes="100vw" /></a>
    </span>
</span>
<p>This is the inside of "VAC-iL - Bus processing" compound. I'm using FPU since STM32g4 supports FPU.</p><span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/POAWMZQ4WYQU\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:39417,&quot;width&quot;:1274,&quot;height&quot;:674,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FPOAWMZQ4WYQU%2Fimage.png&quot;,&quot;active&quot;:true,&quot;mediaID&quot;:101106,&quot;dateInserted&quot;:&quot;2025-12-08T18:53:19+00:00&quot;,&quot;insertUserID&quot;:482549,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;482549&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FPOAWMZQ4WYQU%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/POAWMZQ4WYQU/image.png" alt="image.png" height="674" width="1274" data-display-size="large" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/POAWMZQ4WYQU/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/POAWMZQ4WYQU/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/POAWMZQ4WYQU/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/POAWMZQ4WYQU/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/POAWMZQ4WYQU/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/POAWMZQ4WYQU/image.png 2000w, https://us.v-cdn.net/6038102/uploads/POAWMZQ4WYQU/image.png" sizes="100vw" /></a>
    </span>
</span>
<p>this is the inside of "voltage current loop", also in FPU.</p><span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/2A3ABUKPQ5O8\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:22536,&quot;width&quot;:1243,&quot;height&quot;:304,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2F2A3ABUKPQ5O8%2Fimage.png&quot;,&quot;active&quot;:true,&quot;mediaID&quot;:101107,&quot;dateInserted&quot;:&quot;2025-12-08T18:55:31+00:00&quot;,&quot;insertUserID&quot;:482549,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;482549&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2F2A3ABUKPQ5O8%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/2A3ABUKPQ5O8/image.png" alt="image.png" height="304" width="1243" data-display-size="large" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/2A3ABUKPQ5O8/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/2A3ABUKPQ5O8/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/2A3ABUKPQ5O8/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/2A3ABUKPQ5O8/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/2A3ABUKPQ5O8/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/2A3ABUKPQ5O8/image.png 2000w, https://us.v-cdn.net/6038102/uploads/2A3ABUKPQ5O8/image.png" sizes="100vw" /></a>
    </span>
</span>
<p>I'm trying to do PIL in a separate file, this is the main diagram. System time step is 200khz with run in real time unchecked and target interface sample rate is also 200kHz with sync target to this block checked. Code gets downloaded successfully but when I hit f5 after 3secs it say "program did not start on DSP"</p><span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/2NUM5WFH22B3\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:47101,&quot;width&quot;:1349,&quot;height&quot;:671,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2F2NUM5WFH22B3%2Fimage.png&quot;,&quot;active&quot;:true,&quot;mediaID&quot;:101108,&quot;dateInserted&quot;:&quot;2025-12-08T18:56:35+00:00&quot;,&quot;insertUserID&quot;:482549,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;482549&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2F2NUM5WFH22B3%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/2NUM5WFH22B3/image.png" alt="image.png" height="671" width="1349" data-display-size="large" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/2NUM5WFH22B3/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/2NUM5WFH22B3/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/2NUM5WFH22B3/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/2NUM5WFH22B3/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/2NUM5WFH22B3/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/2NUM5WFH22B3/image.png 2000w, https://us.v-cdn.net/6038102/uploads/2NUM5WFH22B3/image.png" sizes="100vw" /></a>
    </span>
</span>
<p>Here are some of my doubts - </p><ol><li>Is the problem with the MCU not being able to process the FPU? </li><li>Blocks like const, multiplier , summer etc is default to "double", do I need to add convert block to float for each of this blocks as stm32g4 only support single precision  FPU?</li><li>If I decide to use the fixed point then do i need to convert each block to fixed point including simple blocks like const, multiplier etc?</li><li>as you can see in the image I'm using local time step for blocks like rms, PLL, PI,etc will code gen work with this set up?</li><li>When i run the MCU compound file, it works as expected, error happens only during PIL.</li></ol><p>Any help is greatly appreciated. If any more information needed then please let me know.</p>]]>
        </description>
    </item>
    <item>
        <title>Using Altair Embed® to Develop a Battery Management System for Electric Vehicle Applications</title>
        <link>https://community.altair.com/discussion/33305/using-altair-embed-to-develop-a-battery-management-system-for-electric-vehicle-applications</link>
        <pubDate>Wed, 14 Apr 2021 06:48:44 +0000</pubDate>
        <category>Altair HyperWorks</category>
        <dc:creator>Mayank  Das</dc:creator>
        <guid isPermaLink="false">33305@/discussions</guid>
        <description><![CDATA[<p><span><span>Using Altair Embed</span><span>&reg;</span> <span>to Develop a Battery Management System for EV Applications</span></span></p> <p><span><em><span>Anthony Boon</span></em><em><span><br /></span></em><em><span>Digital Power Consultant for Altair</span></em></span></p> <p>&nbsp;</p> <p><span>Summary</span></p> <p><span>The steps performed to develop a battery management system (BMS) demonstration for EV applications are outlined. Three application examples are given, differing by their hardware implementation, starting from the initial experimentation to the routine development and on to a final production-ready design:</span></p> <ol> <li><span>BMS system set-up connected directly to the <a rel="nofollow" href="https://www.altair.com/embed/">Embed</a> GUI using real-time serial communication.</span></li> <li><span>BMS system set-up using a microcontroller board performing the real-time communication, control, and monitoring functions while connected to the <a rel="nofollow" href="https://www.altair.com/embed/">Embed</a> GUI.</span></li> <li><span>BMS system set-up using a central microcontroller and CAN communication with a vehicle control unit (VCU).&nbsp;</span></li> </ol> <p>&nbsp;</p> <p><span>Introduction</span></p> <p><span><span>Battery Electric Vehicles (BEVs) are becoming ever more popular and in high demand. The most critical and costly element of the BEV is the battery system. In order to guarantee optimal performance, it is important to continually monitor the battery pack and the enclosed cells connected in series</span> <span>under all driving conditions and during battery charging.</span></span></p> <p><span>The charging is required to occur in ever shorter intervals and at higher power, placing more stress on the battery if not managed correctly. The battery needs to be maintained in optimal condition to guarantee the maximum mileage range and life expectancy, by monitoring and controlling the equalization of the many cells in series, while maintaining the operating temperature of the battery pack within limits.</span></p> <p><span>Balancing the cell voltages during charging is necessary in order to equalize the charge applied to the cells, therefore maximizing the available state-of-charge (SOC) of the battery pack. Balancing the cell voltages also aids in maximizing the lifetime and optimizing the performance over that lifetime, thereby maximizing the so-named state-of-health (SOH) of the battery pack.</span></p> <p><span><span>The following BMS demonstration uses</span> <span>the bq76PL455EVM evaluation module&nbsp;</span></span><span>(</span><a rel="nofollow" href="https://www.ti.com/tool/BQ76PL455EVM"><span>https://www.ti.com/tool/BQ76PL455EVM</span></a><span>) </span><span><span>from Texas Instruments (TI) </span><span>as shown in figure 1.</span><span>&nbsp;<br /></span></span></p> <p>&nbsp;</p> <p><span><span><img src="https://us.v-cdn.net/6038102/uploads/attachments/5801108ddbef6810e8863978f4961920/Community-Pasted-Attachment-1618382178991.png" width="559" height="376" alt="image" /><br /><span><em>Figure 1: </em><em>Texas Instruments bq76PL455EVM </em><em>evaluation module.<br /><br /></em></span></span></span></p> <p><span>The TI bq76PL455EVM evaluation module supports from six to 16 cells in series, and up to six bq76PL455EVMs can be connected in a series configuration for a maximum of 96 cells in series (96S). However, the bq76PL455-q1 BMS chip of the evaluation module supports up to 16x16 cells in series (256S).</span></p> <p><span><span>The evaluation module requires a flexible battery setup in order to verify the configurability and robustness of the developed algorithms. For this reason, the battery board </span><span>as shown in figure 2 </span><span>was developed to connect directly to the TI bq76PL455EVM.</span></span></p> <p>&nbsp;</p> <p><span><span><img src="https://us.v-cdn.net/6038102/uploads/attachments/5801108ddbef6810e8863978f4961920/Community-Pasted-Attachment-1618382284879.png" width="577" height="353" alt="image" /><br /><span><em>Figure 2: </em><em>Battery board developed to evaluate the bq76PL455EVM together with <a rel="nofollow" href="https://www.altair.com/embed/">Altair Embed</a>.<br /><br /></em></span></span></span></p> <p><span><span>The battery board supports from one to 16 type 18650 cells </span><span>connected</span><span> in series. Other battery boards can be connected in series (or parallel) for higher battery pack voltages (or capacity), together with multiple bq76PL455EVM </span><span>evaluation</span><span> modules </span><span>(figure 9)</span><span>.&nbsp;</span></span></p> <p>&nbsp;</p> <p><span>Application example 1</span></p> <p><span><span>In this first application example, the TI bq76PL455EVM evaluation module</span> <span>is connected directly to the PC via a </span><span>real-time </span><span>serial interface. The bq76PL455EVM is </span><span>powered</span><span> by eight LiFePO</span><span>4</span><span> cells </span><span>mounted in a series configuration </span><span>on the battery board. The LiFePO</span><span>4</span><span> cells have a nominal voltage of 3.2V and are charged at a nominal charge voltage of 3.6V/cell.&nbsp;</span></span></p> <p>&nbsp;</p> <p><span><span><img src="https://us.v-cdn.net/6038102/uploads/attachments/5801108ddbef6810e8863978f4961920/Community-Pasted-Attachment-1618382454052.png" width="655" height="425" alt="image" /><br /></span></span><span><em><span>Figure 3: BMS setup with 8 series cells connected to a charger/load. The serial communication interface of the bq76PL455EVM is connected directly to the PC running the <a rel="nofollow" href="https://www.altair.com/embed/">Embed</a> GUI.<br /><br /></span></em></span></p> <p><span><span>The communication, monitoring, and control routine is performed in the <a rel="nofollow" href="https://www.altair.com/embed/">Embed</a> diagram running on the PC, which also forms the&nbsp;GUI of the battery monitoring system in this first application example. The Embed GUI reports all cell voltages, selected cell temperatures, alarms, balancing, and status of the BMS system and battery by constantly polling the bq76PL455EVM BMS module. Some pages of the Embed GUI developed for this system are shown in figure 4.</span></span></p> <p>&nbsp;</p> <p><span><span><img src="https://us.v-cdn.net/6038102/uploads/attachments/5801108ddbef6810e8863978f4961920/Community-Pasted-Attachment-1618382580020.png" width="675" height="597" alt="image" /><br /><span><em>Figure 4</em><em>: Example pages of the <a rel="nofollow" href="https://www.altair.com/embed/">Embed </a>GUI.<br /><br /></em></span></span></span></p> <p><span><span>The BMS system is completely configurable using the <a rel="nofollow" href="https://www.altair.com/embed/">Embed</a> GUI, </span><span>as shown in figure 5</span><span>.&nbsp;</span></span></p> <p><span><span><img src="https://us.v-cdn.net/6038102/uploads/attachments/5801108ddbef6810e8863978f4961920/Community-Pasted-Attachment-1618382661526.png" width="460" height="234" alt="image" /><br /><span><em>Figure 5</em><em>: Examples of the <a rel="nofollow" href="https://www.altair.com/embed/">Embed</a> GUI available configuration dialogs.<br /><br /></em></span></span></span></p> <p><span><span>The Embed GUI accurately reports the current condition of the battery pack and the BMS system and balancing.&nbsp;The GUI is also configurable for logging data and can be easily modified for customer-specific applications using the <a rel="nofollow" href="https://www.altair.com/embed/">Embed IDE</a>.</span></span></p> <p>&nbsp;</p> <p><span><span><img src="https://us.v-cdn.net/6038102/uploads/attachments/5801108ddbef6810e8863978f4961920/Community-Pasted-Attachment-1618382789518.png" width="337" height="309" alt="image" />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<img src="https://us.v-cdn.net/6038102/uploads/attachments/5801108ddbef6810e8863978f4961920/Community-Pasted-Attachment-1618382814943.png" width="338" height="311" alt="image" /><br /></span></span><span><em><span>Figure 6a</span></em><em><span>: Cell voltage imbalance after charging with balancing disabled.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span></em></span><span><em><span>Figure 6b</span></em><em><span>: Cell voltage balance after charging with balancing enabled.</span></em></span></p> <p><span><span><br />Figures 6a and 6b compare the results of charging with balancing disabled and balancing enabled. Any</span><span> small difference in the initial state of the battery cells and,</span> <span>in particular, the SOC of each individual battery cell causes differences in</span> <span>the cell voltages toward the end of the charging cycle. Even if initially small, these differences will increase over time after many discharge-charge cycles. Without cell voltage balancing, the result is</span> <span>an imbalance in the SOC</span> <span>of the cells, causing the battery pack as a whole to not be optimally charged and therefore not provide the optimal</span> <span>mileage range. Also, the charge imbalance can cause detrimental effects in the battery cells during use, decreasing the lifetime of the battery pack. In the worst case, catastrophic failure of one or more cells due to severe overcharging can occur.</span></span></p> <p><span><span>The majority of the imbalance in the equalization of the cells normally occurs above 90% of SOC toward the end of charging and for this reason, the charging may be terminated at 90% of SOC to help prevent overcharging of individual cells. Similarly, the battery may be shut down from discharge during driving when the SOC reaches 10% in order to protect against over discharge (</span><a rel="nofollow" href="https://www.electronicdesign.com/power-management/media-gallery/21150953/battery-management-ics-giveelectric-vehicle-batteries-a-boost"><span>reference</span></a><a rel="nofollow" href="https://www.electronicdesign.com/power-management/media-gallery/21150953/battery-management-ics-giveelectric-vehicle-batteries-a-boost"> 4</a></span><span><span>). This results in a nonoptimal</span> <span>mileage range due to the inability</span> <span>to utilize 100% of the battery capacity. A correctly balanced battery, along with an accurate SOC determination can optimize the SOC limits for the cut-off of the charger, as well as the battery when in discharge.&nbsp;</span></span></p> <p><span><span>The BMS system also monitors cell temperatures, which are particularly critical during rapid charging. If a </span><span>cell temperature begins to rise unexpectedly</span><span>,</span> <span>an appropriate action &ndash; such as reducing the charging rate or switching off the charger &ndash; must be immediately taken. By</span>&nbsp;<span>controlling the battery temperature with the cooling/heating system, </span><span>together with the monitoring of the cell temperatures</span><span>, the available mileage range can be optimized </span><span>because the available battery capacity is temperature dependent</span><span>.</span></span></p> <p><span>Comparator thresholds are completely configurable for all cells and actions can be taken depending upon the type of event or measurement performed.</span></p> <p>&nbsp;</p> <p><span>Application example 2</span></p> <p><span>In this application example, the TI bq76PL455EVM evaluation module serial interface is connected to the TMS320F28379 microcontroller mounted on an experimenter kit baseboard (</span><a rel="nofollow" href="https://www.ti.com/tool/TMDSDOCK28379D"><span>https://www.ti.com/tool/TMDSDOCK28379D</span></a><span>)<span>. Communication with the bq76PL455EVM and the necessary BMS operations are now performed directly in the microcontroller, while the microcontroller communicates the data to the Embed GUI via the JTAG interface. The use of the JTAG interface together with the <a rel="nofollow" href="https://www.altair.com/embed/">Embed IDE</a> significantly improves debugging the BMS communication, control and monitoring software when compared to other development environments.&nbsp;</span></span></p> <p><span><span>The battery pack configuration selected in this example has 16 series 18650 Li-Ion cells that</span> <span>are charged at a nominal 4.2V/cell. The configuration is shown </span><span>in figure 7</span><span>.</span></span></p> <p>&nbsp;</p> <p><span><span><img src="https://us.v-cdn.net/6038102/uploads/attachments/5801108ddbef6810e8863978f4961920/Community-Pasted-Attachment-1618383263240.png" width="738" height="454" alt="image" /><br /><span><em>Figure 7</em><em>: BMS setup with a Texas Instruments TMS320F28379 microcontroller interfaced directly to the EVM.<br /><br /></em></span></span></span></p> <p><span><span>The internal control block in the <a rel="nofollow" href="https://www.altair.com/embed/">Embed</a> GUI diagram of application example 1 is code-generated and compiled for the selected microcontroller using the compound block edge pins for data exchange. The generated OUT file is then linked in a target interface block to run the entire application in the microcontroller RAM. The <a rel="nofollow" href="https://www.altair.com/embed/">Embed</a> GUI, in this case, communicates with the microcontroller over the JTAG interface. The microcontroller communicates directly with the bq76PL455EVM over the serial interface. </span><span>The microcontroller also measures the battery pack voltage and current through a direct connection to the battery board, which is used for the determination of the SOC.</span></span></p> <p>&nbsp;</p> <p><span><span><img src="https://us.v-cdn.net/6038102/uploads/attachments/5801108ddbef6810e8863978f4961920/Community-Pasted-Attachment-1618383361741.png" width="377" height="343" alt="image" />&nbsp; &nbsp; &nbsp; &nbsp;<img src="https://us.v-cdn.net/6038102/uploads/attachments/5801108ddbef6810e8863978f4961920/Community-Pasted-Attachment-1618383403904.png" width="379" height="345" alt="image" /><br /></span></span><span><em><span>Figure 8</span></em><em><span>: <a rel="nofollow" href="https://www.altair.com/embed/">Embed</a> GUI applied to Application Example 2.</span></em></span></p> <p>&nbsp;</p> <p><span><span>This application can be easily expanded to more cells in series for higher battery voltages, using multiple battery boards and bq76PL455EVM modules. An example is the 32 cell, series configuration (32S) as shown in </span><span>figure 9</span><span>.</span></span></p> <p>&nbsp;</p> <p><span><span><img src="https://us.v-cdn.net/6038102/uploads/attachments/5801108ddbef6810e8863978f4961920/Community-Pasted-Attachment-1618389170093.png" width="703" height="458" alt="image" /><br /><span><em>Figure 9: </em><em>BMS setup with stacked EVMs and battery boards for higher battery voltages (in this case with a nominal battery voltage of 134.4V).<br /><br /></em></span></span></span></p> <p><span><span>In this case, EVM2 is also enabled in the <a rel="nofollow" href="https://www.altair.com/embed/">Embed</a> GUI resulting in the population of the cell voltages and temperatures for cells 17 to 32,</span> <span>as shown </span><span>in figure 10.</span></span></p> <p>&nbsp;</p> <p><span><span><img src="https://us.v-cdn.net/6038102/uploads/attachments/5801108ddbef6810e8863978f4961920/Community-Pasted-Attachment-1618389707932.png" width="390" height="356" alt="image" />&nbsp; &nbsp; &nbsp;&nbsp;<img src="https://us.v-cdn.net/6038102/uploads/attachments/5801108ddbef6810e8863978f4961920/Community-Pasted-Attachment-1618389801865.png" width="388" height="356" alt="image" /><br /></span></span><span><em><span>Figure 10: <a rel="nofollow" href="https://www.altair.com/embed/">Embed</a></span></em><em><span>&nbsp;GUI for Application Example 2 with EVMs 1 and 2 enabled for up to 32 series cells.<br /><br /></span></em></span></p> <p><span><em><span><br /><img src="https://us.v-cdn.net/6038102/uploads/attachments/5801108ddbef6810e8863978f4961920/Community-Pasted-Attachment-1618390028086.png" width="770" height="114" alt="image" /></span></em></span></p> <p>&nbsp;</p> <p><span>Application example 3</span></p> <p><span><span>In this application example, the TI bq76PL455EVM evaluation module is connected to the microcontroller as in application example 2; however, the routine has </span><span>been programmed into the non-volatile flash memory</span><span> of the microcontroller and the BMS control routine can operate independently. Communication </span><span>with the vehicle control unit (VCU) and monitoring system</span><span> is performed over a CAN bus interface </span><span>as shown in figure 11.</span></span></p> <p><span>Alternatively, the microcontroller can communicate with an external device through a serial RS485 or SPI interface, depending upon the desired final hardware infrastructure. The microcontroller can also concurrently communicate with the <a rel="nofollow" href="https://www.altair.com/embed/">Embed</a> GUI through a second serial interface or over the JTAG interface, if additional debugging is required during this procedure.</span></p> <p><span>The firmware as developed in figure 11 can be applied to BEVs, with modules similar to the bq76PL455EVM located near the monitored cells in the battery pack and a single BMS monitoring and control, microcontroller board located in a central and accessible location in the vehicle.</span></p> <p>&nbsp;</p> <p><span><img src="https://us.v-cdn.net/6038102/uploads/attachments/5801108ddbef6810e8863978f4961920/Community-Pasted-Attachment-1618390143997.png" width="549" height="336" alt="image" /><br /></span><span><em><span>Figure 11</span></em><em><span>: Independent operation of the BMS system with CAN bus communication </span></em><em><span>with the vehicle control unit (VCU), and BMS firmware ready for application with in-vehicle operation.</span></em></span></p> <p>&nbsp;</p> <p><span>Conclusions</span></p> <p><span>The examples have been successfully developed with the TI bq76PL455EVM evaluation module equipped with the TI bq76PL455-q1 BMS chip. The BMS algorithms can be completely developed, debugged and verified in the Embed IDE for production-ready applications. The algorithms can be easily developed for (or converted to) other manufacturer&rsquo;s BMS chips, and their corresponding evaluation modules such as:&nbsp;</span></p> <ul> <li><span><span>The evaluation module EVAL-L9963 using the ST L9963 chip -</span>&nbsp; </span><span><a rel="nofollow" href="https://www.st.com/content/st_com/eval-l9963.html">https://www.st.com/content/st_com/eval-l9963.html</a></span></li> </ul> <ul> <li><span>The evaluation module TLE9012AQU_DTR_BMS2 using the Infineon TLE9012AQU chip -</span> <span><a rel="nofollow" href="https://www.infineon.com/cms/en/product/evaluation-boards/tle9012aqu_dtr_bms2/">https://www.infineon.com/cms/en/product/evaluation-boards/tle9012aqu_dtr_bms2/<br /><br /></a></span></li> <li><span>The evaluation module FRDM33771BTPLEVB using the NXP MC33771B chip &ndash; </span><a rel="nofollow" href="https://www.nxp.com/products/power-management/battery-management/battery-cell-controllers/evaluation-board-for-mc33771-with-isolated-daisy-chain-communication:FRDM33771BTPLEVB"><span>FRDM33771BTPLEVB | MC33771 TPL EVB | NXP Semiconductors<br /><br /></span></a></li> <li><span>The evaluation module DC2259A using the Analog Devices LTC6811 chip &ndash; </span><a rel="nofollow" href="https://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/dc2259a.html#eb-overview"><span>DC2259A Evaluation Board | Analog Devices<br /><br /></span></a></li> <li><span>The evaluation module MAX17853EVKIT using the Maxim MAX17853 chip &ndash; </span><a rel="nofollow" href="https://www.maximintegrated.com/en/products/power/battery-management/MAX17853EVKIT.html"><span>MAX17853EVKIT Evaluation Kit for the MAX17853 - Maxim Integrated</span></a></li> </ul> <p><span>The communication, control, and monitoring algorithm has been developed for the TI TMS320F28379 microcontroller and can be easily converted for any automotive compatible or other microcontroller such as the TMS570 from TI, the Aurix series from Infineon or any of the STM32 chips.</span></p> <p><span><span>The development and debugging of the communication, control, and monitoring algorithms was greatly simplified using the visual, model-based development environment of</span> <span>Embed: A complete, production-ready design of the BMS firmware can be developed using only the <a rel="nofollow" href="https://www.altair.com/embed/">Altair Embed IDE</a></span><span>.</span></span></p> <p>Learn more about Embed through comprehensive help guide :<span><strong>&nbsp;<a rel="nofollow" href="https://help.altair.com/2021/embed/index.html">Embed Help</a></strong></span></p> <p>&nbsp;</p> <p><span>References</span></p> <ol> <li><span>Texas Instruments: SLUUBA7A, bq76PL455EVM and GUI User Guide;&nbsp; </span><a rel="nofollow" href="https://www.ti.com/lit/ug/sluuba7a/sluuba7a.pdf?ts=1616340154573&amp;ref_url=https%253A%252F%252Fwww.ti.com%252Ftool%252FBQ76PL455EVM"><span>https://www.ti.com/lit/ug/sluuba7a/</span></a><span>&nbsp;<br /><br /></span></li> <li><span>Texas Instruments: SLUSC51C, bq76PL455A-Q1 Datasheet; </span><a rel="nofollow" href="https://www.ti.com/product/BQ76PL455A-Q1"><span>BQ76PL455A-Q1 data sheet, product information and support | TI.com</span></a><span>&nbsp;<br /><br /></span></li> <li><span><span>Texas Instruments: SLVA617A, bq76PL455EVM Software Design Reference;</span> </span><a rel="nofollow" href="https://www.ti.com/lit/an/slva617a/slva617a.pdf?ts=1616373310490"><span>bq76PL455A-Q1 Software Design Reference (ti.com)</span></a><span>&nbsp;<br /><br /></span></li> <li><span>Electronic Design: Battery Management ICs give Electric Vehicle Batteries a Boost; </span><a rel="nofollow" href="https://www.electronicdesign.com/power-management/media-gallery/21150953/battery-management-ics-giveelectric-vehicle-batteries-a-boost"><span>https://www.electronicdesign.com/power-management/media-gallery/21150953/battery-management-ics-giveelectric-vehicle-batteries-a-boost</span></a><span>&nbsp;</span></li> </ol> <p>&nbsp;</p> <p><span>About the author</span></p> <p><span><img src="https://us.v-cdn.net/6038102/uploads/attachments/5801108ddbef6810e8863978f4961920/TonyBoon-Lighter.jpg" width="302" height="319" alt="image" /><br /></span><span><span><em><span>Anthony Boon</span></em></span><span>&nbsp;</span></span></p> <p><span><span>He has thirty-five years of experience in the power electronics industry in Australia and Europe, designing, developing and verifying complete power conversion systems, from the power and control electronics, magnetic and thermal design, control algorithms and firmware design. His last 25 years have been especially dedicated to the digital control of those systems for real-time embedded control and simulation of power conversion systems using <a rel="nofollow" href="https://www.altair.com/embed/">Altair Embed</a>, which has been a critical tool for his work in this area.</span></span></p> <p><span>Over the past 20 years, he has been working as a consultant in the fields of power conversion technology and digital control, developing complete systems for customers such as critical battery back-up systems including the development of the appropriate battery management technology.</span></p>]]>
        </description>
    </item>
    <item>
        <title>STM32 &quot;Target failed to respond&quot; error during HIL</title>
        <link>https://community.altair.com/discussion/65164/stm32-target-failed-to-respond-error-during-hil</link>
        <pubDate>Sun, 30 Nov 2025 18:00:58 +0000</pubDate>
        <category>Community Q&amp;A</category>
        <dc:creator>xchum</dc:creator>
        <guid isPermaLink="false">65164@/discussions</guid>
        <description><![CDATA[<p>Hello friends, I'm trying to learn embed. The target MCU is STM32g431. </p><p>I set up a simple diagram. A pulse generator to PC6 (onboard LED) and PA10. In hardware i connected PA10 and PA1. PA1 is the ADC2 output, ADC is trigger by Tim1_trgo2, then finally ADC reading is send to PA4 where my LED is connected.</p><p>when I run this in HIL with "sync target to this block" enabled , nothing shows in plot not even the CPU usage (sometimes target not respond error), without the sync target I see PC6 led blink but not the wired led (I tested the led on the same port using the GPIO block only and it worked, wired led is healthy) . The error happens only when I do the ADC route.</p><p>These are the relevant screenshots</p><span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/WWFGOIEVGWDK\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:9474,&quot;width&quot;:609,&quot;height&quot;:305,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FWWFGOIEVGWDK%2Fimage.png&quot;,&quot;active&quot;:true,&quot;mediaID&quot;:100863,&quot;dateInserted&quot;:&quot;2025-11-30T17:52:30+00:00&quot;,&quot;insertUserID&quot;:482549,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;482549&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FWWFGOIEVGWDK%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/WWFGOIEVGWDK/image.png" alt="image.png" height="305" width="609" data-display-size="large" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/WWFGOIEVGWDK/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/WWFGOIEVGWDK/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/WWFGOIEVGWDK/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/WWFGOIEVGWDK/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/WWFGOIEVGWDK/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/WWFGOIEVGWDK/image.png 2000w, https://us.v-cdn.net/6038102/uploads/WWFGOIEVGWDK/image.png" sizes="100vw" /></a>
    </span>
</span>
<span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/MXFALTJIUYNC\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:31258,&quot;width&quot;:967,&quot;height&quot;:684,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FMXFALTJIUYNC%2Fimage.png&quot;,&quot;active&quot;:true,&quot;mediaID&quot;:100864,&quot;dateInserted&quot;:&quot;2025-11-30T17:52:46+00:00&quot;,&quot;insertUserID&quot;:482549,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;482549&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FMXFALTJIUYNC%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/MXFALTJIUYNC/image.png" alt="image.png" height="684" width="967" data-display-size="large" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/MXFALTJIUYNC/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/MXFALTJIUYNC/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/MXFALTJIUYNC/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/MXFALTJIUYNC/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/MXFALTJIUYNC/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/MXFALTJIUYNC/image.png 2000w, https://us.v-cdn.net/6038102/uploads/MXFALTJIUYNC/image.png" sizes="100vw" /></a>
    </span>
</span>
<span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/OYIYU2XJVE4O\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:26900,&quot;width&quot;:1052,&quot;height&quot;:642,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FOYIYU2XJVE4O%2Fimage.png&quot;,&quot;active&quot;:true,&quot;mediaID&quot;:100865,&quot;dateInserted&quot;:&quot;2025-11-30T17:53:05+00:00&quot;,&quot;insertUserID&quot;:482549,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;482549&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FOYIYU2XJVE4O%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/OYIYU2XJVE4O/image.png" alt="image.png" height="642" width="1052" data-display-size="large" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/OYIYU2XJVE4O/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/OYIYU2XJVE4O/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/OYIYU2XJVE4O/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/OYIYU2XJVE4O/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/OYIYU2XJVE4O/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/OYIYU2XJVE4O/image.png 2000w, https://us.v-cdn.net/6038102/uploads/OYIYU2XJVE4O/image.png" sizes="100vw" /></a>
    </span>
</span>
<span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/AZAYSKE3LLHV\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:13940,&quot;width&quot;:490,&quot;height&quot;:422,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FAZAYSKE3LLHV%2Fimage.png&quot;,&quot;active&quot;:true,&quot;mediaID&quot;:100866,&quot;dateInserted&quot;:&quot;2025-11-30T17:53:28+00:00&quot;,&quot;insertUserID&quot;:482549,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;482549&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FAZAYSKE3LLHV%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/AZAYSKE3LLHV/image.png" alt="image.png" height="422" width="490" data-display-size="large" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/AZAYSKE3LLHV/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/AZAYSKE3LLHV/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/AZAYSKE3LLHV/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/AZAYSKE3LLHV/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/AZAYSKE3LLHV/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/AZAYSKE3LLHV/image.png 2000w, https://us.v-cdn.net/6038102/uploads/AZAYSKE3LLHV/image.png" sizes="100vw" /></a>
    </span>
</span>
<span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/BJ596CPZEQ6D\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:10358,&quot;width&quot;:421,&quot;height&quot;:396,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FBJ596CPZEQ6D%2Fimage.png&quot;,&quot;active&quot;:true,&quot;mediaID&quot;:100867,&quot;dateInserted&quot;:&quot;2025-11-30T17:53:56+00:00&quot;,&quot;insertUserID&quot;:482549,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;482549&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FBJ596CPZEQ6D%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/BJ596CPZEQ6D/image.png" alt="image.png" height="396" width="421" data-display-size="large" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/BJ596CPZEQ6D/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/BJ596CPZEQ6D/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/BJ596CPZEQ6D/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/BJ596CPZEQ6D/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/BJ596CPZEQ6D/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/BJ596CPZEQ6D/image.png 2000w, https://us.v-cdn.net/6038102/uploads/BJ596CPZEQ6D/image.png" sizes="100vw" /></a>
    </span>
</span>
<p>Things I tried -</p><ol><li>Different PWM speed</li><li>Different Embed time step and target interface sample rate.</li><li>Enabled the execute on interrupt option.</li><li>Restarting embed and force reset the MCU</li></ol><p>Please help me. I have been banging my head with all the AI chatbots and Embed Docs but cannot find a solution. I'm still a beginner in this field so please excuse me if anything seems illogical 😄</p>]]>
        </description>
    </item>
    <item>
        <title>Embed</title>
        <link>https://community.altair.com/discussion/64418/embed</link>
        <pubDate>Tue, 23 Sep 2025 21:49:21 +0000</pubDate>
        <category>Community Q&amp;A</category>
        <dc:creator>WoodyRKW</dc:creator>
        <guid isPermaLink="false">64418@/discussions</guid>
        <description><![CDATA[<p>Applications that use the optimization feature of Embed</p>]]>
        </description>
    </item>
    <item>
        <title>How do I edit this DPD block in Embed?</title>
        <link>https://community.altair.com/discussion/65022/how-do-i-edit-this-dpd-block-in-embed</link>
        <pubDate>Sat, 15 Nov 2025 13:07:28 +0000</pubDate>
        <category>Community Q&amp;A</category>
        <dc:creator>xchum</dc:creator>
        <guid isPermaLink="false">65022@/discussions</guid>
        <description><![CDATA[<span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/O5MW2ZT5RT00\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:3099,&quot;width&quot;:245,&quot;height&quot;:115,&quot;displaySize&quot;:&quot;medium&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FO5MW2ZT5RT00%2Fimage.png&quot;,&quot;active&quot;:true,&quot;mediaID&quot;:100515,&quot;dateInserted&quot;:&quot;2025-11-15T12:53:45+00:00&quot;,&quot;insertUserID&quot;:482549,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;482549&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FO5MW2ZT5RT00%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/O5MW2ZT5RT00/image.png" alt="image.png" height="115" width="245" data-display-size="medium" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/O5MW2ZT5RT00/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/O5MW2ZT5RT00/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/O5MW2ZT5RT00/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/O5MW2ZT5RT00/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/O5MW2ZT5RT00/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/O5MW2ZT5RT00/image.png 2000w, https://us.v-cdn.net/6038102/uploads/O5MW2ZT5RT00/image.png" sizes="100vw" /></a>
    </span>
</span>
<p>I have this SOGI-PLL from DPD , I want to edit this block , I edit this block by going to File → Diagram Information and made the changes but when I save and close the file then reopen , it reverts back to how it was. How can I make permanent change to any blocks inside DPD menu.</p>]]>
        </description>
    </item>
    <item>
        <title>Can real time blocks be used for code generation?</title>
        <link>https://community.altair.com/discussion/64852/can-real-time-blocks-be-used-for-code-generation</link>
        <pubDate>Sat, 01 Nov 2025 13:15:08 +0000</pubDate>
        <category>Community Q&amp;A</category>
        <dc:creator>xchum</dc:creator>
        <guid isPermaLink="false">64852@/discussions</guid>
        <description><![CDATA[<p>I’m using Altair Embed 2025.1 (Digital Power Designer) with an STM32G431 target.  Can all the blocks available in REAL TIME section of DPD be used for code generation? for example there is SOGI-PLL block , internally it uses continuous integrator so it is not in z-domain , the docs also mention that all real time blocks can be used for code generation. Even though the docs mention it, I just wanted to make 100% sure it is correct. Does embed auto converts the real time blocks like SOGI-PLL block to z-domain during code generation? if not then do we need to take any action?</p><span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/H8B5JPMGPR09\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:2965,&quot;width&quot;:284,&quot;height&quot;:102,&quot;displaySize&quot;:&quot;medium&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FH8B5JPMGPR09%2Fimage.png&quot;,&quot;active&quot;:true,&quot;mediaID&quot;:100092,&quot;dateInserted&quot;:&quot;2025-11-01T13:11:08+00:00&quot;,&quot;insertUserID&quot;:482549,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;482549&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FH8B5JPMGPR09%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/H8B5JPMGPR09/image.png" alt="image.png" height="102" width="284" data-display-size="medium" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/H8B5JPMGPR09/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/H8B5JPMGPR09/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/H8B5JPMGPR09/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/H8B5JPMGPR09/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/H8B5JPMGPR09/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/H8B5JPMGPR09/image.png 2000w, https://us.v-cdn.net/6038102/uploads/H8B5JPMGPR09/image.png" sizes="100vw" /></a>
    </span>
</span>
<span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/9646MG4RXOTS\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:38434,&quot;width&quot;:996,&quot;height&quot;:282,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2F9646MG4RXOTS%2Fimage.png&quot;,&quot;active&quot;:true,&quot;mediaID&quot;:100093,&quot;dateInserted&quot;:&quot;2025-11-01T13:11:35+00:00&quot;,&quot;insertUserID&quot;:482549,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;482549&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2F9646MG4RXOTS%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/9646MG4RXOTS/image.png" alt="image.png" height="282" width="996" data-display-size="large" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/9646MG4RXOTS/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/9646MG4RXOTS/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/9646MG4RXOTS/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/9646MG4RXOTS/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/9646MG4RXOTS/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/9646MG4RXOTS/image.png 2000w, https://us.v-cdn.net/6038102/uploads/9646MG4RXOTS/image.png" sizes="100vw" /></a>
    </span>
</span>
<span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/SLDSPS8D6QQ3\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:49225,&quot;width&quot;:678,&quot;height&quot;:157,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FSLDSPS8D6QQ3%2Fimage.png&quot;,&quot;active&quot;:true,&quot;mediaID&quot;:100094,&quot;dateInserted&quot;:&quot;2025-11-01T13:14:58+00:00&quot;,&quot;insertUserID&quot;:482549,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;482549&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FSLDSPS8D6QQ3%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/SLDSPS8D6QQ3/image.png" alt="image.png" height="157" width="678" data-display-size="large" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/SLDSPS8D6QQ3/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/SLDSPS8D6QQ3/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/SLDSPS8D6QQ3/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/SLDSPS8D6QQ3/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/SLDSPS8D6QQ3/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/SLDSPS8D6QQ3/image.png 2000w, https://us.v-cdn.net/6038102/uploads/SLDSPS8D6QQ3/image.png" sizes="100vw" /></a>
    </span>
</span>
]]>
        </description>
    </item>
    <item>
        <title>what is the purpose of 1/x uint properties(*inside slip freq calculator block) in induction motor</title>
        <link>https://community.altair.com/discussion/64757/what-is-the-purpose-of-1-x-uint-properties-inside-slip-freq-calculator-block-in-induction-motor</link>
        <pubDate>Fri, 24 Oct 2025 07:18:14 +0000</pubDate>
        <category>Community Q&amp;A</category>
        <dc:creator>Reshmi</dc:creator>
        <guid isPermaLink="false">64757@/discussions</guid>
        <description><![CDATA[<p>Hi,</p><p>In the Induction motor project, the 1/x unit properties inside of slip frequency calculator block, there is a value like (Hz) = 10 <strong>(Slip Freq Calculator block location; main motor control -&gt; foc /current controller im -&gt; slip freq calculator -&gt; 1/x unit properties)</strong>. </p><p>1.What is the purpose of this Pole(Hz) value=10 ? </p><p><strong>Induction motor project path; eDrives\Advanced User Guide Diagrams\IM_3ph_FOC_sensored_TI\HIL-F0049-    GanINV\IMFOC_sensored_F0049-GANINV-compile.vsm</strong></p><p>2. I am unable to open that block; it is locked.</p><span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/QOJTML14089F\/slip-freq-calculator.png&quot;,&quot;name&quot;:&quot;slip freq calculator.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:47998,&quot;width&quot;:1755,&quot;height&quot;:919,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FQOJTML14089F%2Fslip-freq-calculator.png&quot;,&quot;active&quot;:true,&quot;mediaID&quot;:99834,&quot;dateInserted&quot;:&quot;2025-10-24T07:01:08+00:00&quot;,&quot;insertUserID&quot;:120,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;120&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FQOJTML14089F%2Fslip-freq-calculator.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/QOJTML14089F/slip-freq-calculator.png" alt="slip freq calculator.png" height="919" width="1755" data-display-size="large" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/QOJTML14089F/slip-freq-calculator.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/QOJTML14089F/slip-freq-calculator.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/QOJTML14089F/slip-freq-calculator.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/QOJTML14089F/slip-freq-calculator.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/QOJTML14089F/slip-freq-calculator.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/QOJTML14089F/slip-freq-calculator.png 2000w, https://us.v-cdn.net/6038102/uploads/QOJTML14089F/slip-freq-calculator.png" sizes="100vw" /></a>
    </span>
</span>
<p></p><p>Regards,</p><p>Reshmi Team</p>]]>
        </description>
    </item>
    <item>
        <title>External function call to output a matrix</title>
        <link>https://community.altair.com/discussion/64284/external-function-call-to-output-a-matrix</link>
        <pubDate>Tue, 09 Sep 2025 04:03:05 +0000</pubDate>
        <category>Community Q&amp;A</category>
        <dc:creator>Kavishka</dc:creator>
        <guid isPermaLink="false">64284@/discussions</guid>
        <description><![CDATA[<p>Hi, I'm very new to altair external functions, so I'm strugeling to get an output as a 3x1 matrix. If anyone can give a kind support would be greatly appriciated. </p>]]>
        </description>
    </item>
    <item>
        <title>Error when using STM32 DMA config block</title>
        <link>https://community.altair.com/discussion/64161/error-when-using-stm32-dma-config-block</link>
        <pubDate>Fri, 29 Aug 2025 09:18:10 +0000</pubDate>
        <category>Community Q&amp;A</category>
        <dc:creator>xchum</dc:creator>
        <guid isPermaLink="false">64161@/discussions</guid>
        <description><![CDATA[<span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/EZZIGAQYPF07\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:22945,&quot;width&quot;:839,&quot;height&quot;:529,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;mediaID&quot;:98230,&quot;dateInserted&quot;:&quot;2025-08-29T09:06:38+00:00&quot;,&quot;insertUserID&quot;:482549,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;482549&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FEZZIGAQYPF07%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/EZZIGAQYPF07/image.png" alt="image.png" height="529" width="839" data-display-size="large" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/EZZIGAQYPF07/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/EZZIGAQYPF07/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/EZZIGAQYPF07/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/EZZIGAQYPF07/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/EZZIGAQYPF07/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/EZZIGAQYPF07/image.png 2000w, https://us.v-cdn.net/6038102/uploads/EZZIGAQYPF07/image.png" sizes="100vw" /></a>
    </span>
</span>
<span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/8AA3V09BVVG8\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:23284,&quot;width&quot;:591,&quot;height&quot;:416,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;mediaID&quot;:98231,&quot;dateInserted&quot;:&quot;2025-08-29T09:07:06+00:00&quot;,&quot;insertUserID&quot;:482549,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;482549&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2F8AA3V09BVVG8%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/8AA3V09BVVG8/image.png" alt="image.png" height="416" width="591" data-display-size="large" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/8AA3V09BVVG8/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/8AA3V09BVVG8/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/8AA3V09BVVG8/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/8AA3V09BVVG8/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/8AA3V09BVVG8/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/8AA3V09BVVG8/image.png 2000w, https://us.v-cdn.net/6038102/uploads/8AA3V09BVVG8/image.png" sizes="100vw" /></a>
    </span>
</span>
<p>Hi everyone,<br />
I'm trying to get DMA to transfer ADC1 data to memory (0x20000000) automatically on STM32G431CB. ADC1 is triggered by TIM1_CC1. If I set DMA trigger source to ADC1 and try to codegen then it throws this Picture 2 error.</p><p>I checked all the DMA block examples provided by Altair, but I did not understand anything since I am a beginner in this field and the examples don't seem to use ADC, but simple waveforms read and write.</p><p>I also checked YouTube and AI tools but couldn't find any useful information. It's very hard to learn Embed, there is very limited beginner-friendly docs and tuts.</p><p>Any help is greatly appreciated. Thank you</p>]]>
        </description>
    </item>
    <item>
        <title>How to generate code for a PFC circuit from PSIM using Embed v2025.1 for STM32?</title>
        <link>https://community.altair.com/discussion/63952/how-to-generate-code-for-a-pfc-circuit-from-psim-using-embed-v2025-1-for-stm32</link>
        <pubDate>Thu, 07 Aug 2025 11:20:08 +0000</pubDate>
        <category>Community Q&amp;A</category>
        <dc:creator>xchum</dc:creator>
        <guid isPermaLink="false">63952@/discussions</guid>
        <description><![CDATA[<p><strong>Description:</strong> </p><p>I have designed a PFC (Power Factor Correction) circuit using <strong>Altair PSIM</strong> and I now want to generate embedded code for it using <strong>Altair Embed v2025.1</strong> targeting an <strong>STM32 microcontroller</strong>.</p><p></p><p>However, I'm struggling to get started because I can't find any beginner-friendly learning resources or tutorials for the latest version of Embed. The interface and workflow are very new to me, and it’s a bit overwhelming since I’ve never used this kind of software before.</p><p></p><p>Can anyone please guide me through the steps required to generate the embedded code for my PFC circuit using Embed? I’d really appreciate it if someone could walk me through the basics and help me understand the process clearly.</p><p></p><p>For context:</p><p></p><ul><li>I'm a <strong>Bachelor’s student in Electronics</strong>, very eager to learn.</li><li>I can offer a small <strong>BTC payment</strong> for a personal tutorial, though it's not much.</li></ul><p></p><p>Please help if you can 🙏.</p><p><strong>Product/Topic Name : </strong></p><p>Altair PSIM + Altair Embed v2025.1<br />
Target: STM32 Microcontroller</p><p> </p>]]>
        </description>
    </item>
    <item>
        <title>Encoder Pulse Missing-TMS320F28379D MCU</title>
        <link>https://community.altair.com/discussion/63381/encoder-pulse-missing-tms320f28379d-mcu</link>
        <pubDate>Tue, 17 Jun 2025 04:54:39 +0000</pubDate>
        <category>Community Q&amp;A</category>
        <dc:creator>Reshmi</dc:creator>
        <guid isPermaLink="false">63381@/discussions</guid>
        <description><![CDATA[<p>Dear Team,</p><p>We are currently using the Altair Embed 2024 license version.<br />&#13;While reading the encoder (GPIO24 &amp; GPIO25) using the TMS320F28379D in our own microcontroller , we are experiencing missed pulse counts.<br />&#13; (Our motor has a tick count of 4000 per full rotation)</p><p><br />&#13;Ideally, the tick count should go from 0 to the maximum for one full rotation, but we are missing around 200 tick counts. Additionally,we have attached vsm file.</p><p></p><div data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/PEFOLJCWJXIK\/79d-eqep.vsm&quot;,&quot;name&quot;:&quot;79D_EQEP.vsm&quot;,&quot;type&quot;:&quot;application\/octet-stream&quot;,&quot;size&quot;:4080,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FPEFOLJCWJXIK%2F79d-eqep.vsm&quot;,&quot;mediaID&quot;:95257,&quot;dateInserted&quot;:&quot;2025-06-17T04:51:01+00:00&quot;,&quot;insertUserID&quot;:120,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;120&quot;,&quot;embedType&quot;:&quot;file&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <a rel="nofollow" href="https://community.altair.com/api/v2/media/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FPEFOLJCWJXIK%2F79d-eqep.vsm" download="" aria-label="79D_EQEP.vsm">
        79D_EQEP.vsm
    </a>
</div>
<p>Regards,</p><p>Reshmi R&amp;D Team.</p>]]>
        </description>
    </item>
    <item>
        <title>LAUNCHXL-F28379D CAN Configuration</title>
        <link>https://community.altair.com/discussion/6548/launchxl-f28379d-can-configuration</link>
        <pubDate>Thu, 15 Aug 2019 19:05:08 +0000</pubDate>
        <category>Community Q&amp;A</category>
        <dc:creator>Altair Forum User</dc:creator>
        <guid isPermaLink="false">6548@/discussions</guid>
        <description><![CDATA[<p> 	I am new to Embed and Launchpads, but I was able to setup a simple CAN transmit on a LAUNCHXL-28069M, but am having problems with a LAUNCHXL-28379D. It seems like there are less options in the CAN Config dialog. I have selected CANB as that's what appears to be routed to the transceiver on the Launchpad. I am using Embed 2017.2 and CCS 7.1.0.  </p>  <p> 	  </p>  <p> 	Any ideas on what I could be doing wrong? </p>]]>
        </description>
    </item>
    <item>
        <title>Issue with too few arguments to the getJsonKeyValuePairStr() function</title>
        <link>https://community.altair.com/discussion/63216/issue-with-too-few-arguments-to-the-getjsonkeyvaluepairstr-function</link>
        <pubDate>Sun, 01 Jun 2025 14:21:21 +0000</pubDate>
        <category>Community Q&amp;A</category>
        <dc:creator>nand0026</dc:creator>
        <guid isPermaLink="false">63216@/discussions</guid>
        <description><![CDATA[<span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/9L4OCKIGNPYI\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:115281,&quot;width&quot;:1113,&quot;height&quot;:593,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;mediaID&quot;:94692,&quot;dateInserted&quot;:&quot;2025-06-01T14:07:48+00:00&quot;,&quot;insertUserID&quot;:481084,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;481084&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2F9L4OCKIGNPYI%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/9L4OCKIGNPYI/image.png" alt="image.png" height="593" width="1113" data-display-size="large" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/9L4OCKIGNPYI/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/9L4OCKIGNPYI/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/9L4OCKIGNPYI/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/9L4OCKIGNPYI/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/9L4OCKIGNPYI/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/9L4OCKIGNPYI/image.png 2000w, https://us.v-cdn.net/6038102/uploads/9L4OCKIGNPYI/image.png" sizes="100vw" /></a>
    </span>
</span>
<p>I have encountered an issue where a function regarding the Json create string block is missing an argument, even though all the connections are connected on the block. I have attached my vsm file below for review. </p><div data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/991Q3YWPC5S5\/watertempservice.vsm&quot;,&quot;name&quot;:&quot;WaterTempService.vsm&quot;,&quot;type&quot;:&quot;application\/octet-stream&quot;,&quot;size&quot;:9739,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2F991Q3YWPC5S5%2Fwatertempservice.vsm&quot;,&quot;mediaID&quot;:94693,&quot;dateInserted&quot;:&quot;2025-06-01T14:20:58+00:00&quot;,&quot;insertUserID&quot;:481084,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;481084&quot;,&quot;embedType&quot;:&quot;file&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <a rel="nofollow" href="https://community.altair.com/api/v2/media/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2F991Q3YWPC5S5%2Fwatertempservice.vsm" download="" aria-label="WaterTempService.vsm">
        WaterTempService.vsm
    </a>
</div>
]]>
        </description>
    </item>
    <item>
        <title>Issue in running mqtt subscribe block in raspberry pi</title>
        <link>https://community.altair.com/discussion/63213/issue-in-running-mqtt-subscribe-block-in-raspberry-pi</link>
        <pubDate>Sun, 01 Jun 2025 13:07:31 +0000</pubDate>
        <category>Community Q&amp;A</category>
        <dc:creator>ZeXin_0927</dc:creator>
        <guid isPermaLink="false">63213@/discussions</guid>
        <description><![CDATA[<p>I am currently having the issue of running my vsm file that just included the new mqtt subscribe block. The vsm file is converted into out file and run on my raspberry pi. Whenever I publish the new value onto the topic, the out file will say it receives the latest value but then end with unhandled signal 11, terminated. I also tried to run the standard vsm file of MqttIoTStudioBrokerTestRaspberryPi from Altair embed, it has the same issue as well. Screenshots attached below:<br /></p><span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/U8HDB88X9VD0\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:32774,&quot;width&quot;:1630,&quot;height&quot;:174,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;mediaID&quot;:94687,&quot;dateInserted&quot;:&quot;2025-06-01T13:03:52+00:00&quot;,&quot;insertUserID&quot;:481081,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;481081&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FU8HDB88X9VD0%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/U8HDB88X9VD0/image.png" alt="image.png" height="174" width="1630" data-display-size="large" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/U8HDB88X9VD0/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/U8HDB88X9VD0/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/U8HDB88X9VD0/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/U8HDB88X9VD0/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/U8HDB88X9VD0/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/U8HDB88X9VD0/image.png 2000w, https://us.v-cdn.net/6038102/uploads/U8HDB88X9VD0/image.png" sizes="100vw" /></a>
    </span>
</span>
<span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/WY0XR6QQBN9X\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:39768,&quot;width&quot;:1417,&quot;height&quot;:175,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;mediaID&quot;:94688,&quot;dateInserted&quot;:&quot;2025-06-01T13:04:15+00:00&quot;,&quot;insertUserID&quot;:481081,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;481081&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FWY0XR6QQBN9X%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/WY0XR6QQBN9X/image.png" alt="image.png" height="175" width="1417" data-display-size="large" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/WY0XR6QQBN9X/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/WY0XR6QQBN9X/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/WY0XR6QQBN9X/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/WY0XR6QQBN9X/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/WY0XR6QQBN9X/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/WY0XR6QQBN9X/image.png 2000w, https://us.v-cdn.net/6038102/uploads/WY0XR6QQBN9X/image.png" sizes="100vw" /></a>
    </span>
</span>
<div data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/OQX8CODMZELB\/milestone3-turb-ph-lux-camera-31988229.vsm&quot;,&quot;name&quot;:&quot;milestone3_Turb_pH_Lux_Camera_31988229.vsm&quot;,&quot;type&quot;:&quot;application\/octet-stream&quot;,&quot;size&quot;:44110,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FOQX8CODMZELB%2Fmilestone3-turb-ph-lux-camera-31988229.vsm&quot;,&quot;mediaID&quot;:94689,&quot;dateInserted&quot;:&quot;2025-06-01T13:06:22+00:00&quot;,&quot;insertUserID&quot;:481081,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;481081&quot;,&quot;embedType&quot;:&quot;file&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <a rel="nofollow" href="https://community.altair.com/api/v2/media/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FOQX8CODMZELB%2Fmilestone3-turb-ph-lux-camera-31988229.vsm" download="" aria-label="milestone3_Turb_pH_Lux_Camera_31988229.vsm">
        milestone3_Turb_pH_Lux_Camera_31988229.vsm
    </a>
</div>
<p>My vsm files are attached below as well. Is this a bug of the mqtt subscribing block, if not is there any solution? Thank you</p>]]>
        </description>
    </item>
    <item>
        <title>Debug code downloaded into flash</title>
        <link>https://community.altair.com/discussion/22132/debug-code-downloaded-into-flash</link>
        <pubDate>Tue, 28 Jan 2020 07:25:54 +0000</pubDate>
        <category>Community Q&amp;A</category>
        <dc:creator>wanvo</dc:creator>
        <guid isPermaLink="false">22132@/discussions</guid>
        <description><![CDATA[<p> 	<span xml:lang="en"><span title="">How to use</span></span> debug diagram if <span xml:lang="en"><span title="">code does not fit in RAM</span></span> ? </p>  <p> 	<span xml:lang="en"><span title="">Can I preload</span></span> FLASH with option <span>'Use selected compound edge pins for data exchange' and </span> <span xml:lang="en"><span title="">after that attach</span></span> JTAG Target Interface for debugging code in FLASH? </p>  <p> 	  </p>  <p> 	PS. <span xml:lang="en"><span title="">No need to answer, everything works, thanks.</span></span> <span xml:lang="en"><span title="">I did not find how to remove the topic</span></span> </p>]]>
        </description>
    </item>
    <item>
        <title>Embed - How to Add a C function to an Embed Model for Simulation or HIL</title>
        <link>https://community.altair.com/discussion/62670/embed-how-to-add-a-c-function-to-an-embed-model-for-simulation-or-hil</link>
        <pubDate>Tue, 15 Apr 2025 16:50:10 +0000</pubDate>
        <category>Altair HyperWorks</category>
        <dc:creator>Ric_22025</dc:creator>
        <guid isPermaLink="false">62670@/discussions</guid>
        <description><![CDATA[<p>Adding C functions to your Altair Embed model is simple using the "Extern Definition" block and "Extern Function" block.  The Extern Definition block lets you supply any legal file scope C syntax, such as structures with initializers,  #includes, #pragmas, typedefs, arrays, and function definitions. The Extern Function block lets you call an external function.  In this example we will create a factorial C function and include it in an Embed simulation as well as codegen it and include it as part of  the firmware running on a Texas Instruments F28069M launchpad. </p><p>Two Examples are described in this document:</p><p>Example 1:  Include C code into your Embed diagram and simulate it. </p><p>Example 2:  Create firmware from the same C code function, execute it on a target MCU, and plot the real time results on the PC running Embed. For this example, the Texas Instruments F28069M MCU is used.   </p><p><strong>Example 1: Include C code into your Embed diagram and simulate it:</strong></p><p>Step 1:  Copy/paste <strong>calcFactorial.c </strong>into the <strong>\cg\include </strong>subfolder located in the Altair Embed installation folder OR any folder, for example; had you created a “/test/codegen” folder in the Embed install folder (ex. “C:\Altair\Embed2025_64\test\codegen), <strong>calcFactorial.c</strong>file would be copied into this subfolder. </p><p>Step 2:  Create an Embed diagram using the <strong>Extern</strong> blocks.  These blocks are universal and can be obtained from any of the <strong>Embedded</strong> targets, for this example blocks are obtained from the Arduino Target.  Add one <strong>Extern Definition </strong>and <strong>Extern Function </strong>block to your  diagram.  </p><span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/GHYHR3MMRMC8\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:119524,&quot;width&quot;:1194,&quot;height&quot;:446,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;mediaID&quot;:93140,&quot;dateInserted&quot;:&quot;2025-04-16T15:45:11+00:00&quot;,&quot;insertUserID&quot;:6990,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;6990&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FGHYHR3MMRMC8%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/GHYHR3MMRMC8/image.png" alt="image.png" height="446" width="1194" data-display-size="large" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/GHYHR3MMRMC8/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/GHYHR3MMRMC8/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/GHYHR3MMRMC8/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/GHYHR3MMRMC8/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/GHYHR3MMRMC8/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/GHYHR3MMRMC8/image.png 2000w, https://us.v-cdn.net/6038102/uploads/GHYHR3MMRMC8/image.png" sizes="100vw" /></a>
    </span>
</span>
<p>* The Altair Embed installation folder name will vary based on the version of Embed you are using.</p><p>Step 3:  Configure the <strong>Extern Definition </strong>and <strong>Extern Function </strong>blocks to access your c code.  </p><span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/CWR4VH3CWJPY\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:196249,&quot;width&quot;:1791,&quot;height&quot;:753,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;mediaID&quot;:93141,&quot;dateInserted&quot;:&quot;2025-04-16T16:15:53+00:00&quot;,&quot;insertUserID&quot;:6990,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;6990&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FCWR4VH3CWJPY%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/CWR4VH3CWJPY/image.png" alt="image.png" height="753" width="1791" data-display-size="large" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/CWR4VH3CWJPY/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/CWR4VH3CWJPY/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/CWR4VH3CWJPY/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/CWR4VH3CWJPY/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/CWR4VH3CWJPY/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/CWR4VH3CWJPY/image.png 2000w, https://us.v-cdn.net/6038102/uploads/CWR4VH3CWJPY/image.png" sizes="100vw" /></a>
    </span>
</span>
<p>Step 4:  Encapsulate the <strong>Extern Definition </strong>and <strong>Extern Function </strong>blocks into a compound block with one input and one output, we’ll name the block <strong>factorial. </strong>Make sure the <strong>Extern Function </strong>block in the <strong>factorial</strong> compound block is connected to the compound block input and output pins.   </p><span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/0GKZMBW8FS5P\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:39095,&quot;width&quot;:1396,&quot;height&quot;:361,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;mediaID&quot;:93142,&quot;dateInserted&quot;:&quot;2025-04-16T16:16:20+00:00&quot;,&quot;insertUserID&quot;:6990,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;6990&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2F0GKZMBW8FS5P%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/0GKZMBW8FS5P/image.png" alt="image.png" height="361" width="1396" data-display-size="large" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/0GKZMBW8FS5P/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/0GKZMBW8FS5P/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/0GKZMBW8FS5P/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/0GKZMBW8FS5P/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/0GKZMBW8FS5P/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/0GKZMBW8FS5P/image.png 2000w, https://us.v-cdn.net/6038102/uploads/0GKZMBW8FS5P/image.png" sizes="100vw" /></a>
    </span>
</span>
<p>Step 5:  Name the Embed diagram and save it.  The codegen will produce a .c file with the same you assign to the Embed diagram. Make sure you do not use the C source file name as this will create a duplicate .c file.  We will name the Embed diagram <strong>calcFactorial88.vsm</strong></p><p>Step 6:  Select the <strong>factorial</strong> compound block and select <strong>Tools/ Code Gen… </strong>to create a DLL   </p><span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/CNFTHVWWF50G\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:230534,&quot;width&quot;:1376,&quot;height&quot;:679,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;mediaID&quot;:93143,&quot;dateInserted&quot;:&quot;2025-04-16T16:17:00+00:00&quot;,&quot;insertUserID&quot;:6990,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;6990&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FCNFTHVWWF50G%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/CNFTHVWWF50G/image.png" alt="image.png" height="679" width="1376" data-display-size="large" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/CNFTHVWWF50G/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/CNFTHVWWF50G/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/CNFTHVWWF50G/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/CNFTHVWWF50G/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/CNFTHVWWF50G/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/CNFTHVWWF50G/image.png 2000w, https://us.v-cdn.net/6038102/uploads/CNFTHVWWF50G/image.png" sizes="100vw" /></a>
    </span>
</span>
<p>Step 7:  After the <strong>Compile</strong>… is completed, a <strong>User Blocks </strong>dropdown is automatically added to the Embed Menu bar containing the DLL name in its dropdown menu.</p><span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/K629FCK3Z9EU\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:18808,&quot;width&quot;:427,&quot;height&quot;:134,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;mediaID&quot;:93144,&quot;dateInserted&quot;:&quot;2025-04-16T16:17:23+00:00&quot;,&quot;insertUserID&quot;:6990,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;6990&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FK629FCK3Z9EU%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/K629FCK3Z9EU/image.png" alt="image.png" height="134" width="427" data-display-size="large" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/K629FCK3Z9EU/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/K629FCK3Z9EU/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/K629FCK3Z9EU/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/K629FCK3Z9EU/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/K629FCK3Z9EU/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/K629FCK3Z9EU/image.png 2000w, https://us.v-cdn.net/6038102/uploads/K629FCK3Z9EU/image.png" sizes="100vw" /></a>
    </span>
</span>
<p>Step 8:  Run the diagram to test the DLL and display the results. The simulation will be terminated at 5-factorial because the calcFactorial function returns an integer which limits to 2^16 = 65536</p><span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/H5CRDALOWB47\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:34890,&quot;width&quot;:952,&quot;height&quot;:475,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;mediaID&quot;:93145,&quot;dateInserted&quot;:&quot;2025-04-16T16:17:47+00:00&quot;,&quot;insertUserID&quot;:6990,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;6990&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FH5CRDALOWB47%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/H5CRDALOWB47/image.png" alt="image.png" height="475" width="952" data-display-size="large" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/H5CRDALOWB47/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/H5CRDALOWB47/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/H5CRDALOWB47/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/H5CRDALOWB47/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/H5CRDALOWB47/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/H5CRDALOWB47/image.png 2000w, https://us.v-cdn.net/6038102/uploads/H5CRDALOWB47/image.png" sizes="100vw" /></a>
    </span>
</span>
<p></p><p><strong>Example 2:  Create firmware from the same C code function, execute it on a target MCU, and plot the real time results on the PC running Embed. For this example, the Texas Instruments F28069M MCU is used.   </strong></p><p>Reuse  Steps 1, 2, and 3 from Example 1</p><p>Step 4:  Add a <strong>config</strong> block to the diagram for the MCU being used, in this example the <strong>F28x</strong> config block is used.  The diagram becomes: </p><span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/6LL5YJKBVQ16\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:51085,&quot;width&quot;:1393,&quot;height&quot;:390,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;mediaID&quot;:93146,&quot;dateInserted&quot;:&quot;2025-04-16T16:20:07+00:00&quot;,&quot;insertUserID&quot;:6990,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;6990&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2F6LL5YJKBVQ16%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/6LL5YJKBVQ16/image.png" alt="image.png" height="390" width="1393" data-display-size="large" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/6LL5YJKBVQ16/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/6LL5YJKBVQ16/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/6LL5YJKBVQ16/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/6LL5YJKBVQ16/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/6LL5YJKBVQ16/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/6LL5YJKBVQ16/image.png 2000w, https://us.v-cdn.net/6038102/uploads/6LL5YJKBVQ16/image.png" sizes="100vw" /></a>
    </span>
</span>
<p>Step 5:  Name the Embed diagram and save it.  The codegen will produce a .c file with the same you assign to the Embed diagram. Make sure you do not use the C source file name as this will create a duplicate .c file.  We will name the Embed diagram <strong>calcFactorial88.vsm</strong></p><p>Step 6: Select the <strong>factorial</strong> compound block and select <strong>Tools/ Code Gen… </strong>This creates the .out file (firmware file) from the c source file. </p><span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/G1E5AA4P6B2O\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:226858,&quot;width&quot;:1416,&quot;height&quot;:665,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;mediaID&quot;:93147,&quot;dateInserted&quot;:&quot;2025-04-16T16:20:41+00:00&quot;,&quot;insertUserID&quot;:6990,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;6990&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FG1E5AA4P6B2O%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/G1E5AA4P6B2O/image.png" alt="image.png" height="665" width="1416" data-display-size="large" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/G1E5AA4P6B2O/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/G1E5AA4P6B2O/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/G1E5AA4P6B2O/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/G1E5AA4P6B2O/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/G1E5AA4P6B2O/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/G1E5AA4P6B2O/image.png 2000w, https://us.v-cdn.net/6038102/uploads/G1E5AA4P6B2O/image.png" sizes="100vw" /></a>
    </span>
</span>
<p>Step 7:  Insert a <strong>Target Interface </strong>block from the <strong>Embedded/ F280x </strong>menu and connect its inputs and outputs</p><span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/BSWJPIX9DTTD\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:32363,&quot;width&quot;:597,&quot;height&quot;:230,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;mediaID&quot;:93148,&quot;dateInserted&quot;:&quot;2025-04-16T16:21:04+00:00&quot;,&quot;insertUserID&quot;:6990,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;6990&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FBSWJPIX9DTTD%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/BSWJPIX9DTTD/image.png" alt="image.png" height="230" width="597" data-display-size="large" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/BSWJPIX9DTTD/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/BSWJPIX9DTTD/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/BSWJPIX9DTTD/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/BSWJPIX9DTTD/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/BSWJPIX9DTTD/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/BSWJPIX9DTTD/image.png 2000w, https://us.v-cdn.net/6038102/uploads/BSWJPIX9DTTD/image.png" sizes="100vw" /></a>
    </span>
</span>
<p>Step 8:  Connect the F28069M launchpad to your PC and run the diagram.  The <strong>Target Interface </strong>module loads and executes the firmware to run on the F28069M target.  Use the plot block to view the results. </p><span data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/QA24VJHD64JQ\/image.png&quot;,&quot;name&quot;:&quot;image.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:36841,&quot;width&quot;:997,&quot;height&quot;:429,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;mediaID&quot;:93149,&quot;dateInserted&quot;:&quot;2025-04-16T16:21:26+00:00&quot;,&quot;insertUserID&quot;:6990,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;6990&quot;,&quot;embedType&quot;:&quot;image&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <span>
        <a href="https://community.altair.com/home/leaving?allowTrusted=1&amp;target=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FQA24VJHD64JQ%2Fimage.png" rel="nofollow noopener ugc" target="_blank">
            <img src="https://us.v-cdn.net/6038102/uploads/QA24VJHD64JQ/image.png" alt="image.png" height="429" width="997" data-display-size="large" data-float="none" data-type="image/png" data-embed-type="image" srcset="https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=300, width=300/6038102/uploads/QA24VJHD64JQ/image.png 300w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=600, width=600/6038102/uploads/QA24VJHD64JQ/image.png 600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=800, width=800/6038102/uploads/QA24VJHD64JQ/image.png 800w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1200, width=1200/6038102/uploads/QA24VJHD64JQ/image.png 1200w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=1600, width=1600/6038102/uploads/QA24VJHD64JQ/image.png 1600w, https://us.v-cdn.net/cdn-cgi/image/quality=80, format=auto, fit=scale-down, height=2000, width=2000/6038102/uploads/QA24VJHD64JQ/image.png 2000w, https://us.v-cdn.net/6038102/uploads/QA24VJHD64JQ/image.png" sizes="100vw" /></a>
    </span>
</span>
]]>
        </description>
    </item>
    <item>
        <title>E-drive : encode base frequency and speedpole</title>
        <link>https://community.altair.com/discussion/61116/e-drive-encode-base-frequency-and-speedpole</link>
        <pubDate>Fri, 10 Jan 2025 13:26:01 +0000</pubDate>
        <category>Community Q&amp;A</category>
        <dc:creator>Reshmi</dc:creator>
        <guid isPermaLink="false">61116@/discussions</guid>
        <description><![CDATA[<p>Hi team...</p><p>I am using BLDC motor...in this motor magnetic encoder is provided with 4000 counts/revolution.<br />&#13;
However, here I am attaching file for encoder base frequency  which you can use in your diagram and you can see within the compound block the implementations using band pass filters (LPHPF) and Speedpole (2000Hz).<br />&#13;
Can you please signify what is speed pole and why 2000 Hz value you have used here ?</p><div data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/FSVMJZYA6FUA\/speedpole.png&quot;,&quot;name&quot;:&quot;speedpole.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:66557,&quot;width&quot;:1920,&quot;height&quot;:1031,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FFSVMJZYA6FUA%2Fspeedpole.png&quot;,&quot;mediaID&quot;:84227,&quot;dateInserted&quot;:&quot;2025-01-10T08:27:17+00:00&quot;,&quot;insertUserID&quot;:120,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;120&quot;,&quot;embedType&quot;:&quot;file&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <a rel="nofollow" href="https://community.altair.com/api/v2/media/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FFSVMJZYA6FUA%2Fspeedpole.png" download="" aria-label="speedpole.png">
        speedpole.png
    </a>
</div>
<div data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/BFJL7OLBJXVP\/encoder-base-freq.png&quot;,&quot;name&quot;:&quot;encoder base freq.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:73782,&quot;width&quot;:1920,&quot;height&quot;:1035,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FBFJL7OLBJXVP%2Fencoder-base-freq.png&quot;,&quot;mediaID&quot;:84228,&quot;dateInserted&quot;:&quot;2025-01-10T08:27:17+00:00&quot;,&quot;insertUserID&quot;:120,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;120&quot;,&quot;embedType&quot;:&quot;file&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <a rel="nofollow" href="https://community.altair.com/api/v2/media/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FBFJL7OLBJXVP%2Fencoder-base-freq.png" download="" aria-label="encoder base freq.png">
        encoder base freq.png
    </a>
</div>
]]>
        </description>
    </item>
    <item>
        <title>How to pass an argument in a function in altair embed?</title>
        <link>https://community.altair.com/discussion/61928/how-to-pass-an-argument-in-a-function-in-altair-embed</link>
        <pubDate>Wed, 26 Feb 2025 11:05:28 +0000</pubDate>
        <category>Community Q&amp;A</category>
        <dc:creator>Reshmi</dc:creator>
        <guid isPermaLink="false">61928@/discussions</guid>
        <description><![CDATA[<p>Dear Sir,</p><p>We are trying to work to define a function and call it to another function.But shows below errors.</p><p>Error 1: "ReadHolding_Reg.c", line 23: error #18: expected a ")"</p><p>Error 2:"ReadHolding_Reg.c", line 23: error #142-D: unnamed prototyped parameters not allowed when body is present</p><p>Error3:"ReadHolding_Reg.c", line 74: error #141: too many arguments in function call</p><p>Below warnings are occured:</p><p>1.".\include\ti\f28004x\debug.h", line 86: warning #48-D: incompatible redefinition of macro "ASSERT" (declared at line 228 of "C:\Altair\Embed2023_64\vsdk\include\Vsuser.h")</p><p>2."ReadHolding_Reg.c", line 33: warning #225-D: function "crc16" declared implicitly</p><p>3."ReadHolding_Reg.c", line 40: warning #161-D: declaration is incompatible with previous "crc16" (declared at line 33)</p><p>We tried several methods but still the same error was occured.Here we attached our .VSM file generated c code also..</p><div data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/5KT3EJNC6Y79\/readholding-reg.vsm&quot;,&quot;name&quot;:&quot;ReadHolding Reg.vsm&quot;,&quot;type&quot;:&quot;application\/octet-stream&quot;,&quot;size&quot;:12279,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2F5KT3EJNC6Y79%2Freadholding-reg.vsm&quot;,&quot;mediaID&quot;:88214,&quot;dateInserted&quot;:&quot;2025-02-26T10:58:16+00:00&quot;,&quot;insertUserID&quot;:120,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;120&quot;,&quot;embedType&quot;:&quot;file&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <a rel="nofollow" href="https://community.altair.com/api/v2/media/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2F5KT3EJNC6Y79%2Freadholding-reg.vsm" download="" aria-label="ReadHolding Reg.vsm">
        ReadHolding Reg.vsm
    </a>
</div>
<div data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/YO7KV6Y95ZB8\/c-code.txt&quot;,&quot;name&quot;:&quot;C_Code.txt&quot;,&quot;type&quot;:&quot;text\/plain&quot;,&quot;size&quot;:3272,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FYO7KV6Y95ZB8%2Fc-code.txt&quot;,&quot;mediaID&quot;:88216,&quot;dateInserted&quot;:&quot;2025-02-26T10:59:45+00:00&quot;,&quot;insertUserID&quot;:120,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;120&quot;,&quot;embedType&quot;:&quot;file&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <a rel="nofollow" href="https://community.altair.com/api/v2/media/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FYO7KV6Y95ZB8%2Fc-code.txt" download="" aria-label="C_Code.txt">
        C_Code.txt
    </a>
</div>
<p></p><div data-embedjson="{&quot;url&quot;:&quot;https:\/\/us.v-cdn.net\/6038102\/uploads\/XTNTHOOQ988V\/errors.png&quot;,&quot;name&quot;:&quot;Errors.png&quot;,&quot;type&quot;:&quot;image\/png&quot;,&quot;size&quot;:91244,&quot;width&quot;:1110,&quot;height&quot;:621,&quot;displaySize&quot;:&quot;large&quot;,&quot;float&quot;:&quot;none&quot;,&quot;downloadUrl&quot;:&quot;https:\/\/community.altair.com\/api\/v2\/media\/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FXTNTHOOQ988V%2Ferrors.png&quot;,&quot;mediaID&quot;:88218,&quot;dateInserted&quot;:&quot;2025-02-26T11:00:21+00:00&quot;,&quot;insertUserID&quot;:120,&quot;foreignType&quot;:&quot;embed&quot;,&quot;foreignID&quot;:&quot;120&quot;,&quot;embedType&quot;:&quot;file&quot;,&quot;embedStyle&quot;:&quot;rich_embed_card&quot;}">
    <a rel="nofollow" href="https://community.altair.com/api/v2/media/download-by-url?url=https%3A%2F%2Fus.v-cdn.net%2F6038102%2Fuploads%2FXTNTHOOQ988V%2Ferrors.png" download="" aria-label="Errors.png">
        Errors.png
    </a>
</div>
<p>Thanks &amp; Regards,</p><p>Reshmi R&amp;D Team.</p>]]>
        </description>
    </item>
    <item>
        <title>How do I represent a limiter in Embed?</title>
        <link>https://community.altair.com/discussion/61513/how-do-i-represent-a-limiter-in-embed</link>
        <pubDate>Fri, 07 Feb 2025 22:48:43 +0000</pubDate>
        <category>Community Q&amp;A</category>
        <dc:creator>Neyl_62</dc:creator>
        <guid isPermaLink="false">61513@/discussions</guid>
        <description><![CDATA[<p>Hello everyone,<br />&#13;
I am a new user of the Embed (personal edition). I am modeling a synchronous machine and, in the model, there is an output that tha value must be limited. I looked in the block options that the program provides, but I could not find the limiter block. Could someone please help?</p>]]>
        </description>
    </item>
   </channel>
</rss>
