<?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: Unable to replicate pwm driver based example in S32DS 3.5 for S32K358 when building from scratch in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Unable-to-replicate-pwm-driver-based-example-in-S32DS-3-5-for/m-p/1806120#M31646</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/227990"&gt;@Rnk7&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check the following post. It is an example that uses the PIT0 trigger to trigger the BCTU conversion list. Five standard ADC channels are selected to be converted. It might be a good reference for your implementation.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K344-PIT-BTCU-ADC-DMA-DS3-4-RTD100/ta-p/1435324" target="_blank" rel="noopener"&gt;Example S32K344 PIT BTCU ADC DMA&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Feb 2024 20:45:45 GMT</pubDate>
    <dc:creator>VaneB</dc:creator>
    <dc:date>2024-02-13T20:45:45Z</dc:date>
    <item>
      <title>Unable to replicate pwm driver based example in S32DS 3.5 for S32K358 when building from scratch</title>
      <link>https://community.nxp.com/t5/S32K/Unable-to-replicate-pwm-driver-based-example-in-S32DS-3-5-for/m-p/1805178#M31599</link>
      <description>&lt;P&gt;First I begin by configuring the pwm ip example in S32DS to 100KHZ (&lt;STRONG&gt;Emios_Pwm_Ip_S32K358_100KHz&lt;/STRONG&gt;), which works perfectly. However, then I attempt to create a new application project (&lt;STRONG&gt;trial_pwm&lt;/STRONG&gt;) and replicate this configuration. For some reason, and on multiple checks, I cannot find any difference in these two codes and config files. Both codes can be built, but when I test the outputs on the oscilloscope, &lt;STRONG&gt;trial_pwm&lt;/STRONG&gt; has no output. I have attempted to make them completely identical, but there is no pwm generated in this case.&lt;/P&gt;&lt;P&gt;Note: I know I can just copy it to use it, but I want to understand the toolchain and why &lt;STRONG&gt;trial_pwm&lt;/STRONG&gt; failing as a consequence.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 10:45:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Unable-to-replicate-pwm-driver-based-example-in-S32DS-3-5-for/m-p/1805178#M31599</guid>
      <dc:creator>Rnk7</dc:creator>
      <dc:date>2024-02-12T10:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to replicate pwm driver based example in S32DS 3.5 for S32K358 when building from scratch</title>
      <link>https://community.nxp.com/t5/S32K/Unable-to-replicate-pwm-driver-based-example-in-S32DS-3-5-for/m-p/1805464#M31610</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/227990"&gt;@Rnk7&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only difference between the example and your project is that you enabled the EMIOS freeze state. The following are the effects when the freeze is enabled:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Halts counter, capture, and compare operations.&lt;/LI&gt;
