<?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のトピックTiny asynchronous I2C driver</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Tiny-asynchronous-I2C-driver/m-p/359248#M18136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wrote a tiny driver that allows you to access I2C (IIC, I²C, or I squared C) on Freescale Kinetis microcontrollers. It works asynchronously (interrupt-driven), supports repeated start (restart) and does not depend on any large software framework.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It isn't anything particularly great, but I couldn't find anything like it (Kinetis SDK is nowhere near done, unfortunately)&lt;STRONG&gt;, &lt;/STRONG&gt;so I wrote my own and I thought I'd share the code. It is MIT-licensed, which means you can do pretty much anything you want with it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not a fully-featured driver. Only master mode is implemented. Only 7-bit addressing is supported. Addressing is fully manual: it is your responsibility to shift the 7-bit I2C address to the left and add the R/W bit (actually, I see this as an advantage). &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;There is almost no error handling.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Find it on the &lt;A href="http://jan.rychter.com/kinetis-i2c-driver" title="http://jan.rychter.com/kinetis-i2c-driver"&gt;Kinetis I2C Driver page&lt;/A&gt;, or go directly to the &lt;A href="https://github.com/jwr/kinetis_i2c" title="https://github.com/jwr/kinetis_i2c"&gt;GitHub repo with the code&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enjoy!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Jan (@jrychter on Twitter)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Dec 2014 18:01:49 GMT</pubDate>
    <dc:creator>jrychter</dc:creator>
    <dc:date>2014-12-17T18:01:49Z</dc:date>
    <item>
      <title>Tiny asynchronous I2C driver</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Tiny-asynchronous-I2C-driver/m-p/359248#M18136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wrote a tiny driver that allows you to access I2C (IIC, I²C, or I squared C) on Freescale Kinetis microcontrollers. It works asynchronously (interrupt-driven), supports repeated start (restart) and does not depend on any large software framework.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It isn't anything particularly great, but I couldn't find anything like it (Kinetis SDK is nowhere near done, unfortunately)&lt;STRONG&gt;, &lt;/STRONG&gt;so I wrote my own and I thought I'd share the code. It is MIT-licensed, which means you can do pretty much anything you want with it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not a fully-featured driver. Only master mode is implemented. Only 7-bit addressing is supported. Addressing is fully manual: it is your responsibility to shift the 7-bit I2C address to the left and add the R/W bit (actually, I see this as an advantage). &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;There is almost no error handling.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Find it on the &lt;A href="http://jan.rychter.com/kinetis-i2c-driver" title="http://jan.rychter.com/kinetis-i2c-driver"&gt;Kinetis I2C Driver page&lt;/A&gt;, or go directly to the &lt;A href="https://github.com/jwr/kinetis_i2c" title="https://github.com/jwr/kinetis_i2c"&gt;GitHub repo with the code&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enjoy!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Jan (@jrychter on Twitter)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 18:01:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Tiny-asynchronous-I2C-driver/m-p/359248#M18136</guid>
      <dc:creator>jrychter</dc:creator>
      <dc:date>2014-12-17T18:01:49Z</dc:date>
    </item>
  </channel>
</rss>

