<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Adc_integration_issue in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Adc-integration-issue/m-p/2049818#M10017</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203341"&gt;@stefanvlad&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Sorry for the late response.&lt;/P&gt;&lt;P&gt;I have tested the ADC example and integrated a new ADC model. The new ADC integration model (located in the &lt;EM&gt;Adc_Integration&lt;/EM&gt; folder) is functioning correctly without any issues.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (1).png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/325328iDAC61BFB728C4103/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot (1).png" alt="Screenshot (1).png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, in the &lt;EM&gt;s32k312_pwm_lcu_mod_carrier_s32ct&lt;/EM&gt; model file, we are encountering a problem.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;When configuring any pins in &lt;STRONG&gt;ADC_Group_0&lt;/STRONG&gt;, we can successfully read and modify the count values.&lt;/LI&gt;&lt;LI&gt;However, when applying the same pin configuration to &lt;STRONG&gt;ADC_Group_1&lt;/STRONG&gt;, it does not function as expected.&lt;/LI&gt;&lt;LI&gt;We have thoroughly reviewed both files and compared the configurations of &lt;STRONG&gt;Group_0 and Group_1&lt;/STRONG&gt;, but we could not identify any differences. Despite this, ADC_Group_1 remains non-functional.&lt;/LI&gt;&lt;LI&gt;Additionally, when configuring &lt;STRONG&gt;ADC_Group_2&lt;/STRONG&gt;, there is no output or digital count observed.&lt;/LI&gt;&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (6).png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/325332i7E65C4375E3A4ED8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot (6).png" alt="Screenshot (6).png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;We are unsure of the root cause of this issue and would appreciate any insights.&lt;/P&gt;&lt;P&gt;I have attached both the files with this post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly help us on this issue ASAP.&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Feb 2025 10:12:18 GMT</pubDate>
    <dc:creator>Vijay98</dc:creator>
    <dc:date>2025-02-24T10:12:18Z</dc:date>
    <item>
      <title>Adc_integration_issue</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Adc-integration-issue/m-p/2032209#M9948</link>
      <description>&lt;P&gt;Hello NXP Team,&lt;/P&gt;&lt;P&gt;Thank you for your invaluable support and assistance. We truly appreciate your efforts and dedication in helping us achieve our goals.&lt;/P&gt;&lt;P&gt;Currently, we are facing one issue with integration of ADC peripherals with PWM configuration.&lt;/P&gt;&lt;P&gt;1. First with the help of&amp;nbsp;&lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/1955433" target="_blank" rel="noopener"&gt;Solved: Pwm_delay_in_trigger_pulse - NXP Community&lt;/A&gt;&amp;nbsp;this post we can be able to generate PWM pulse using LCU logic.&lt;/P&gt;&lt;P&gt;But, in that model we are trying to integrate ADC peripherals.&lt;/P&gt;&lt;P&gt;while integrating the ADC peripherals, we are seeing that one ADC channel is working but other channels are not working in that particular model with PWM.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_4-1737536751939.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/320808iB2FEF7E7931EBA5B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_4-1737536751939.png" alt="Vijay98_4-1737536751939.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ADC0GROUP0&lt;/STRONG&gt; is used for &lt;STRONG&gt;channel 0&lt;/STRONG&gt;&amp;nbsp;for getting the &lt;STRONG&gt;ADC counts value from pin PTE15&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_1-1737536595057.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/320805iCF417E5FEB4CCB6F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_1-1737536595057.png" alt="Vijay98_1-1737536595057.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_2-1737536626985.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/320806iD0D91ACB94E577F5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_2-1737536626985.png" alt="Vijay98_2-1737536626985.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_3-1737536646407.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/320807iCCC3F56DE4F5EAEA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_3-1737536646407.png" alt="Vijay98_3-1737536646407.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_0-1737536916723.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/320809iD6470BAB9D38A568/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_0-1737536916723.png" alt="Vijay98_0-1737536916723.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ADC0GROUP1&lt;/STRONG&gt;&amp;nbsp;is used for &lt;STRONG&gt;channel 1&lt;/STRONG&gt;&amp;nbsp;for getting the &lt;STRONG&gt;ADC counts value from pin PTE10&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_1-1737537016986.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/320810i1D7B7D638CC5231F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_1-1737537016986.png" alt="Vijay98_1-1737537016986.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_2-1737537035394.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/320811iD903982C47D9FECC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_2-1737537035394.png" alt="Vijay98_2-1737537035394.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_3-1737537054495.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/320812iF3E9CD81EF1DAC77/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_3-1737537054495.png" alt="Vijay98_3-1737537054495.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_4-1737537088308.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/320813i00D063F3A47F25D6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_4-1737537088308.png" alt="Vijay98_4-1737537088308.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And the result is;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_0-1737536289193.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/320803iCED8C72542594E1D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_0-1737536289193.png" alt="Vijay98_0-1737536289193.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;We can't able to see the output in Cnts 2 (PTE10).&lt;/P&gt;&lt;P&gt;We set the same configuration for both the channels 1 &amp;amp; 2.&lt;/P&gt;&lt;P&gt;We cannot be able to find the error in this.&lt;/P&gt;&lt;P&gt;We tried with other pins also; we are getting the same error.&lt;/P&gt;&lt;P&gt;Kindly help us with this.&lt;/P&gt;&lt;P&gt;I have attached the model with this post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 09:21:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Adc-integration-issue/m-p/2032209#M9948</guid>
      <dc:creator>Vijay98</dc:creator>
      <dc:date>2025-01-22T09:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: Adc_integration_issue</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Adc-integration-issue/m-p/2036691#M9962</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232522"&gt;@Vijay98&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your appreciation, and a Happy New Year!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding your attached project, i have tried to build and run on my S32K312EVB but it goes to a Hard Fault:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-01-31 191800.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/322019iC7A3FF2B11A23BC7/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-01-31 191800.png" alt="Screenshot 2025-01-31 191800.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;It seems to be a problem with the FreeMASTER over CAN.&lt;/P&gt;
