<?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 I2C EEPROM Memory with the FRDM-K22F in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/I2C-EEPROM-Memory-with-the-FRDM-K22F/m-p/405450#M1650</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Following the idea of connecting I2C EEPROM memory to the Kinetis platform as outlined in &lt;A _jive_internal="true" data-containerid="11234" data-containertype="14" data-objectid="102521" data-objecttype="102" href="https://community.nxp.com/docs/DOC-102521"&gt;KSDK I2C EEPROM Example&lt;/A&gt; by Jorge Gonzales, the attached is a similar implementation but using the FRDM-K22F and MQX.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I took the I2C MQX example found in C:\Freescale\KSDK_1.2.0\examples\frdmk22f\demo_apps\i2c_rtos\i2c_rtos_mqx\kds and modified it to remove the sample and slave tasks. Then I implemented what's required to interface to the EEPROM. The commands are rather simple and limit the user to a single EEPROM page. So, for generic use (memory larger than a page or non-aligned data), the user would have to modify this code. But, this should be a good start.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This has been tested using a Freemont FT24C64A chip, but should work with any of the 24C64 parts available. The code is easily modified or extended to handle other memory configurations.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will be using this code to save/load system configuration parameters. I will also be extending the I2C implementation to handle other I2C chips on a daughter boards of my design.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Constructive input welcome.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338864"&gt;I2C-EEPROM.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jun 2015 21:16:41 GMT</pubDate>
    <dc:creator>davepfaltzgraff</dc:creator>
    <dc:date>2015-06-16T21:16:41Z</dc:date>
    <item>
      <title>I2C EEPROM Memory with the FRDM-K22F</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/I2C-EEPROM-Memory-with-the-FRDM-K22F/m-p/405450#M1650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Following the idea of connecting I2C EEPROM memory to the Kinetis platform as outlined in &lt;A _jive_internal="true" data-containerid="11234" data-containertype="14" data-objectid="102521" data-objecttype="102" href="https://community.nxp.com/docs/DOC-102521"&gt;KSDK I2C EEPROM Example&lt;/A&gt; by Jorge Gonzales, the attached is a similar implementation but using the FRDM-K22F and MQX.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I took the I2C MQX example found in C:\Freescale\KSDK_1.2.0\examples\frdmk22f\demo_apps\i2c_rtos\i2c_rtos_mqx\kds and modified it to remove the sample and slave tasks. Then I implemented what's required to interface to the EEPROM. The commands are rather simple and limit the user to a single EEPROM page. So, for generic use (memory larger than a page or non-aligned data), the user would have to modify this code. But, this should be a good start.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This has been tested using a Freemont FT24C64A chip, but should work with any of the 24C64 parts available. The code is easily modified or extended to handle other memory configurations.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will be using this code to save/load system configuration parameters. I will also be extending the I2C implementation to handle other I2C chips on a daughter boards of my design.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Constructive input welcome.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338864"&gt;I2C-EEPROM.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 21:16:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/I2C-EEPROM-Memory-with-the-FRDM-K22F/m-p/405450#M1650</guid>
      <dc:creator>davepfaltzgraff</dc:creator>
      <dc:date>2015-06-16T21:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: I2C EEPROM Memory with the FRDM-K22F</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/I2C-EEPROM-Memory-with-the-FRDM-K22F/m-p/405451#M1651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for sharing this!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 13:54:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/I2C-EEPROM-Memory-with-the-FRDM-K22F/m-p/405451#M1651</guid>
      <dc:creator>ivadorazinova</dc:creator>
      <dc:date>2015-06-17T13:54:31Z</dc:date>
    </item>
  </channel>
</rss>

