<?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>Wireless MCUのトピックRe: Interrupt on PWM</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/Interrupt-on-PWM/m-p/667768#M2829</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you configure the timer 1 and the output pin? Could you please check the output voltage?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can take as a reference the next code. The JN-AN-11989 provides this example as a Dimmable Light&lt;/P&gt;&lt;P&gt;vAHI_TimerEnable(E_AHI_TIMER_0, 0, FALSE, FALSE, TRUE);&lt;BR /&gt; vAHI_TimerConfigureOutputs(E_AHI_TIMER_0, TRUE, TRUE); /* Invert PWM and disable gating */&lt;BR /&gt; vAHI_TimerClockSelect(E_AHI_TIMER_0, FALSE, TRUE);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know your findings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Jun 2017 17:29:23 GMT</pubDate>
    <dc:creator>mario_castaneda</dc:creator>
    <dc:date>2017-06-13T17:29:23Z</dc:date>
    <item>
      <title>Interrupt on PWM</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Interrupt-on-PWM/m-p/667767#M2828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to make an interrupt on my PWM signal i use this function :&lt;/P&gt;&lt;P&gt;vAHI_TimerEnable(E_AHI_TIMER_1,1,FALSE,TRUE,TRUE);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and my PWM is this :&lt;/P&gt;&lt;P&gt;vAHI_TimerStartRepeat(E_AHI_TIMER_1,PWM1,20000);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With a button I modify the variable PWM but for have a perfect signal I want to modify the PWM signal with the new time of low signal(0 Volt) when the actual signal is at 0 Volt. For that i detect the falling and I use this command :&lt;/P&gt;&lt;P&gt;vAHI_Timer1RegisterCallback(Timer1);&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PRIVATE void Timer1(uint32 u32DeviceId, uint32 u32ItemBitmap)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;vAHI_TimerStartRepeat(E_AHI_TIMER_1,PWM1,20000); //Repeat the PWM with a new PWM1 value&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it's possible but nothing happen when I make that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2017 15:28:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Interrupt-on-PWM/m-p/667767#M2828</guid>
      <dc:creator>bricesup</dc:creator>
      <dc:date>2017-05-30T15:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Interrupt on PWM</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Interrupt-on-PWM/m-p/667768#M2829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you configure the timer 1 and the output pin? Could you please check the output voltage?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can take as a reference the next code. The JN-AN-11989 provides this example as a Dimmable Light&lt;/P&gt;&lt;P&gt;vAHI_TimerEnable(E_AHI_TIMER_0, 0, FALSE, FALSE, TRUE);&lt;BR /&gt; vAHI_TimerConfigureOutputs(E_AHI_TIMER_0, TRUE, TRUE); /* Invert PWM and disable gating */&lt;BR /&gt; vAHI_TimerClockSelect(E_AHI_TIMER_0, FALSE, TRUE);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know your findings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 17:29:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Interrupt-on-PWM/m-p/667768#M2829</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2017-06-13T17:29:23Z</dc:date>
    </item>
  </channel>
</rss>

