<?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: S32K344 eMios Signal Measurement Problem in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K344-eMios-Signal-Measurement-Problem/m-p/1457989#M15423</link>
    <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your quick reply!&lt;BR /&gt;&lt;BR /&gt;I have tried your example and everything is working! I suppose that these measurement functions should only be called from the interrupt then, right? If so, it would be nice if this was mentioned in the function comments.&lt;BR /&gt;&lt;BR /&gt;Also, I would normally just give the "Interrupt Control" driver the corresponding "EMIOS1_5_IRQ" function handler, however it seems like the only solution currently is to do it the way you said (by creating interrupt handler ourselves) since there is no callback function that can be setup for Singal Measurement mode.&lt;BR /&gt;&lt;BR /&gt;Have a nice day!&lt;/P&gt;</description>
    <pubDate>Fri, 13 May 2022 13:20:31 GMT</pubDate>
    <dc:creator>tsirkunenkoa</dc:creator>
    <dc:date>2022-05-13T13:20:31Z</dc:date>
    <item>
      <title>S32K344 eMios Signal Measurement Problem</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-eMios-Signal-Measurement-Problem/m-p/1457901#M15417</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;we need to use the Period and Duty Cycle measurement functionality of the eMios module. However, when trying to apply PWM to the corresponding port - the results of corresponding measurement functions are zeros. Is it possible to verify if the eMios ICU works in this mode?&lt;BR /&gt;&lt;BR /&gt;Setup:&lt;BR /&gt;S32K3X4EVB-Q172 board. The eMios PWM example was taken as a base one, ICU module was added on top with corresponding functions:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tsirkunenkoa_0-1652438746317.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/179751i97AE5D3139D89EC3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tsirkunenkoa_0-1652438746317.png" alt="tsirkunenkoa_0-1652438746317.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The corresponding additional pin for measurement was setup:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tsirkunenkoa_1-1652438825635.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/179752iA00D29B9F4EE1717/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tsirkunenkoa_1-1652438825635.png" alt="tsirkunenkoa_1-1652438825635.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;A jumper wire with no resistance was connected between the pins in the following way (shown with red line):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tsirkunenkoa_2-1652438989993.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/179753iBE1F8B6BBA362E3E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tsirkunenkoa_2-1652438989993.png" alt="tsirkunenkoa_2-1652438989993.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;ICU module configuration:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tsirkunenkoa_3-1652439088302.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/179754i7B0497C40A25BA1C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tsirkunenkoa_3-1652439088302.png" alt="tsirkunenkoa_3-1652439088302.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tsirkunenkoa_4-1652439103038.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/179755iCF263FEACC74BDB3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tsirkunenkoa_4-1652439103038.png" alt="tsirkunenkoa_4-1652439103038.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;RTD version:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tsirkunenkoa_5-1652439236354.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/179756iE877167959FD36F4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tsirkunenkoa_5-1652439236354.png" alt="tsirkunenkoa_5-1652439236354.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I can attach the project archive upon request.&lt;BR /&gt;&lt;BR /&gt;Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2022 10:53:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-eMios-Signal-Measurement-Problem/m-p/1457901#M15417</guid>
      <dc:creator>tsirkunenkoa</dc:creator>
      <dc:date>2022-05-13T10:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 eMios Signal Measurement Problem</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-eMios-Signal-Measurement-Problem/m-p/1457954#M15419</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/193564"&gt;@tsirkunenkoa&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You can refer to this example:&lt;/P&gt;
&lt;P&gt;&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="_blank" rel="noopener"&gt;https://community.nxp.com/t5/S32K-Knowledge-Base/S32K344-Example-Emios-Icu-IPWM-measurement-DS34-RTD-100-v2/ta-p/1416327&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It uses customized ISR, but the configuration of the drivers should be very similar to your usecase.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2022 13:24:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-eMios-Signal-Measurement-Problem/m-p/1457954#M15419</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-05-13T13:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 eMios Signal Measurement Problem</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-eMios-Signal-Measurement-Problem/m-p/1457989#M15423</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your quick reply!&lt;BR /&gt;&lt;BR /&gt;I have tried your example and everything is working! I suppose that these measurement functions should only be called from the interrupt then, right? If so, it would be nice if this was mentioned in the function comments.&lt;BR /&gt;&lt;BR /&gt;Also, I would normally just give the "Interrupt Control" driver the corresponding "EMIOS1_5_IRQ" function handler, however it seems like the only solution currently is to do it the way you said (by creating interrupt handler ourselves) since there is no callback function that can be setup for Singal Measurement mode.&lt;BR /&gt;&lt;BR /&gt;Have a nice day!&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2022 13:20:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-eMios-Signal-Measurement-Problem/m-p/1457989#M15423</guid>
      <dc:creator>tsirkunenkoa</dc:creator>
      <dc:date>2022-05-13T13:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 eMios Signal Measurement Problem</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-eMios-Signal-Measurement-Problem/m-p/1457994#M15424</link>
      <description>&lt;P&gt;You can leave the ISR to the driver.&lt;/P&gt;
&lt;P&gt;But as you said, there is no notification, and it would have to be polled.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2022 13:27:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-eMios-Signal-Measurement-Problem/m-p/1457994#M15424</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-05-13T13:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 eMios Signal Measurement Problem</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-eMios-Signal-Measurement-Problem/m-p/1458019#M15427</link>
      <description>&lt;P&gt;Ok, I see that it shouldn't be necessarily called from an interrupt, but can be checked in a for loop until the period is not zero.&lt;BR /&gt;&lt;BR /&gt;Regarding the notification, it would be great if this functionality could be added. Otherwise, if the asynchornous measurement is required - the developers would need to write their custom ISR handler. The main problem here is that this ISR handler is used by other channels as well if they are configured (e.g. EMIOS1_5_IRQ will handle 0, 1, 2, 3 channels) and in this case we would need to differentiate from which channel the interrupt came from and act accrodingly, e.g. the following way:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;if ( 0U != ((Emios_Ip_paxBase[1]-&amp;gt;CH.UC[0].S) &amp;amp; (uint32)eMIOS_S_FLAG_MASK)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;But anyway, I hope the notifications for measurements or channels will be added soon.&lt;BR /&gt;&lt;BR /&gt;Thanks again and I will continue as is.&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2022 14:00:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-eMios-Signal-Measurement-Problem/m-p/1458019#M15427</guid>
      <dc:creator>tsirkunenkoa</dc:creator>
      <dc:date>2022-05-13T14:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 eMios Signal Measurement Problem</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-eMios-Signal-Measurement-Problem/m-p/1458042#M15429</link>
      <description>&lt;P&gt;You are right.&lt;/P&gt;
&lt;P&gt;Let me create a ticket to the RTD team.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2022 14:21:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-eMios-Signal-Measurement-Problem/m-p/1458042#M15429</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-05-13T14:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 eMios Signal Measurement Problem</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-eMios-Signal-Measurement-Problem/m-p/1489125#M16350</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello NXP Technical Support: I want a DEMO about the EB MCAL configuration ICU module is configured to input capture PWM duty cycle, because I found that the ICU I configured cannot trigger interrupts, I am using a S32K146 microcontroller, EB tresos version is 27.1.0. So I want a demo to compare and see.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2022 03:40:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-eMios-Signal-Measurement-Problem/m-p/1489125#M16350</guid>
      <dc:creator>ywjack</dc:creator>
      <dc:date>2022-07-14T03:40:10Z</dc:date>
    </item>
  </channel>
</rss>

