<?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>Processor Expert SoftwareのトピックRe: PPG bean with M52235EVB</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/PPG-bean-with-M52235EVB/m-p/218226#M1004</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello Jiri , thank you very much for this info what I wasn't aware. On the contrary, in the Help of PE there is an example (3) how to generate a period 255 times and in the OnEnd event the mode is changed. My task is to switch between different frequencies (set up afore in the Period List) and the number of the individual periods should be set up at the time a new period is selected. e.g. generate 10 times period1, then 3 times period2, 5 times period1 and so on Also the duty should be changeable. I'm looking forward to reading from you hb&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jun 2011 21:16:18 GMT</pubDate>
    <dc:creator>Steamy</dc:creator>
    <dc:date>2011-06-30T21:16:18Z</dc:date>
    <item>
      <title>PPG bean with M52235EVB</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/PPG-bean-with-M52235EVB/m-p/218224#M1002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using PE with CW10.1 Eclipse. Want to generate a Pulse Output with varying frequencies. For this purpose I take the "PPG" bean.&lt;/P&gt;&lt;P&gt;Problem: the "OnEnd" event is not generated.&lt;/P&gt;&lt;P&gt;The Interrupt/Event is enabled, also Enable/Disable and SetRatioMode with the timing list.&lt;/P&gt;&lt;P&gt;? Is there another bean neccessary OR what hides/disables the "OnEnd" event﻿ generation?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2011 14:31:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/PPG-bean-with-M52235EVB/m-p/218224#M1002</guid>
      <dc:creator>Steamy</dc:creator>
      <dc:date>2011-06-29T14:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: PPG bean with M52235EVB</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/PPG-bean-with-M52235EVB/m-p/218225#M1003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The OnEnd() event of PPG component is not available, because the PWM device of this CPU does not support "Interrupt on&lt;/P&gt;&lt;P&gt;period" interrupt source.&lt;BR /&gt;Could you write more about your use case? What kind of signal do you need to generate? Why do you need the On-End event?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Jiri Rezler&lt;BR /&gt;Processor Support Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2011 16:42:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/PPG-bean-with-M52235EVB/m-p/218225#M1003</guid>
      <dc:creator>ProcessorExpert</dc:creator>
      <dc:date>2011-06-30T16:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: PPG bean with M52235EVB</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/PPG-bean-with-M52235EVB/m-p/218226#M1004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello Jiri , thank you very much for this info what I wasn't aware. On the contrary, in the Help of PE there is an example (3) how to generate a period 255 times and in the OnEnd event the mode is changed. My task is to switch between different frequencies (set up afore in the Period List) and the number of the individual periods should be set up at the time a new period is selected. e.g. generate 10 times period1, then 3 times period2, 5 times period1 and so on Also the duty should be changeable. I'm looking forward to reading from you hb&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2011 21:16:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/PPG-bean-with-M52235EVB/m-p/218226#M1004</guid>
      <dc:creator>Steamy</dc:creator>
      <dc:date>2011-06-30T21:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: PPG bean with M52235EVB</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/PPG-bean-with-M52235EVB/m-p/218227#M1005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What period does have your signal? if it's not too small, it's possible to use TimerInt + BitIO compoments and generateoutput signal by software in OnInterrupt() event of TimerInt component. In this case, TimerInt component will be configured in "From list of value" and by SetPeriodMode() method will be set to the period of output signal. In TimerInt component, the event code would be like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Events.c module&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;byte cnt = 1;&amp;nbsp;&amp;nbsp; /* Sw counter, output period = TimerInt period/100 */&amp;nbsp;&lt;BR /&gt;byte Duty = 50;&amp;nbsp;/* value of duty */&lt;BR /&gt;void TI1_OnInterrupt(void)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; if (cnt &amp;gt;= duty) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Bit1_SetVal();&amp;nbsp;/* set output by BitIO component */&lt;BR /&gt;&amp;nbsp; } else {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Bit1_ClrVal();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* clear output by BitIO component */&lt;BR /&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; if (cnt &amp;gt; 100) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cnt=1;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; // duty = 20;&amp;nbsp; ﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿/* here is possible change duty and output frequency in run time */&lt;/P&gt;&lt;P&gt;&amp;nbsp; // ﻿﻿SetPeriodMode(1);&lt;BR /&gt;&amp;nbsp; } else {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cnt++;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Jiri Rezler&lt;BR /&gt;Processor Support Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jul 2011 22:11:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/PPG-bean-with-M52235EVB/m-p/218227#M1005</guid>
      <dc:creator>ProcessorExpert</dc:creator>
      <dc:date>2011-07-01T22:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: PPG bean with M52235EVB</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/PPG-bean-with-M52235EVB/m-p/218228#M1006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jiri,&lt;/P&gt;&lt;P&gt;thxs for your solution. It should be good for the period time I'm using (currently &amp;gt;=100us; but it will be smaller in future apps).&lt;/P&gt;&lt;P&gt;--------&lt;/P&gt;&lt;P&gt;As the chip has the advanced PWM module, I intended to use it and it would be more precise, what is important in my app.&lt;/P&gt;&lt;P&gt;My idea now is:&lt;/P&gt;&lt;P&gt;1. use the PPG as the time generator and connect it to my hardware&lt;/P&gt;&lt;P&gt;2. feed the PPG output additionally ﻿ into a Counter of the processor&lt;/P&gt;&lt;P&gt;3. that Counter is loaded with the number of pulses, which the current period time shall clock&lt;/P&gt;&lt;P&gt;4. the Counter interrupts at it's countdown&lt;/P&gt;&lt;P&gt;5. inside the ISR the new data can be loaded&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also ﻿an advantage would be less interrupts occuring, as the FEC and all UARTS have to be served.&lt;/P&gt;&lt;P&gt;????&lt;/P&gt;&lt;P&gt;I need your help in identifying that """Counter"""&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,﻿&lt;/P&gt;&lt;P&gt;Steamy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Jul 2011 14:30:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/PPG-bean-with-M52235EVB/m-p/218228#M1006</guid>
      <dc:creator>Steamy</dc:creator>
      <dc:date>2011-07-02T14:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: PPG bean with M52235EVB</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/PPG-bean-with-M52235EVB/m-p/218229#M1007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;in searching the "Counter" I would use the DTIM0; in PE the EventCntr8.&lt;/P&gt;&lt;P&gt;It counts the input pulses.&lt;/P&gt;&lt;P&gt;??&lt;/P&gt;&lt;P&gt;What is still missing: the intterupt function.&lt;/P&gt;&lt;P&gt;As the EventCntr8﻿ inside PE doesn't offer an ISR, I need to program it manually.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Help:&lt;/P&gt;&lt;P&gt;up to now I haven't got the intterupt working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thxs&lt;/P&gt;&lt;P&gt;Steamy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2011 00:14:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/PPG-bean-with-M52235EVB/m-p/218229#M1007</guid>
      <dc:creator>Steamy</dc:creator>
      <dc:date>2011-07-05T00:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: PPG bean with M52235EVB</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/PPG-bean-with-M52235EVB/m-p/218230#M1008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;finally I found the solution by using "Device Initialization".&lt;/P&gt;&lt;P&gt;I write into the DTMR the value 0x1F&lt;/P&gt;&lt;P&gt;the DTRR is loaded with the required number of pulses until an interrupt will occur&lt;/P&gt;&lt;P&gt;the remaining DTIM registers are 0x00&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Jul 2011 16:13:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/PPG-bean-with-M52235EVB/m-p/218230#M1008</guid>
      <dc:creator>Steamy</dc:creator>
      <dc:date>2011-07-09T16:13:25Z</dc:date>
    </item>
  </channel>
</rss>

