<?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: Assembler instruction TPF takes 2 clock cycles in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Assembler-instruction-TPF-takes-2-clock-cycles/m-p/151778#M3984</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;Please tell us what device you are programming.&amp;nbsp; Always add this information to the message subject line.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;Mac&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Oct 2007 20:58:01 GMT</pubDate>
    <dc:creator>macl</dc:creator>
    <dc:date>2007-10-02T20:58:01Z</dc:date>
    <item>
      <title>Assembler instruction TPF takes 2 clock cycles</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Assembler-instruction-TPF-takes-2-clock-cycles/m-p/151777#M3983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to write a routine to generate precise waveform, and I plan to use GPIO. I tried to use QSPI for this purpose but I didn't manage to have no clock delays between consecutive data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using the TPF (trap false) assembler instruction to align time in my code. I read on the Coldfire programmer manual that&amp;nbsp; the&amp;nbsp; TPF is&amp;nbsp; better than NOP because it lasts exactly 1 clock cycle. I made some test and I found that&amp;nbsp; I could&amp;nbsp; not get 1 clock cycle delay, but only multiple of 2 clock cycles.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I mean that a single TPF lasts 0 clock cycle, 2 TPF last 2 clock cycle, and I have no way to get, say, 3 clock cycles.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I missing something?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Marco&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2007 16:25:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Assembler-instruction-TPF-takes-2-clock-cycles/m-p/151777#M3983</guid>
      <dc:creator>ariaveta</dc:creator>
      <dc:date>2007-10-02T16:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Assembler instruction TPF takes 2 clock cycles</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Assembler-instruction-TPF-takes-2-clock-cycles/m-p/151778#M3984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;Please tell us what device you are programming.&amp;nbsp; Always add this information to the message subject line.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;Mac&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2007 20:58:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Assembler-instruction-TPF-takes-2-clock-cycles/m-p/151778#M3984</guid>
      <dc:creator>macl</dc:creator>
      <dc:date>2007-10-02T20:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: Assembler instruction TPF takes 2 clock cycles - MCF52235</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Assembler-instruction-TPF-takes-2-clock-cycles/m-p/151779#M3985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Sorry,&lt;BR /&gt;I'm programming the MCF52235.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Marco&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2007 21:42:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Assembler-instruction-TPF-takes-2-clock-cycles/m-p/151779#M3985</guid>
      <dc:creator>ariaveta</dc:creator>
      <dc:date>2007-10-02T21:42:04Z</dc:date>
    </item>
  </channel>
</rss>

