<?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>Model-Based Design Toolbox (MBDT)のトピックRe: Read multiple analog signals. S32k396</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-multiple-analog-signals-S32k396/m-p/2056076#M10071</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/210533"&gt;@MaMM&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have mentioned in your previous posted that you have added the new&amp;nbsp;&lt;SPAN&gt;signal in the same &lt;STRONG&gt;group&lt;/STRONG&gt;, however the attached image shows only its enablement inside the &lt;STRONG&gt;AdcHwUnit&lt;/STRONG&gt;&amp;nbsp;settings. Could we please double check if the additional channel has also been added to the Adc0Group_0 - AdcGroupDefinition?&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV id="tinyMceEditorIrina_Costachescu_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="adc.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/326803i984950F7035E9A71/image-size/large?v=v2&amp;amp;px=999" role="button" title="adc.png" alt="adc.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Irina&lt;/P&gt;</description>
    <pubDate>Wed, 05 Mar 2025 07:51:09 GMT</pubDate>
    <dc:creator>Irina_Costachescu</dc:creator>
    <dc:date>2025-03-05T07:51:09Z</dc:date>
    <item>
      <title>Read multiple analog signals. S32k396</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-multiple-analog-signals-S32k396/m-p/2051927#M10031</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I am reading the potentiometer input present on the S32X-MB via the PTD1 input (P0_ChanNum0). Now, I am configuring, within the same signal group, the reading of the next input (PTD0, which corresponds to P1_ChanNum1) by reading a bus in Simulink. To do this, I have added another signal in the same group and assigned it the appropriate pin number in the PORT. When running the code, I observe an analog signal on the variable Group0_Channel0 (via Freemaster), but a zero on the Group0_Channel1 signal, which indicates that either the input is not being initialized correctly, it is not being read, or I am not accessing it correctly using a demux in Simulink.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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="Simulink read.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/325853i470510A229C6E894/image-size/large?v=v2&amp;amp;px=999" role="button" title="Simulink read.png" alt="Simulink read.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Config_new_channel.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/325855i2DFEDB63BD32A07D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Config_new_channel.png" alt="Config_new_channel.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Port_new_channel.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/325856i8E0FE5D2BD4B03EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Port_new_channel.png" alt="Port_new_channel.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2025 16:05:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-multiple-analog-signals-S32k396/m-p/2051927#M10031</guid>
      <dc:creator>MaMM</dc:creator>
      <dc:date>2025-02-26T16:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: Read multiple analog signals. S32k396</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-multiple-analog-signals-S32k396/m-p/2054701#M10058</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/210533"&gt;@MaMM&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From the description provided, your software configuration seems complete - adding the additional Adc Channel to the group, and inside the corresponding Adc Hw Unit should be enough. Also, the Simulink implementation should provide the correct results, as I have just tested the implementation on my end as well.&lt;/P&gt;
