<?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: Simple Startup Routine using EEPROM:  FRDM-K22F</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Simple-Startup-Routine-using-EEPROM-FRDM-K22F/m-p/748473#M45552</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brian,&lt;/P&gt;&lt;P&gt;The main chip on FRDM-K22F is K22FN512VLH12 or K22FN128VLH10. They don't&amp;nbsp;support&amp;nbsp;FlexMemory&amp;nbsp;function. It means they haven't eeprom function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Nov 2017 06:13:21 GMT</pubDate>
    <dc:creator>jingpan</dc:creator>
    <dc:date>2017-11-30T06:13:21Z</dc:date>
    <item>
      <title>Simple Startup Routine using EEPROM:  FRDM-K22F</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Simple-Startup-Routine-using-EEPROM-FRDM-K22F/m-p/748472#M45551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, without going into a lot of details, I'm trying to figure out how to write a routine that resembles the flow chart below.&lt;/P&gt;&lt;P&gt;I have one button connected to my circuit board that is used to turn-on and/or turn-off the power.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the button is held down for 2 seconds I would like the routine to read EEPROM and determine if the value is "0".&amp;nbsp; This would indicated the unit was previously off, as a result, write a&amp;nbsp;"1" to eeprom.&amp;nbsp;&amp;nbsp;Conversely, if the value is "1", the unit was previously on, write a "0" to eeprom.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note, the circuitry is configured in such a way that when the button is pressed it will energize the uC immediately so this routine can be carried out. (If the uC is already on, the routine will be triggered).&amp;nbsp; I do have an "power enable pin" on the LDO that I will set depending on the reading from EEPROM (I believe with the K22F uC, this is called NVM?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/42085i51402D90DA1E1A1A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 18:40:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Simple-Startup-Routine-using-EEPROM-FRDM-K22F/m-p/748472#M45551</guid>
      <dc:creator>briancavanagh</dc:creator>
      <dc:date>2017-11-29T18:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Startup Routine using EEPROM:  FRDM-K22F</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Simple-Startup-Routine-using-EEPROM-FRDM-K22F/m-p/748473#M45552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brian,&lt;/P&gt;&lt;P&gt;The main chip on FRDM-K22F is K22FN512VLH12 or K22FN128VLH10. They don't&amp;nbsp;support&amp;nbsp;FlexMemory&amp;nbsp;function. It means they haven't eeprom function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Nov 2017 06:13:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Simple-Startup-Routine-using-EEPROM-FRDM-K22F/m-p/748473#M45552</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2017-11-30T06:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Startup Routine using EEPROM:  FRDM-K22F</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Simple-Startup-Routine-using-EEPROM-FRDM-K22F/m-p/748474#M45553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jing,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for helping.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Nov 2017 17:53:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Simple-Startup-Routine-using-EEPROM-FRDM-K22F/m-p/748474#M45553</guid>
      <dc:creator>briancavanagh</dc:creator>
      <dc:date>2017-11-30T17:53:14Z</dc:date>
    </item>
  </channel>
</rss>

