<?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 RAM and FLASH Limits for Microcontroller Selection in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/RAM-and-FLASH-Limits-for-Microcontroller-Selection/m-p/750336#M14475</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am new in Embedded C Developement and I am in need of help to decide how big my RAM and FLASH should be when&lt;/P&gt;&lt;P&gt;the projects inputs = 3 Digital signals from push buttons and Toggle switch and 2 analog inputs from power supply and trigger signal from activation switch&lt;/P&gt;&lt;P&gt;and out put is to drive a fire extinguisher and also Blink LEDS? Total estimated Source Lines of Code (SLOC)s are 5700 and the IDE I am Planning to use is Code Warrior 10.6. Micro controller will be chosen from Kinetis Family of Microcontrollers. &lt;/P&gt;&lt;P&gt;I have this estimate of Source Lines of Code(SLOC)s by looking at different projects.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Qazi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Mar 2018 14:28:37 GMT</pubDate>
    <dc:creator>qazimuhammadtal</dc:creator>
    <dc:date>2018-03-12T14:28:37Z</dc:date>
    <item>
      <title>RAM and FLASH Limits for Microcontroller Selection</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/RAM-and-FLASH-Limits-for-Microcontroller-Selection/m-p/750336#M14475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am new in Embedded C Developement and I am in need of help to decide how big my RAM and FLASH should be when&lt;/P&gt;&lt;P&gt;the projects inputs = 3 Digital signals from push buttons and Toggle switch and 2 analog inputs from power supply and trigger signal from activation switch&lt;/P&gt;&lt;P&gt;and out put is to drive a fire extinguisher and also Blink LEDS? Total estimated Source Lines of Code (SLOC)s are 5700 and the IDE I am Planning to use is Code Warrior 10.6. Micro controller will be chosen from Kinetis Family of Microcontrollers. &lt;/P&gt;&lt;P&gt;I have this estimate of Source Lines of Code(SLOC)s by looking at different projects.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Qazi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 14:28:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/RAM-and-FLASH-Limits-for-Microcontroller-Selection/m-p/750336#M14475</guid>
      <dc:creator>qazimuhammadtal</dc:creator>
      <dc:date>2018-03-12T14:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: RAM and FLASH Limits for Microcontroller Selection</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/RAM-and-FLASH-Limits-for-Microcontroller-Selection/m-p/750337#M14476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It's hard to say how many FLASH/RAM size you need for 5700 lines of code, because code and code are also different.&lt;/P&gt;&lt;P&gt;Under CW10.6 install there are many Kinetis demo code, you can refer a similar demo code to estimate your code size&lt;/P&gt;&lt;P&gt;D:\Freescale\CW MCU v10.6\MCU\CodeWarrior_Examples\Kinetis_Examples&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I would suggest you:&lt;/P&gt;&lt;P&gt;1. choose the right kinetis direvative you will use, for example KL25.&lt;/P&gt;&lt;P&gt;2. test your 5700 lines of code with a chip, for example KL25Z128&lt;/P&gt;&lt;P&gt;3. KL25Z128 has 128k flash and 16k ram. check generated code size if there is any memory left unused.&lt;/P&gt;&lt;P&gt;4. then re-select the right chip part number based on project code size&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 05:57:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/RAM-and-FLASH-Limits-for-Microcontroller-Selection/m-p/750337#M14476</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2018-03-13T05:57:35Z</dc:date>
    </item>
  </channel>
</rss>

