<?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: Component RealTime_LDD - Code gets “stuck” in init</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/Component-RealTime-LDD-Code-gets-stuck-in-init/m-p/306348#M2297</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;Are you using some dome project from the CW installaction ? Or something else?&lt;/P&gt;&lt;P&gt;Please provide more details what components are you using and&amp;nbsp; how they are used? A sample project would be the best.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Petr Hradsky&lt;/P&gt;&lt;P&gt;Processor Expert Support Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Apr 2014 13:11:45 GMT</pubDate>
    <dc:creator>Petr_H</dc:creator>
    <dc:date>2014-04-02T13:11:45Z</dc:date>
    <item>
      <title>Component RealTime_LDD - Code gets “stuck” in init</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Component-RealTime-LDD-Code-gets-stuck-in-init/m-p/306345#M2294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="color: #000000;"&gt;Component RealTime_LDD - I found on a TWR-K70F120M on CW 10.5 PE 10.3 project that the Periodic interrupt source property for FTM0 defaults to FTM_MOD&amp;nbsp; (Modulo register)&amp;nbsp; - When this happens (In my case) the code hangs (loops in the init code – does not return) in any init methods - auto at PE_low_level_init(); or where init is manually set. If I change it to FTM0_C0V it seems to work OK. - Also used the information post at - &lt;/SPAN&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; mso-ansi-language: EN;"&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/message/366471#366471"&gt;&lt;SPAN style="color: #3778c7;"&gt;Real Time counter will not start and run using Processor Expert with FRDM-K20D50M board&lt;/SPAN&gt;&lt;/A&gt; and the same help typical usage example&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;Looked in the K70 Sub-Family Reference Manual and I do not understand what either of these registers have to do with Periodic interrupt source property but it would seem that the value to compare is held in the register. Maybe the register is used just because it was needed to be stored somewhere?&amp;nbsp; Anyone have an idea why the FTM0_MOD does not work OK? Is picking FTM0_C0V OK? – Both registers seem the same for storing values &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Mar 2014 03:53:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Component-RealTime-LDD-Code-gets-stuck-in-init/m-p/306345#M2294</guid>
      <dc:creator>jdjenzano</dc:creator>
      <dc:date>2014-03-29T03:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Component RealTime_LDD - Code gets “stuck” in init</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Component-RealTime-LDD-Code-gets-stuck-in-init/m-p/306346#M2295</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;Thank you for your post, however please consider moving it to the right community place (e.g. &lt;A href="https://community.nxp.com/space/2019"&gt; Kinetis Microcontrollers&lt;/A&gt; ) to get it visible for active members.&lt;/P&gt;&lt;P&gt;For details please see general advice &lt;A href="https://community.nxp.com/docs/DOC-99909"&gt;Where to post a Discussion?&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for using Freescale Community. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 08:43:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Component-RealTime-LDD-Code-gets-stuck-in-init/m-p/306346#M2295</guid>
      <dc:creator>Wlodek_D_</dc:creator>
      <dc:date>2014-03-31T08:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Component RealTime_LDD - Code gets “stuck” in init</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Component-RealTime-LDD-Code-gets-stuck-in-init/m-p/306347#M2296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" data-avatarid="24809" data-externalid="" data-presence="null" data-userid="36658" data-username="Wlodek_D." href="https://community.nxp.com/people/Wlodek_D." onclick=""&gt;&lt;STRONG style="color: #3778c7;"&gt;Wlodek_D.&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;OK I moved it, but is seemed to me to be a PE property setting default related question. but I can understand your interpretation and conclusion&amp;nbsp; - Thank you for your reply &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 12:09:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Component-RealTime-LDD-Code-gets-stuck-in-init/m-p/306347#M2296</guid>
      <dc:creator>jdjenzano</dc:creator>
      <dc:date>2014-03-31T12:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Component RealTime_LDD - Code gets “stuck” in init</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Component-RealTime-LDD-Code-gets-stuck-in-init/m-p/306348#M2297</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;Are you using some dome project from the CW installaction ? Or something else?&lt;/P&gt;&lt;P&gt;Please provide more details what components are you using and&amp;nbsp; how they are used? A sample project would be the best.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Petr Hradsky&lt;/P&gt;&lt;P&gt;Processor Expert Support Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 13:11:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Component-RealTime-LDD-Code-gets-stuck-in-init/m-p/306348#M2297</guid>
      <dc:creator>Petr_H</dc:creator>
      <dc:date>2014-04-02T13:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Component RealTime_LDD - Code gets “stuck” in init</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Component-RealTime-LDD-Code-gets-stuck-in-init/m-p/306349#M2298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Petr Hradsky Thank you for your response – When we are developing with Code warrior and PE we often build simple separate test project - Test_Componets with not much in there so if the code/component that we think we need does not work (Which seems to be always the case) we use the great help typical usage code to try in understand what we do not understand about the functionality of the Component (bean) we are using (and start off simple as possible minimal interrupts and&amp;nbsp; no RTOS)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;In the case of the Real Time Counter (RealTime_LDD) we want to use this for our sample rate so that we could adjust how many samples we would take from ADO (Hall effect sensor input) and&amp;nbsp; FTM 1 (Linear Quadrature Encoder input) and also output them DAC0 and DAC1 outputs so we could look at them on a conventional scope (or what we are doing now is getting AS1 to work so we can output them to a terminal and also use Freemaster)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;So the problems we saw with the using the RealTime_LDD component are:&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;This thread - We could not get it to work with using the default FTM0_MOD it did work with FTM0_C0V&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;AND - In addition as we were testing we saw that the sample rate we would expect with the property setting of Resolution 1 usec&amp;nbsp; Resolution 1 us – (actual shows – 1.001 us) – This would not put out correct timing (1 usec) on our production code. To get correct timing (as verified by DAC1 output an scope comparing traces of Un-sampled signal (DC to 1K Hz) input ADC0 output DAC0 with sampled input&amp;nbsp; ADC0 output to DAC1) needed to use -Resolution 100 us – (actual shows – 99.993 us)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Attached are the properties listing that we are using and the Help example code that worked in our initial testing (here for convenience.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 14:24:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Component-RealTime-LDD-Code-gets-stuck-in-init/m-p/306349#M2298</guid>
      <dc:creator>jdjenzano</dc:creator>
      <dc:date>2014-04-02T14:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Component RealTime_LDD - Code gets “stuck” in init</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Component-RealTime-LDD-Code-gets-stuck-in-init/m-p/306350#M2299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sorry but I still don't understand what do you want to achieve and why are you using Realtime_LDD.&lt;/P&gt;&lt;P&gt;Is period sampling of signal with ADC that you need ? &lt;/P&gt;&lt;P&gt;Please send us the ProcessorExpert.pe file that contains the settings of the component and we can look at it in Processor Expert...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Petr Hradsky&lt;/P&gt;&lt;P&gt;Processor Expert Support Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 07:01:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Component-RealTime-LDD-Code-gets-stuck-in-init/m-p/306350#M2299</guid>
      <dc:creator>Petr_H</dc:creator>
      <dc:date>2014-04-03T07:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Component RealTime_LDD - Code gets “stuck” in init</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Component-RealTime-LDD-Code-gets-stuck-in-init/m-p/306351#M2300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Petr Hradsky&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Thank you for your rapid response. We used the Real time counter because it seemed like a more generic approach than previous methods and could be applied to other projects that we are updating from S08=&amp;gt;Kinetis/ CW 6.X=&amp;gt;CW 10.5. The Real time Counter seems to work OK if we use FTM0_C0V not FTM0_MOD and 100us not 1 us in our testing. We have the data being accumulated that we need so we are currently moving forward to other requirements. We are focusing on data I/O AS1/Freemaster/PEG – TWR-SER/TWR-LCD-RGB - Our AS1 seems you be working OK- We get data out to the terminal, do not yet understand how to use the FreeMaster Component - and almost everything about TWR-LCD-RGB is a mystery (all of the Examples seem to be IAR - I have the PEG/IAR session at FTF 2014 - FTF-SDS-F0072 scheduled so maybe that will help with that mystery – We did&amp;nbsp; flash a .out file and verify&amp;nbsp; that&amp;nbsp; the hardware works OK)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;We will return to re-address the Components we are using when we get through first pass of the prototyping hardware basic functionality we need shortly after FTF 2014&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Attached is the DEV template file for the RT1 that works for us&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 11:06:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Component-RealTime-LDD-Code-gets-stuck-in-init/m-p/306351#M2300</guid>
      <dc:creator>jdjenzano</dc:creator>
      <dc:date>2014-04-03T11:06:26Z</dc:date>
    </item>
  </channel>
</rss>