&lt;P&gt;Can you send me the latest working project ?&lt;/P&gt;
&lt;P&gt;To help with your ADC problem i will take a closer look into &lt;STRONG&gt;s32k3xx_adc_single_read_s32ct&lt;/STRONG&gt;.mdl example:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-01-31 193229.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/322023iE44EC8E6E9A1EB7D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-01-31 193229.png" alt="Screenshot 2025-01-31 193229.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here you can open the two instances of S32 Configuration Tools from&amp;nbsp;C:\MathWorks\Toolboxes\NXP_MBDToolbox_S32K3xx_150\tools\S32ConfigTools.2024.R1.7\tools.exe&lt;/P&gt;
&lt;P&gt;Then you can compare the two configurations side by side:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-01-31 193404.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/322024iEB0CD4798BAC1F83/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-01-31 193404.png" alt="Screenshot 2025-01-31 193404.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I will recommend to use the settings from&amp;nbsp;&lt;STRONG&gt;s32k3xx_adc_single_read_s32ct.mdl&amp;nbsp;&lt;/STRONG&gt;and modify them in your configuration.&lt;/P&gt;
&lt;P&gt;Also i saw in your model , that you are not using Hardware Interrupts for the ADC reading functions:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-01-31 193938.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/322025i6C268E2A5079429D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-01-31 193938.png" alt="Screenshot 2025-01-31 193938.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So let me know how the ADC works after you test your model with&amp;nbsp;the settings from&amp;nbsp;&lt;STRONG&gt;s32k3xx_adc_single_read_s32ct.mdl,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;And send your the latest working model, not the one that goes into Hard Fault.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Stefan V.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2025 17:49:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Adc-integration-issue/m-p/2036691#M9962</guid>
      <dc:creator>stefanvlad</dc:creator>
      <dc:date>2025-01-31T17:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Adc_integration_issue</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Adc-integration-issue/m-p/2049818#M10017</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203341"&gt;@stefanvlad&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Sorry for the late response.&lt;/P&gt;&lt;P&gt;I have tested the ADC example and integrated a new ADC model. The new ADC integration model (located in the &lt;EM&gt;Adc_Integration&lt;/EM&gt; folder) is functioning correctly without any issues.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (1).png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/325328iDAC61BFB728C4103/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot (1).png" alt="Screenshot (1).png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, in the &lt;EM&gt;s32k312_pwm_lcu_mod_carrier_s32ct&lt;/EM&gt; model file, we are encountering a problem.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;When configuring any pins in &lt;STRONG&gt;ADC_Group_0&lt;/STRONG&gt;, we can successfully read and modify the count values.&lt;/LI&gt;&lt;LI&gt;However, when applying the same pin configuration to &lt;STRONG&gt;ADC_Group_1&lt;/STRONG&gt;, it does not function as expected.&lt;/LI&gt;&lt;LI&gt;We have thoroughly reviewed both files and compared the configurations of &lt;STRONG&gt;Group_0 and Group_1&lt;/STRONG&gt;, but we could not identify any differences. Despite this, ADC_Group_1 remains non-functional.&lt;/LI&gt;&lt;LI&gt;Additionally, when configuring &lt;STRONG&gt;ADC_Group_2&lt;/STRONG&gt;, there is no output or digital count observed.&lt;/LI&gt;&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (6).png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/325332i7E65C4375E3A4ED8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot (6).png" alt="Screenshot (6).png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;We are unsure of the root cause of this issue and would appreciate any insights.&lt;/P&gt;&lt;P&gt;I have attached both the files with this post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly help us on this issue ASAP.&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2025 10:12:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Adc-integration-issue/m-p/2049818#M10017</guid>
      <dc:creator>Vijay98</dc:creator>
      <dc:date>2025-02-24T10:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: Adc_integration_issue</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Adc-integration-issue/m-p/2049938#M10020</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203341"&gt;@stefanvlad&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Sorry for the late reply.&lt;/P&gt;&lt;P&gt;I have tested the ADC example and integrated a new ADC model. The new ADC integration model (located in the &lt;EM&gt;Adc_Integration&lt;/EM&gt; folder) is functioning correctly without any issues.&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (1).png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/325364i8AC739CC700029FC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot (1).png" alt="Screenshot (1).png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;However, in the &lt;EM&gt;s32k312_pwm_lcu_mod_carrier_s32ct&lt;/EM&gt; model file, we are encountering a problem.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;When configuring any pins in &lt;STRONG&gt;ADC_Group_0&lt;/STRONG&gt;, we can successfully read and modify the count values.&lt;/LI&gt;&lt;LI&gt;However, when applying the same pin configuration to &lt;STRONG&gt;ADC_Group_1&lt;/STRONG&gt;, it does not function as expected.&lt;/LI&gt;&lt;LI&gt;We have thoroughly reviewed both files and compared the configurations of &lt;STRONG&gt;Group_0 and Group_1&lt;/STRONG&gt;, but we could not identify any differences. Despite this, ADC_Group_1 remains non-functional.&lt;/LI&gt;&lt;LI&gt;Additionally, when configuring &lt;STRONG&gt;ADC_Group_2&lt;/STRONG&gt;, there is no output or digital count observed.&lt;/LI&gt;&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (6).png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/325365iF1D77716DB46EC6E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot (6).png" alt="Screenshot (6).png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;We are unsure of the root cause of this issue and would appreciate any insights.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have attached both the files with this post.&lt;/P&gt;&lt;P&gt;Kindly help us regarding this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2025 13:01:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Adc-integration-issue/m-p/2049938#M10020</guid>
      <dc:creator>Vijay98</dc:creator>
      <dc:date>2025-02-24T13:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: Adc_integration_issue</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Adc-integration-issue/m-p/2049952#M10021</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203341"&gt;@stefanvlad&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Sorry for the late reply.&lt;/P&gt;&lt;P&gt;I have tested the ADC example and integrated a new ADC model. The new ADC integration model (located in the &lt;EM&gt;Adc_Integration&lt;/EM&gt; folder) is functioning correctly without any issues.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (1).png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/325367iC97E5D6441219422/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot (1).png" alt="Screenshot (1).png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, in the &lt;EM&gt;s32k312_pwm_lcu_mod_carrier_s32ct&lt;/EM&gt; model file, we are encountering a problem.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;When configuring any pins in &lt;STRONG&gt;ADC_Group_0&lt;/STRONG&gt;, we can successfully read and modify the count values.&lt;/LI&gt;&lt;LI&gt;However, when applying the same pin configuration to &lt;STRONG&gt;ADC_Group_1&lt;/STRONG&gt;, it does not function as expected.&lt;/LI&gt;&lt;LI&gt;We have thoroughly reviewed both files and compared the configurations of &lt;STRONG&gt;Group_0 and Group_1&lt;/STRONG&gt;, but we could not identify any differences. Despite this, ADC_Group_1 remains non-functional.&lt;/LI&gt;&lt;LI&gt;Additionally, when configuring &lt;STRONG&gt;ADC_Group_2&lt;/STRONG&gt;, there is no output or digital count observed.&lt;/LI&gt;&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (6).png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/325368iC87D863A8AE19453/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot (6).png" alt="Screenshot (6).png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;We are unsure of the root cause of this issue and would appreciate any insights&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have attached both the files with this post.&lt;/P&gt;&lt;P&gt;Kindly help us regarding this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2025 13:15:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Adc-integration-issue/m-p/2049952#M10021</guid>
      <dc:creator>Vijay98</dc:creator>
      <dc:date>2025-02-24T13:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Adc_integration_issue</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Adc-integration-issue/m-p/2054370#M10049</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203341"&gt;@stefanvlad&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Sorry for the late reply,&lt;/P&gt;&lt;P&gt;I have tested the ADC example and integrated a new model. The new ADC integrated model (&lt;EM&gt;located in the Adc_integration folder&lt;/EM&gt;) is functioning correctly without any issues.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (1).png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/326410iCA8B5DA022444AE9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot (1).png" alt="Screenshot (1).png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, in the '&lt;EM&gt;S323K312_pwm_Icu_mod_carrier_s32ctmodel'&amp;nbsp;&lt;/EM&gt;file, we are encountering a problem,&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;When configuring any pins in &lt;STRONG&gt;ADC_Group_0&lt;/STRONG&gt;, we can successfully read and modify the count values.&lt;/LI&gt;&lt;LI&gt;However, when applying the same pin configuration to &lt;STRONG&gt;ADC_Group_1&lt;/STRONG&gt;, it does not function as expected.&lt;/LI&gt;&lt;LI&gt;We have thoroughly reviewed both files and compared the configurations of &lt;STRONG&gt;Group_0&lt;/STRONG&gt; &amp;amp; &lt;STRONG&gt;Group_1&lt;/STRONG&gt;, but we could not identify any differences. Despite this, &lt;STRONG&gt;Adc_Group_1&lt;/STRONG&gt; remains non-functional.&lt;/LI&gt;&lt;LI&gt;Additionally, when configuring &lt;STRONG&gt;ADC_Group_2&lt;/STRONG&gt;, there is no output or digital count observed.&lt;/LI&gt;&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (6).png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/326411i4E1DD661F8FD7EF8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot (6).png" alt="Screenshot (6).png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; We are unsure of the root cause of this issue and would appreciate any insights.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have attached both the files with this post.&lt;/P&gt;&lt;P&gt;Kindly help us regarding this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2025 05:00:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Adc-integration-issue/m-p/2054370#M10049</guid>
      <dc:creator>Vijay98</dc:creator>
      <dc:date>2025-03-03T05:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Adc_integration_issue</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Adc-integration-issue/m-p/2056513#M10074</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232522"&gt;@Vijay98&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have checked the models you have attached and i found the following:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Integration_sen_adc&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Adc0Group_0 -&amp;gt; Channel0 - AdcChannel_0 - P4_ChanNum4 -PTE16 - 815-890&lt;/LI&gt;
