<?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: MCAL-ICU-PWM-TAS using polling/dma ( checked IcuSignalMeasureWithoutInterrupt ) in S32K</title>
    <link>https://community.nxp.com/t5/S32K/MCAL-ICU-PWM-TAS-using-polling-dma-checked/m-p/1745748#M28138</link>
    <description>&lt;P&gt;As description of this function, this function returns the signals High time, Low time and Period without using the&amp;nbsp;channel interrupt.&lt;BR /&gt;The Emios can be set to IPWM or SAIC mode one at a time.&lt;BR /&gt;So based on the current mode of Emios, this function will update pulseWitdth corresponds.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Oct 2023 08:00:58 GMT</pubDate>
    <dc:creator>cuongnguyenphu</dc:creator>
    <dc:date>2023-10-25T08:00:58Z</dc:date>
    <item>
      <title>MCAL-ICU-PWM-TAS using polling/dma ( checked IcuSignalMeasureWithoutInterrupt )</title>
      <link>https://community.nxp.com/t5/S32K/MCAL-ICU-PWM-TAS-using-polling-dma-checked/m-p/1704317#M26042</link>
      <description>&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;AUTOSAR&amp;nbsp; 4.4 V2.0.1 RTD ，S32K344 , EB&lt;/P&gt;&lt;P&gt;when capture pwm (period and duty )&amp;nbsp;signal using interrupt in ICU module , it is ok .&amp;nbsp; the period and duty data are&amp;nbsp;correct .&amp;nbsp; In this case,&amp;nbsp;the configuration item "&lt;SPAN&gt;IcuSignalMeasureWithoutInterrupt&lt;/SPAN&gt;" is dsiabled, like the following picture&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="YanyiQiu_0-1692007439283.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/236316i5A41496CBDA3467E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="YanyiQiu_0-1692007439283.png" alt="YanyiQiu_0-1692007439283.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;=============================================================================&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;it is large resource consumption&amp;nbsp;when using interrupt , so&amp;nbsp;&lt;/SPAN&gt;i try to enable the configuration item "&lt;SPAN&gt;IcuSignalMeasureWithoutInterrupt&lt;/SPAN&gt;" ,&amp;nbsp; but the captured pwm (period and duty )&amp;nbsp;signal are&amp;nbsp;abnormal , the data is jumping .&lt;/P&gt;&lt;P&gt;The question are:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;1. when using polling in ICU , it must use/configure DMA meanwhile?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;2. for capturing the pwm correctly,&amp;nbsp;the following usage is all right ?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;&amp;nbsp; &amp;nbsp; a, interrupt (&amp;nbsp;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;IcuSignalMeasureWithoutInterrupt&lt;/SPAN&gt;&lt;SPAN&gt;" is disabled)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;&amp;nbsp; &amp;nbsp; b,&amp;nbsp;&lt;SPAN&gt;polling only (&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;IcuSignalMeasureWithoutInterrupt&lt;/SPAN&gt;&lt;SPAN&gt;" is enabled),&amp;nbsp;It isn't necessary to configure DMA&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; c,&amp;nbsp;&lt;SPAN&gt;polling (&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;IcuSignalMeasureWithoutInterrupt&lt;/SPAN&gt;&lt;SPAN&gt;" is enabled&amp;nbsp;) and DMA&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;may you share some demo about ICU (capture the pwm using polling only, polling and DMA )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;following codes are used in test :&lt;/P&gt;&lt;P&gt;initial::::Mcl_SetDmaChannelCommand(0, MCL_DMA_CH_ACK_ERROR);Icu_Init(&amp;amp;Icu_Config_VS_0); Icu_StartSignalMeasurement(IcuChannel_0);&amp;nbsp;&lt;/P&gt;&lt;P&gt;period calling : Icu_GetPulseWidth(IcuChannel_0);&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="YanyiQiu_1-1692009731145.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/236322i5247E321B1E87A90/image-size/medium?v=v2&amp;amp;px=400" role="button" title="YanyiQiu_1-1692009731145.png" alt="YanyiQiu_1-1692009731145.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="YanyiQiu_2-1692009738915.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/236323i3335B8DC94A8F545/image-size/medium?v=v2&amp;amp;px=400" role="button" title="YanyiQiu_2-1692009738915.png" alt="YanyiQiu_2-1692009738915.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;BestRegards&lt;/P&gt;&lt;P&gt;Qiu&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 10:42:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MCAL-ICU-PWM-TAS-using-polling-dma-checked/m-p/1704317#M26042</guid>
      <dc:creator>YanyiQiu</dc:creator>
      <dc:date>2023-08-14T10:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: MCAL-ICU-PWM-TAS using polling/dma ( checked IcuSignalMeasureWithoutInterrupt )</title>
      <link>https://community.nxp.com/t5/S32K/MCAL-ICU-PWM-TAS-using-polling-dma-checked/m-p/1721836#M27021</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;1. If you use Icu in polling mode, you can select to use either Dma or non-Dma&lt;/P&gt;
&lt;P&gt;2. These 3 way are correct&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2023 08:08:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MCAL-ICU-PWM-TAS-using-polling-dma-checked/m-p/1721836#M27021</guid>
      <dc:creator>cuongnguyenphu</dc:creator>
      <dc:date>2023-09-13T08:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: MCAL-ICU-PWM-TAS using polling/dma ( checked IcuSignalMeasureWithoutInterrupt )</title>
      <link>https://community.nxp.com/t5/S32K/MCAL-ICU-PWM-TAS-using-polling-dma-checked/m-p/1727558#M27298</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for jumping in.&lt;/P&gt;&lt;P&gt;With IcuSignalMeasureWithoutInterrupt setting, we need to invoke&amp;nbsp;&lt;SPAN&gt;Icu_GetPulseWidth twice for SAIC and IPWM mode, right?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 02:50:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MCAL-ICU-PWM-TAS-using-polling-dma-checked/m-p/1727558#M27298</guid>
      <dc:creator>MyLV</dc:creator>
      <dc:date>2023-09-22T02:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: MCAL-ICU-PWM-TAS using polling/dma ( checked IcuSignalMeasureWithoutInterrupt )</title>
      <link>https://community.nxp.com/t5/S32K/MCAL-ICU-PWM-TAS-using-polling-dma-checked/m-p/1745748#M28138</link>
      <description>&lt;P&gt;As description of this function, this function returns the signals High time, Low time and Period without using the&amp;nbsp;channel interrupt.&lt;BR /&gt;The Emios can be set to IPWM or SAIC mode one at a time.&lt;BR /&gt;So based on the current mode of Emios, this function will update pulseWitdth corresponds.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 08:00:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MCAL-ICU-PWM-TAS-using-polling-dma-checked/m-p/1745748#M28138</guid>
      <dc:creator>cuongnguyenphu</dc:creator>
      <dc:date>2023-10-25T08:00:58Z</dc:date>
    </item>
  </channel>
</rss>

