<?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>S32KのトピックHow can I read PWM data using ICU?</title>
    <link>https://community.nxp.com/t5/S32K/How-can-I-read-PWM-data-using-ICU/m-p/2262011#M55362</link>
    <description>&lt;P&gt;I'm using the S32K389 chip.&lt;/P&gt;&lt;P&gt;I'm trying to read PWM input data using the ICU, but it's not working.&lt;/P&gt;&lt;P&gt;As shown in the figure below, the PTF17 pin is set to the emios_1_ch_1_h input pin.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jeff_choi_0662_1-1765706331768.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/369795iD2DB0B34905C689C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jeff_choi_0662_1-1765706331768.png" alt="jeff_choi_0662_1-1765706331768.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And then, as shown in the figure below, a component was added.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jeff_choi_0662_2-1765706395853.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/369796i45D58FDB1F5931D0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jeff_choi_0662_2-1765706395853.png" alt="jeff_choi_0662_2-1765706395853.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the ICU component, IcuChannels, IcueMios, and IcuHwInterruptConfigList are set to the values ​​shown in the figure below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jeff_choi_0662_3-1765706488559.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/369797i28DA699E75BE41A5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jeff_choi_0662_3-1765706488559.png" alt="jeff_choi_0662_3-1765706488559.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="jeff_choi_0662_4-1765706648089.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/369798i1C6EF219CBD541C3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jeff_choi_0662_4-1765706648089.png" alt="jeff_choi_0662_4-1765706648089.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="jeff_choi_0662_6-1765706700337.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/369800i0F2F0F8D3DE293FF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jeff_choi_0662_6-1765706700337.png" alt="jeff_choi_0662_6-1765706700337.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The EmiosCommon setting value in the Mcl component is set as shown in the figure below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jeff_choi_0662_7-1765706908117.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/369801i4B70280836815772/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jeff_choi_0662_7-1765706908117.png" alt="jeff_choi_0662_7-1765706908117.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The Interrupt Controller setting value for the IntCtrl component is set as shown in the figure below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jeff_choi_0662_8-1765707016459.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/369802i14D02333BE2264D2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jeff_choi_0662_8-1765707016459.png" alt="jeff_choi_0662_8-1765707016459.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Finally, the PortConfigSet setting value for the Siul2_Port component was set as shown in the figure below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jeff_choi_0662_9-1765707114274.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/369803i30DFFF3741A4DEB3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jeff_choi_0662_9-1765707114274.png" alt="jeff_choi_0662_9-1765707114274.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I read PWM data using the Emios_Icu_Ip_GetDutyCycleValues ​​function in the main function, it is not working.&lt;/P&gt;&lt;P&gt;The code below is the source code that was tested.&lt;/P&gt;&lt;P&gt;====================================================================&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;#define&lt;/SPAN&gt; &lt;SPAN&gt;INSTANCE_1&lt;/SPAN&gt;&lt;SPAN&gt; (uint8)1U&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#define&lt;/SPAN&gt;&lt;SPAN&gt; CHANNEL_0 (uint8)0U&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;eMios_Icu_Ip_DutyCycleType&lt;/SPAN&gt;&lt;SPAN&gt; ic_result_temp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;int&lt;/SPAN&gt; &lt;SPAN&gt;main&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;void&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/* Initialize clock */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Clock_Ip_Init(&amp;amp;Clock_Ip_aClockConfig[0]);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/* Initialize all pins using the &lt;/SPAN&gt;&lt;SPAN&gt;Acu&lt;/SPAN&gt;&lt;SPAN&gt; driver */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Siul2_Port_Ip_Init(NUM_OF_CONFIGURED_PINS_PortContainer_0_VS_0, g_pin_mux_InitConfigArr_PortContainer_0_VS_0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/* Install &lt;/SPAN&gt;&lt;SPAN&gt;Emios&lt;/SPAN&gt;&lt;SPAN&gt; ISR */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;IntCtrl_Ip_Init(&amp;amp;IntCtrlConfig_0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/*&lt;/SPAN&gt;&lt;SPAN&gt;Emios&lt;/SPAN&gt; &lt;SPAN&gt;Mcl&lt;/SPAN&gt; &lt;SPAN&gt;Init&lt;/SPAN&gt;&lt;SPAN&gt; */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Emios_Mcl_Ip_Init(INSTANCE_1, &amp;amp;Emios_Mcl_Ip_Sa_1_Config_VS_0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/* Initialize the &lt;/SPAN&gt;&lt;SPAN&gt;Icu&lt;/SPAN&gt;&lt;SPAN&gt; driver */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Emios_Icu_Ip_Init(INSTANCE_1, &amp;amp;eMios_Icu_Ip_1_Config_PB_VS_0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/* Starts the signal measurement of eMIOS channel*/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Emios_Icu_Ip_StartSignalMeasurement(INSTANCE_1, CHANNEL_0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;while&lt;/SPAN&gt;&lt;SPAN&gt;(1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Emios_Icu_Ip_GetDutyCycleValues&lt;/SPAN&gt;&lt;SPAN&gt;(INSTANCE_1, CHANNEL_0, &amp;amp;ic_result_temp);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;//If captured&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt;(ic_result_temp.&lt;/SPAN&gt;&lt;SPAN&gt;PeriodTime&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;//Stop measuring&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Emios_Icu_Ip_StopSignalMeasurement(INSTANCE_1, CHANNEL_0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;break&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;delay();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Exit_Example(TRUE);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;SPAN&gt; (0U);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;====================================================================&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The EMIOS_ICU_DUTY_CYCLE check part in the Emios_Icu_Ip_GetDutyCycleValues ​​function is always EMIOS_ICU_NO_MEASUREMENT(eMios_Icu_Ip_axChState[eMios_Icu_Ip_u8IndexInChState[instance][hwChannel]].measurement).&lt;/SPAN&gt;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jeff_choi_0662_10-1765707929776.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/369804i7E9E5BD5D3D36FB3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jeff_choi_0662_10-1765707929776.png" alt="jeff_choi_0662_10-1765707929776.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Sun, 14 Dec 2025 10:31:05 GMT</pubDate>
    <dc:creator>jeff_choi_0662</dc:creator>
    <dc:date>2025-12-14T10:31:05Z</dc:date>
    <item>
      <title>How can I read PWM data using ICU?</title>
      <link>https://community.nxp.com/t5/S32K/How-can-I-read-PWM-data-using-ICU/m-p/2262011#M55362</link>
      <description>&lt;P&gt;I'm using the S32K389 chip.&lt;/P&gt;&lt;P&gt;I'm trying to read PWM input data using the ICU, but it's not working.&lt;/P&gt;&lt;P&gt;As shown in the figure below, the PTF17 pin is set to the emios_1_ch_1_h input pin.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jeff_choi_0662_1-1765706331768.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/369795iD2DB0B34905C689C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jeff_choi_0662_1-1765706331768.png" alt="jeff_choi_0662_1-1765706331768.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And then, as shown in the figure below, a component was added.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jeff_choi_0662_2-1765706395853.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/369796i45D58FDB1F5931D0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jeff_choi_0662_2-1765706395853.png" alt="jeff_choi_0662_2-1765706395853.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the ICU component, IcuChannels, IcueMios, and IcuHwInterruptConfigList are set to the values ​​shown in the figure below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jeff_choi_0662_3-1765706488559.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/369797i28DA699E75BE41A5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jeff_choi_0662_3-1765706488559.png" alt="jeff_choi_0662_3-1765706488559.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="jeff_choi_0662_4-1765706648089.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/369798i1C6EF219CBD541C3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jeff_choi_0662_4-1765706648089.png" alt="jeff_choi_0662_4-1765706648089.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="jeff_choi_0662_6-1765706700337.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/369800i0F2F0F8D3DE293FF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jeff_choi_0662_6-1765706700337.png" alt="jeff_choi_0662_6-1765706700337.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The EmiosCommon setting value in the Mcl component is set as shown in the figure below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jeff_choi_0662_7-1765706908117.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/369801i4B70280836815772/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jeff_choi_0662_7-1765706908117.png" alt="jeff_choi_0662_7-1765706908117.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The Interrupt Controller setting value for the IntCtrl component is set as shown in the figure below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jeff_choi_0662_8-1765707016459.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/369802i14D02333BE2264D2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jeff_choi_0662_8-1765707016459.png" alt="jeff_choi_0662_8-1765707016459.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Finally, the PortConfigSet setting value for the Siul2_Port component was set as shown in the figure below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jeff_choi_0662_9-1765707114274.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/369803i30DFFF3741A4DEB3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jeff_choi_0662_9-1765707114274.png" alt="jeff_choi_0662_9-1765707114274.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I read PWM data using the Emios_Icu_Ip_GetDutyCycleValues ​​function in the main function, it is not working.&lt;/P&gt;&lt;P&gt;The code below is the source code that was tested.&lt;/P&gt;&lt;P&gt;====================================================================&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;#define&lt;/SPAN&gt; &lt;SPAN&gt;INSTANCE_1&lt;/SPAN&gt;&lt;SPAN&gt; (uint8)1U&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#define&lt;/SPAN&gt;&lt;SPAN&gt; CHANNEL_0 (uint8)0U&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;eMios_Icu_Ip_DutyCycleType&lt;/SPAN&gt;&lt;SPAN&gt; ic_result_temp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;int&lt;/SPAN&gt; &lt;SPAN&gt;main&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;void&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/* Initialize clock */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Clock_Ip_Init(&amp;amp;Clock_Ip_aClockConfig[0]);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/* Initialize all pins using the &lt;/SPAN&gt;&lt;SPAN&gt;Acu&lt;/SPAN&gt;&lt;SPAN&gt; driver */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Siul2_Port_Ip_Init(NUM_OF_CONFIGURED_PINS_PortContainer_0_VS_0, g_pin_mux_InitConfigArr_PortContainer_0_VS_0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/* Install &lt;/SPAN&gt;&lt;SPAN&gt;Emios&lt;/SPAN&gt;&lt;SPAN&gt; ISR */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;IntCtrl_Ip_Init(&amp;amp;IntCtrlConfig_0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/*&lt;/SPAN&gt;&lt;SPAN&gt;Emios&lt;/SPAN&gt; &lt;SPAN&gt;Mcl&lt;/SPAN&gt; &lt;SPAN&gt;Init&lt;/SPAN&gt;&lt;SPAN&gt; */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Emios_Mcl_Ip_Init(INSTANCE_1, &amp;amp;Emios_Mcl_Ip_Sa_1_Config_VS_0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/* Initialize the &lt;/SPAN&gt;&lt;SPAN&gt;Icu&lt;/SPAN&gt;&lt;SPAN&gt; driver */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Emios_Icu_Ip_Init(INSTANCE_1, &amp;amp;eMios_Icu_Ip_1_Config_PB_VS_0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/* Starts the signal measurement of eMIOS channel*/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Emios_Icu_Ip_StartSignalMeasurement(INSTANCE_1, CHANNEL_0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;while&lt;/SPAN&gt;&lt;SPAN&gt;(1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Emios_Icu_Ip_GetDutyCycleValues&lt;/SPAN&gt;&lt;SPAN&gt;(INSTANCE_1, CHANNEL_0, &amp;amp;ic_result_temp);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;//If captured&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt;(ic_result_temp.&lt;/SPAN&gt;&lt;SPAN&gt;PeriodTime&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;//Stop measuring&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Emios_Icu_Ip_StopSignalMeasurement(INSTANCE_1, CHANNEL_0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;break&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;delay();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Exit_Example(TRUE);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;SPAN&gt; (0U);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;====================================================================&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The EMIOS_ICU_DUTY_CYCLE check part in the Emios_Icu_Ip_GetDutyCycleValues ​​function is always EMIOS_ICU_NO_MEASUREMENT(eMios_Icu_Ip_axChState[eMios_Icu_Ip_u8IndexInChState[instance][hwChannel]].measurement).&lt;/SPAN&gt;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jeff_choi_0662_10-1765707929776.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/369804i7E9E5BD5D3D36FB3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jeff_choi_0662_10-1765707929776.png" alt="jeff_choi_0662_10-1765707929776.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 14 Dec 2025 10:31:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-can-I-read-PWM-data-using-ICU/m-p/2262011#M55362</guid>
      <dc:creator>jeff_choi_0662</dc:creator>
      <dc:date>2025-12-14T10:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: How can I read PWM data using ICU?</title>
      <link>https://community.nxp.com/t5/S32K/How-can-I-read-PWM-data-using-ICU/m-p/2291356#M56038</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/257984"&gt;@jeff_choi_0662&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I'm also facing similar problems if you resolve this issue for measuring the frequency can you share the configuration or code?&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jan 2026 05:04:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-can-I-read-PWM-data-using-ICU/m-p/2291356#M56038</guid>
      <dc:creator>gayancho</dc:creator>
      <dc:date>2026-01-11T05:04:27Z</dc:date>
    </item>
  </channel>
</rss>