&lt;LI&gt;Adc0Group_1&amp;nbsp; -&amp;gt; Channel1 -&amp;nbsp; AdcChannel_1 -&amp;nbsp; P3_ChanNum3 - PTE15 - 28-39&lt;/LI&gt;
&lt;LI&gt;Adc0Group_2 -&amp;gt; Channel2 - AdcChannel_2 - P6_ChanNum6 - PTE11 - 10-800 - &lt;STRONG&gt;Works&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Adc0Group_3 -&amp;gt; Channel3 - AdcChannel_3 - P5_ChanNum5 - PTE10 - 10-800 - &lt;STRONG&gt;Works&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;s32k312_pwm_lcu_s32ct&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Adc0Group_0 -&amp;gt; Cnts_1 - AdcChannel_1 - P5_ChanNum5 - PTE10 - 10-800 - &lt;STRONG&gt;Works&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Adc0Group_1 -&amp;gt; Cnts_2 - AdcChannel_0 - P3_ChanNum3 - PTE15 - FS26&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;The issues is in the schematic of the&amp;nbsp;S32K312EVB-Q172:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PTE15 PTE16 connected to FS26.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/326882iF9492AE64C11D6D5/image-size/large?v=v2&amp;amp;px=999" role="button" title="PTE15 PTE16 connected to FS26.png" alt="PTE15 PTE16 connected to FS26.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; We can see that both pins PTE16, PTE15 are connected to the FS26 chip, FCCU1 FCCU2 pins.&lt;/P&gt;
&lt;P&gt;That means that we cannot use this pins as inputs for ADC, that is why in both cases we see the values are not good for both models:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FreeMaster_sensor_adc_int.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/326883iA3EAA2010EEDFA58/image-size/large?v=v2&amp;amp;px=999" role="button" title="FreeMaster_sensor_adc_int.png" alt="FreeMaster_sensor_adc_int.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;My advice is to change the pins, and check the&amp;nbsp;S32K312EVB-Q172 &lt;STRONG&gt;board schematic&lt;/STRONG&gt;, to see if that ADC pin is free and not connected to anything else on the board.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Stefan V.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2025 19:13:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Adc-integration-issue/m-p/2056513#M10074</guid>
      <dc:creator>stefanvlad</dc:creator>
      <dc:date>2025-03-05T19:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: Adc integration issue</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Adc-integration-issue/m-p/2059211#M10105</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203341"&gt;@stefanvlad&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But the problem not solved.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Like to brief for better clarity.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Board Used: &lt;/STRONG&gt;custom S32k312 board, FS26 not used.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Problem:&amp;nbsp;&lt;/STRONG&gt;After integrating LCU, PWM only generating. ADC group only Group0 working, configure to Group1- not working.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Two model configured:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;Integration_sen_adc-&lt;/STRONG&gt;all works fine. (LCU was not configured model)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;s32k312_pwm_lcu_s32ct_initialize:&amp;nbsp;&lt;/STRONG&gt;ADC group only Group0 working, if any pin configure to Group1- not working.(LCU Configured model).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Observation and doubt:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;We seen BCTU configured in&amp;nbsp;&lt;STRONG&gt;s32k312_pwm_lcu_s32ct_initialize model&amp;nbsp;&lt;/STRONG&gt;only for Emios. Not for ADC. is it problem?.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For two model we seen, model configuration setting are different, can&amp;nbsp; you look it may be the problem. refer image.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Please suggest solution or will set a teams call for better understanding, this issue was open for long.&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dr. Karthi&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232522"&gt;@Vijay98&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/119946"&gt;@irina&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 05:46:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Adc-integration-issue/m-p/2059211#M10105</guid>
      <dc:creator>DrKarthi</dc:creator>
      <dc:date>2025-03-11T05:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Adc integration issue</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Adc-integration-issue/m-p/2060662#M10124</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229388"&gt;@DrKarthi&lt;/a&gt;&amp;nbsp; and&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232522"&gt;@Vijay98&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have modified the ADC configuration for&amp;nbsp;&lt;STRONG&gt;s32k312_pwm_lcu_s32ctConfig&lt;/STRONG&gt;.mex and looking into the issue with ADC0Group1,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Updated the ADC0Group1 with all the settings as in the&amp;nbsp;Integration_sen_adcConfig.mex, but for some reason there is no update in the Cnts_2 variable.&lt;/P&gt;