&lt;P&gt;Could you please check the hardware connections for this use case? As far as I see from the schematics, PTD0, on the EVB, is routed to the J56B[87] pin. On the MB, the&amp;nbsp;J56B[87] pin is labeled as&amp;nbsp;&lt;STRONG&gt;PBC_GPIO[22],&amp;nbsp;&lt;/STRONG&gt;accessible on the PortBC[5] pin. Hence, your signal to be converted needs to be fed to PortBC[5], unless other hardware modifications were made to this default setup.&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Irina&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2025 12:06:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-multiple-analog-signals-S32k396/m-p/2054701#M10058</guid>
      <dc:creator>Irina_Costachescu</dc:creator>
      <dc:date>2025-03-03T12:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Read multiple analog signals. S32k396</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-multiple-analog-signals-S32k396/m-p/2054780#M10064</link>
      <description>&lt;P&gt;Hello Irina. Thanks for your response.&lt;/P&gt;&lt;P&gt;As you mentioned, on the MB, the pin is P17[5]. Anyway, even if nothing is connected, it should still be providing a reading. Currently, the value read is always zero, which makes me think that something is missing in the initialization. That is, some configuration might be needed to indicate that there are two signals instead of one, or something along those lines. It seems like the data is not being loaded at that position, and as a result, it constantly reads zero.&lt;/P&gt;&lt;P&gt;In any case, I have wired the signal to the other input (which goes to P19[1]), and obviously, nothing is displayed.&lt;/P&gt;&lt;P&gt;Any idea if something might be missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2025 14:15:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-multiple-analog-signals-S32k396/m-p/2054780#M10064</guid>
      <dc:creator>MaMM</dc:creator>
      <dc:date>2025-03-03T14:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Read multiple analog signals. S32k396</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-multiple-analog-signals-S32k396/m-p/2056076#M10071</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/210533"&gt;@MaMM&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have mentioned in your previous posted that you have added the new&amp;nbsp;&lt;SPAN&gt;signal in the same &lt;STRONG&gt;group&lt;/STRONG&gt;, however the attached image shows only its enablement inside the &lt;STRONG&gt;AdcHwUnit&lt;/STRONG&gt;&amp;nbsp;settings. Could we please double check if the additional channel has also been added to the Adc0Group_0 - AdcGroupDefinition?&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV id="tinyMceEditorIrina_Costachescu_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="adc.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/326803i984950F7035E9A71/image-size/large?v=v2&amp;amp;px=999" role="button" title="adc.png" alt="adc.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Irina&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2025 07:51:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-multiple-analog-signals-S32k396/m-p/2056076#M10071</guid>
      <dc:creator>Irina_Costachescu</dc:creator>
      <dc:date>2025-03-05T07:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Read multiple analog signals. S32k396</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-multiple-analog-signals-S32k396/m-p/2056321#M10073</link>
      <description>&lt;P&gt;Hello Irina,&lt;/P&gt;&lt;P&gt;Thanks for the information. You were right; that part was missing. Now it works perfectly!&lt;/P&gt;&lt;P&gt;Anyway, is there any kind of user manual for the tool that includes configuration examples? That way, we wouldn’t have to ask these kinds of questions all the time.&lt;/P&gt;&lt;P&gt;Currently, based on the examples, we configure our needs, but sometimes a configuration is missing, as has been the case.&lt;/P&gt;&lt;P&gt;BR.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2025 14:13:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-multiple-analog-signals-S32k396/m-p/2056321#M10073</guid>
      <dc:creator>MaMM</dc:creator>
      <dc:date>2025-03-05T14:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: Read multiple analog signals. S32k396</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-multiple-analog-signals-S32k396/m-p/2056861#M10080</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/210533"&gt;@MaMM&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;MBDT integrates the RTD (Real-Time Drivers) for configuration and access to the hardware (peripherals, pins, clocks, interrupts). For more details on configuration parameters, and functions implemented by our blocks, you could check the RTD User Manual for the component you would like to use, and also the AUTOSAR driver standard (RTD MCAL layer is AUTOSAR compatible).&lt;/P&gt;
&lt;P&gt;For the ADC, and other blocks as well, you could access this documentation I am referring to by clicking on the &lt;STRONG&gt;Help&lt;/STRONG&gt; button of the Simulink block, and navigating to the &lt;STRONG&gt;Code Generation&lt;/STRONG&gt; section, like illustrated below&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="adchelp.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/326969iD830B57EF41CCEA4/image-size/large?v=v2&amp;amp;px=999" role="button" title="adchelp.png" alt="adchelp.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;For configuration examples, you could check the configuration projects that we are delivering together with our application examples.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Moreover, in case of the ADC, PWM, CAN, UART and DIO, we have also put together some articles on our MBDT NXP Community, that provide a more detailed insight into the available parameters, and settings. Maybe you would find them useful as well. Here is the &lt;A href="https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/Controlling-LED-intensity-with-ADC-and-PWM/ta-p/1747898" target="_self"&gt;link&lt;/A&gt; to the ADC one, but the others are available under the&amp;nbsp;&lt;STRONG&gt;Beginner's Guide for Model-Based Design Toolbox&amp;nbsp;&lt;/STRONG&gt;section on our main page.&lt;/P&gt;
&lt;P&gt;Hope this helps you. Please let us know in case additional information is required.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Irina&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2025 08:37:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-multiple-analog-signals-S32k396/m-p/2056861#M10080</guid>
      <dc:creator>Irina_Costachescu</dc:creator>
      <dc:date>2025-03-06T08:37:43Z</dc:date>
    </item>
  </channel>
</rss>

