<?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 S32K324 Input Capture measurement acquisitoin mode eMIOS in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K324-Input-Capture-measurement-acquisitoin-mode-eMIOS/m-p/1796170#M31130</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I was trying to implement the functionality of measuring the period of a PWM input to my custom board.&lt;BR /&gt;To do this, I connected my PIN to CH3 of the eMIOS1 without using the interrupt..&lt;BR /&gt;The configuration of the eMIOS1 is in the picture below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Simone9_0-1706287272172.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/260307i4F3BA1EEA293AB31/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Simone9_0-1706287272172.png" alt="Simone9_0-1706287272172.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The channel configuration of the eMIOS used is in the image below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Simone9_1-1706287272201.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/260309iF6EE19C515836BAE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Simone9_1-1706287272201.png" alt="Simone9_1-1706287272201.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The clock source of eMIOS is the one below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Simone9_2-1706287272223.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/260308i5853EA1E80BCC50A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Simone9_2-1706287272223.png" alt="Simone9_2-1706287272223.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With these settings, I could not capture the input signal.&lt;/P&gt;&lt;P&gt;In particular, the code I used specifically for this control is as follows:&lt;BR /&gt;Upon initialisation of the MCU, the functions called are as follows:&lt;/P&gt;&lt;P&gt;Emios_Mcl_Ip_Init(1U, &amp;amp;Emios_Mcl_Ip_1_Config_BOARD_INITPERIPHERALS);&lt;BR /&gt;Emios_Icu_Ip_Init(1U, &amp;amp;eMios_Icu_Ip_1_Config_PB);&lt;BR /&gt;Emios_Icu_Ip_StartSignalMeasurement(1U, 3U);&lt;BR /&gt;IP_EMIOS_1-&amp;gt;CH.UC[3].A = (uint32_t)0x1000U;&lt;/P&gt;&lt;P&gt;Runtime I use this API to get the value (i have test it both in background that every 1ms):&lt;BR /&gt;Emios_Icu_Ip_GetDutyCycleValues(1U, 3U, &amp;amp;speedVal);&lt;/P&gt;&lt;P&gt;But what I obtain is always 0 ad period and DutyCycle.&lt;/P&gt;&lt;P&gt;I wanted to know if I was making a mistake or missing something?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MCU S32K324&lt;BR /&gt;IDE S32 Design Studio 3.5&lt;BR /&gt;RTD 3.0.0&lt;/P&gt;&lt;P&gt;Thank you very much&lt;/P&gt;</description>
    <pubDate>Fri, 26 Jan 2024 16:45:19 GMT</pubDate>
    <dc:creator>Simone9</dc:creator>
    <dc:date>2024-01-26T16:45:19Z</dc:date>
    <item>
      <title>S32K324 Input Capture measurement acquisitoin mode eMIOS</title>
      <link>https://community.nxp.com/t5/S32K/S32K324-Input-Capture-measurement-acquisitoin-mode-eMIOS/m-p/1796170#M31130</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I was trying to implement the functionality of measuring the period of a PWM input to my custom board.&lt;BR /&gt;To do this, I connected my PIN to CH3 of the eMIOS1 without using the interrupt..&lt;BR /&gt;The configuration of the eMIOS1 is in the picture below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Simone9_0-1706287272172.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/260307i4F3BA1EEA293AB31/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Simone9_0-1706287272172.png" alt="Simone9_0-1706287272172.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The channel configuration of the eMIOS used is in the image below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Simone9_1-1706287272201.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/260309iF6EE19C515836BAE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Simone9_1-1706287272201.png" alt="Simone9_1-1706287272201.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The clock source of eMIOS is the one below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Simone9_2-1706287272223.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/260308i5853EA1E80BCC50A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Simone9_2-1706287272223.png" alt="Simone9_2-1706287272223.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With these settings, I could not capture the input signal.&lt;/P&gt;&lt;P&gt;In particular, the code I used specifically for this control is as follows:&lt;BR /&gt;Upon initialisation of the MCU, the functions called are as follows:&lt;/P&gt;&lt;P&gt;Emios_Mcl_Ip_Init(1U, &amp;amp;Emios_Mcl_Ip_1_Config_BOARD_INITPERIPHERALS);&lt;BR /&gt;Emios_Icu_Ip_Init(1U, &amp;amp;eMios_Icu_Ip_1_Config_PB);&lt;BR /&gt;Emios_Icu_Ip_StartSignalMeasurement(1U, 3U);&lt;BR /&gt;IP_EMIOS_1-&amp;gt;CH.UC[3].A = (uint32_t)0x1000U;&lt;/P&gt;&lt;P&gt;Runtime I use this API to get the value (i have test it both in background that every 1ms):&lt;BR /&gt;Emios_Icu_Ip_GetDutyCycleValues(1U, 3U, &amp;amp;speedVal);&lt;/P&gt;&lt;P&gt;But what I obtain is always 0 ad period and DutyCycle.&lt;/P&gt;&lt;P&gt;I wanted to know if I was making a mistake or missing something?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MCU S32K324&lt;BR /&gt;IDE S32 Design Studio 3.5&lt;BR /&gt;RTD 3.0.0&lt;/P&gt;&lt;P&gt;Thank you very much&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2024 16:45:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K324-Input-Capture-measurement-acquisitoin-mode-eMIOS/m-p/1796170#M31130</guid>
      <dc:creator>Simone9</dc:creator>
      <dc:date>2024-01-26T16:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: S32K324 Input Capture measurement acquisitoin mode eMIOS</title>
      <link>https://community.nxp.com/t5/S32K/S32K324-Input-Capture-measurement-acquisitoin-mode-eMIOS/m-p/1796712#M31155</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Have you already referred to &lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/S32K344-Example-Emios-Icu-IPWM-measurement-DS34-RTD-100-v2/ta-p/1416327" target="_self"&gt;S32K344_Example_Emios_Icu_IPWM_measurement_DS34_RTD_100_v2&lt;/A&gt;?&lt;BR /&gt;This example will show you how to use &lt;EM&gt;IcuMeasurementMode&lt;/EM&gt;: &lt;STRONG&gt;ICU_MODE_SIGNAL_MEASUREMENT&lt;/STRONG&gt;. This example uses S32DSv3.4+ RTD1.0.0. To facilitate your comparison of peripheral configurations, please see the following screenshots:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IcueMios S32K344_Example_Emios_Icu_IPWM_measurement_DS34_RTD_100_v2.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/260500iE8FB0F3D6B63D8B4/image-size/large?v=v2&amp;amp;px=999" role="button" title="IcueMios S32K344_Example_Emios_Icu_IPWM_measurement_DS34_RTD_100_v2.png" alt="IcueMios S32K344_Example_Emios_Icu_IPWM_measurement_DS34_RTD_100_v2.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IcuChannels S32K344_Example_Emios_Icu_IPWM_measurement_DS34_RTD_100_v2.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/260501i23DB6B109ABF0F24/image-size/large?v=v2&amp;amp;px=999" role="button" title="IcuChannels S32K344_Example_Emios_Icu_IPWM_measurement_DS34_RTD_100_v2.png" alt="IcuChannels S32K344_Example_Emios_Icu_IPWM_measurement_DS34_RTD_100_v2.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IcuHwInterruptConfigList S32K344_Example_Emios_Icu_IPWM_measurement_DS34_RTD_100_v2.png" style="width: 567px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/260502i4F3986724B297888/image-size/large?v=v2&amp;amp;px=999" role="button" title="IcuHwInterruptConfigList S32K344_Example_Emios_Icu_IPWM_measurement_DS34_RTD_100_v2.png" alt="IcuHwInterruptConfigList S32K344_Example_Emios_Icu_IPWM_measurement_DS34_RTD_100_v2.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EmiosCommon S32K344_Example_Emios_Icu_IPWM_measurement_DS34_RTD_100_v2.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/260503iEF49E01F3B5FB962/image-size/large?v=v2&amp;amp;px=999" role="button" title="EmiosCommon S32K344_Example_Emios_Icu_IPWM_measurement_DS34_RTD_100_v2.png" alt="EmiosCommon S32K344_Example_Emios_Icu_IPWM_measurement_DS34_RTD_100_v2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Robin&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2024 08:42:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K324-Input-Capture-measurement-acquisitoin-mode-eMIOS/m-p/1796712#M31155</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2024-01-29T08:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: S32K324 Input Capture measurement acquisitoin mode eMIOS</title>
      <link>https://community.nxp.com/t5/S32K/S32K324-Input-Capture-measurement-acquisitoin-mode-eMIOS/m-p/1796735#M31157</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank you for your reply I will now try this configuration.&lt;/P&gt;&lt;P&gt;However, in my application I would like to try this acquisition without interrupts. Then in polling in a periodically scheduled way and see the count.&lt;/P&gt;&lt;P&gt;How can this be done?&lt;/P&gt;&lt;P&gt;Thank you very much&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2024 09:13:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K324-Input-Capture-measurement-acquisitoin-mode-eMIOS/m-p/1796735#M31157</guid>
      <dc:creator>Simone9</dc:creator>
      <dc:date>2024-01-29T09:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: S32K324 Input Capture measurement acquisitoin mode eMIOS</title>
      <link>https://community.nxp.com/t5/S32K/S32K324-Input-Capture-measurement-acquisitoin-mode-eMIOS/m-p/1803341#M31518</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have tried by adapting the example and it works. But what I can't do is doing in polling and not in interrupt. I've disabled from the MEX the interrupt and check the box that say "IcuSignalMeasureWithoutInterrupt" but the API continuously read 0 for the period and duty. Do you have any solution about that?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 11:48:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K324-Input-Capture-measurement-acquisitoin-mode-eMIOS/m-p/1803341#M31518</guid>
      <dc:creator>Simone9</dc:creator>
      <dc:date>2024-02-07T11:48:41Z</dc:date>
    </item>
  </channel>
</rss>