&lt;P&gt;There is also the problem with the pin &lt;STRONG&gt;PTE15&lt;/STRONG&gt;:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Adc0Group_1 -&amp;gt; Cnts_2 - AdcChannel_0 - P3_ChanNum3 - PTE15 - reads constant 10&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Because this is connected to FS26 chip on the&amp;nbsp;&lt;SPAN&gt;S32K312EVB-Q172 board and is pulled low.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I am investigating further this problem and will let you know, when I have a solution,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Stefan V.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 17:43:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Adc-integration-issue/m-p/2060662#M10124</guid>
      <dc:creator>stefanvlad</dc:creator>
      <dc:date>2025-03-12T17:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: Adc integration issue</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Adc-integration-issue/m-p/2065809#M10150</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229388"&gt;@DrKarthi&lt;/a&gt;&amp;nbsp; and&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232522"&gt;@Vijay98&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have updated the configuration and the model with the additional Adc_Groups:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_0-1742499712791.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/329139i1DD28DBF0A406133/image-size/large?v=v2&amp;amp;px=999" role="button" title="stefanvlad_0-1742499712791.png" alt="stefanvlad_0-1742499712791.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Please use the attached configuration file.mex and tested on your end,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Stefan V.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 19:46:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Adc-integration-issue/m-p/2065809#M10150</guid>
      <dc:creator>stefanvlad</dc:creator>
      <dc:date>2025-03-20T19:46:39Z</dc:date>
    </item>
  </channel>
</rss>