&lt;LI&gt;Freezes UC in its current state.&lt;/LI&gt;
&lt;LI&gt;Makes all registers accessible.&lt;/LI&gt;
&lt;LI&gt;In output modes, force match remains operational, allowing software to force the output to the&lt;BR /&gt;desired level.&lt;/LI&gt;
&lt;LI&gt;In input modes, the UC ignores input events.&lt;/LI&gt;
&lt;LI&gt;When eMIOS exits Freeze state then UC operations resume, but they may be inconsistent until&lt;BR /&gt;the UC reenters GPIO mode.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;B.R&lt;/P&gt;
&lt;P&gt;VaneB&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 19:34:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Unable-to-replicate-pwm-driver-based-example-in-S32DS-3-5-for/m-p/1805464#M31610</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2024-02-12T19:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to replicate pwm driver based example in S32DS 3.5 for S32K358 when building from scratch</title>
      <link>https://community.nxp.com/t5/S32K/Unable-to-replicate-pwm-driver-based-example-in-S32DS-3-5-for/m-p/1805866#M31641</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201913"&gt;@VaneB&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;Ok that does solve things, but also gives me some other problems.&lt;/P&gt;&lt;P&gt;In the attached projects, I again build an extension of this project, a simple single channel and another multi channel adc using BTCU List, with only difference in the no. of channels configured in the list, but the BTCU responds only for single channel. This is when EMIOS freeze state is disabled. Now, if enabled, the PWM is lost yes, but the BTCU responds for both configurations (verified with external PWM). I am unsure of the cause for this, since I dont see any counters involved in parallel BTCU where resources might be split, and wish to inquire if there was any way to resolve such an conflict.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rounak&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 14:12:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Unable-to-replicate-pwm-driver-based-example-in-S32DS-3-5-for/m-p/1805866#M31641</guid>
      <dc:creator>Rnk7</dc:creator>
      <dc:date>2024-02-13T14:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to replicate pwm driver based example in S32DS 3.5 for S32K358 when building from scratch</title>
      <link>https://community.nxp.com/t5/S32K/Unable-to-replicate-pwm-driver-based-example-in-S32DS-3-5-for/m-p/1806120#M31646</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/227990"&gt;@Rnk7&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check the following post. It is an example that uses the PIT0 trigger to trigger the BCTU conversion list. Five standard ADC channels are selected to be converted. It might be a good reference for your implementation.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K344-PIT-BTCU-ADC-DMA-DS3-4-RTD100/ta-p/1435324" target="_blank" rel="noopener"&gt;Example S32K344 PIT BTCU ADC DMA&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 20:45:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Unable-to-replicate-pwm-driver-based-example-in-S32DS-3-5-for/m-p/1806120#M31646</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2024-02-13T20:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to replicate pwm driver based example in S32DS 3.5 for S32K358 when building from scratch</title>
      <link>https://community.nxp.com/t5/S32K/Unable-to-replicate-pwm-driver-based-example-in-S32DS-3-5-for/m-p/1811892#M31859</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201913"&gt;@VaneB&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;I have some problems with the dma here, the dma request path returns me a "Bctu_Ip_Bctu0Fifo1DmaComplete not defined" error. . When I add the RTD/src to the includes paths list for the project, the error goes away, but the BTCU doesn't default to watermark as expected.&lt;/P&gt;&lt;P&gt;I used an updated version of this training example, designed for DS3.5. The example is for RTD3.0.0, I am not sure if any additional configuration is needed for me, since I am using RTD 4.0.0. [&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K344-PIT-BTCU-parallel-ADC-FIFO-DMA-DS3-5-RTD300/ta-p/1732444" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K344-PIT-BTCU-parallel-ADC-FIFO-DMA-DS3-5-RTD300/ta-p/1732444&lt;/A&gt;].&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rnk7&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 12:47:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Unable-to-replicate-pwm-driver-based-example-in-S32DS-3-5-for/m-p/1811892#M31859</guid>
      <dc:creator>Rnk7</dc:creator>
      <dc:date>2024-02-20T12:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to replicate pwm driver based example in S32DS 3.5 for S32K358 when building from scratch</title>
      <link>https://community.nxp.com/t5/S32K/Unable-to-replicate-pwm-driver-based-example-in-S32DS-3-5-for/m-p/1814155#M32005</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/227990"&gt;@Rnk7&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please clarify what you mean whit&amp;nbsp;"the BTCU doesn't default to watermark as expected"?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 23:31:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Unable-to-replicate-pwm-driver-based-example-in-S32DS-3-5-for/m-p/1814155#M32005</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2024-02-22T23:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to replicate pwm driver based example in S32DS 3.5 for S32K358 when building from scratch</title>
      <link>https://community.nxp.com/t5/S32K/Unable-to-replicate-pwm-driver-based-example-in-S32DS-3-5-for/m-p/1816676#M32172</link>
      <description>&lt;P&gt;The BTCU end of trigger notification, based on the BTCU-DMA Interrupt, has problems. It is the IntCtrl_Ip component which is causing this problem, the interrupt is not functioning when declared there. When I instead manually declare it using Installhandler functions, it works. How do I solve this issue and use IntCtrl_Ip instead?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 15:50:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Unable-to-replicate-pwm-driver-based-example-in-S32DS-3-5-for/m-p/1816676#M32172</guid>
      <dc:creator>Rnk7</dc:creator>
      <dc:date>2024-02-27T15:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to replicate pwm driver based example in S32DS 3.5 for S32K358 when building from scratch</title>
      <link>https://community.nxp.com/t5/S32K/Unable-to-replicate-pwm-driver-based-example-in-S32DS-3-5-for/m-p/1816707#M32173</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/227990"&gt;@Rnk7&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The interrupt callback&amp;nbsp;Bctu_Ip_Bctu0Fifo1DmaComplete is not managed by the IntCtr_Ip module. This is in charge of the modules Dma_Ip and Btcu_Ip. If you refer to the example you mentioned, the Callback is called in the DMA libraries and uses the&amp;nbsp;Bctu_Ip_FifoDmaHandler in the Btcu_Ip_Irq.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 16:35:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Unable-to-replicate-pwm-driver-based-example-in-S32DS-3-5-for/m-p/1816707#M32173</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2024-02-27T16:35:19Z</dc:date>
    </item>
  </channel>
</rss>

