<?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>Kinetis MicrocontrollersのトピックRe: Can code written for K22 controller work on K20 ?</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Can-code-written-for-K22-controller-work-on-K20/m-p/642577#M38945</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It depends in 'no small part' on whether you are coming from K22 or K22--A.&amp;nbsp; The 'A' part is 'much closer' to the K20, BUT virtually ALL different members of Kinetis M4-devices still contain variations from such basic things as clock-setup and vector-table, to deeper issues of peripheral-instantiation-configuration such as the FIFO-depth on the SPI ports.&amp;nbsp; To get one binary that runs 'either processor' will require code that checks WHICH it is actually on, and make at LEAST the appropriate initial setup differences.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Feb 2017 12:52:04 GMT</pubDate>
    <dc:creator>egoodii</dc:creator>
    <dc:date>2017-02-16T12:52:04Z</dc:date>
    <item>
      <title>Can code written for K22 controller work on K20 ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Can-code-written-for-K22-controller-work-on-K20/m-p/642575#M38943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have been working on the product on both K22 and K20 controller. We are developing an static library (archive) for K22. Now other than controller family, functionality and every other feature are identical for K22 and K20 product.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the query is,&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If we are taking K20 with exactly same memory specs (512Kb, 128Kb ram, clock frequency) of that of K22, Can we link this static library directly to K20 device ?&lt;/LI&gt;&lt;LI&gt;Can we run executable created for K22 on K20 device ?&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 09:05:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Can-code-written-for-K22-controller-work-on-K20/m-p/642575#M38943</guid>
      <dc:creator>swapnilpendhare</dc:creator>
      <dc:date>2017-02-16T09:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Can code written for K22 controller work on K20 ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Can-code-written-for-K22-controller-work-on-K20/m-p/642576#M38944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;both the K22 and K20 are ARM Cortex-M4 devices. As long as you are only using Cortex-M4 features, the code is compatible. I assume you are using the K22 with floating point unit? In that case be aware that the K20 does not have this, and mixing libraries will be problematic if FPU is used. The other thing is: if you are using device specific peripherals (UART/SPI/etc): they are similar, but not the same.&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 10:04:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Can-code-written-for-K22-controller-work-on-K20/m-p/642576#M38944</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2017-02-16T10:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: Can code written for K22 controller work on K20 ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Can-code-written-for-K22-controller-work-on-K20/m-p/642577#M38945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It depends in 'no small part' on whether you are coming from K22 or K22--A.&amp;nbsp; The 'A' part is 'much closer' to the K20, BUT virtually ALL different members of Kinetis M4-devices still contain variations from such basic things as clock-setup and vector-table, to deeper issues of peripheral-instantiation-configuration such as the FIFO-depth on the SPI ports.&amp;nbsp; To get one binary that runs 'either processor' will require code that checks WHICH it is actually on, and make at LEAST the appropriate initial setup differences.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 12:52:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Can-code-written-for-K22-controller-work-on-K20/m-p/642577#M38945</guid>
      <dc:creator>egoodii</dc:creator>
      <dc:date>2017-02-16T12:52:04Z</dc:date>
    </item>
  </channel>
</rss>

