<?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 Re: I2C Vybrid Code? in Vybrid Processors</title>
    <link>https://community.nxp.com/t5/Vybrid-Processors/I2C-Vybrid-Code/m-p/267550#M1616</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Please take a look at this thread and it should have what you're looking for: &lt;A _jive_internal="true" href="https://community.nxp.com/thread/305795" title="https://community.freescale.com/thread/305795"&gt;https://community.freescale.com/thread/305795&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; We'll add that to the sample code in a future release. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Apr 2013 15:37:45 GMT</pubDate>
    <dc:creator>anthony_huereca</dc:creator>
    <dc:date>2013-04-15T15:37:45Z</dc:date>
    <item>
      <title>I2C Vybrid Code?</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/I2C-Vybrid-Code/m-p/267549#M1615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've searched the extranet and MQX sample code and I can't identify any I2C code that use the actual registers identified in MVF50GS10MK50.h.&amp;nbsp; Does any exist?&amp;nbsp; I want to make sure before I start writing new code to the raw I2C regs.&amp;nbsp; Polling or interrupt driven is fine.&amp;nbsp; Thanks, Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Apr 2013 15:10:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/I2C-Vybrid-Code/m-p/267549#M1615</guid>
      <dc:creator>ChrisNielsen</dc:creator>
      <dc:date>2013-04-15T15:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: I2C Vybrid Code?</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/I2C-Vybrid-Code/m-p/267550#M1616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Please take a look at this thread and it should have what you're looking for: &lt;A _jive_internal="true" href="https://community.nxp.com/thread/305795" title="https://community.freescale.com/thread/305795"&gt;https://community.freescale.com/thread/305795&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; We'll add that to the sample code in a future release. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Apr 2013 15:37:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/I2C-Vybrid-Code/m-p/267550#M1616</guid>
      <dc:creator>anthony_huereca</dc:creator>
      <dc:date>2013-04-15T15:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: I2C Vybrid Code?</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/I2C-Vybrid-Code/m-p/267551#M1617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice simple driver.&amp;nbsp; I like it.&amp;nbsp; The usage of I2C_Type * could be a bit tricky in terms of how I map the hardware address of the I2C peripheral to the structure.&amp;nbsp; Do you know where the example calling code is?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Apr 2013 16:24:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/I2C-Vybrid-Code/m-p/267551#M1617</guid>
      <dc:creator>ChrisNielsen</dc:creator>
      <dc:date>2013-04-15T16:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: I2C Vybrid Code?</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/I2C-Vybrid-Code/m-p/267552#M1618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;oops, never mind.&amp;nbsp; I see the #define in MVF50GS10MK50.h (I2C0) which I'll use as the parm, Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Apr 2013 16:26:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/I2C-Vybrid-Code/m-p/267552#M1618</guid>
      <dc:creator>ChrisNielsen</dc:creator>
      <dc:date>2013-04-15T16:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: I2C Vybrid Code?</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/I2C-Vybrid-Code/m-p/267553#M1619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The LCD I2C code that Anthony was good enough to share was a great starting point for my I2C master driver.&amp;nbsp; It was VERY helpful to have a working example.&amp;nbsp; I think I added some value and took the code to the next level.&amp;nbsp; New features:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Replace the "byte shifting complete" timing loop with a loop waiting on the hardware indication (the user no longer needs to adjust the timing loop for local CPU clock speed, except for the IBFD value which I haven't had time to figure out, math-wise, it works, I kept going)&lt;/P&gt;&lt;P&gt;- Same with stop condition asserted (don't start another transfer until last one is really stopped, now transfers are closely spaced without timing risk)&lt;/P&gt;&lt;P&gt;- Multi-byte write allowed to a reg number (allows efficient filter table loading into a codec for example)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i2c.h and i2c_vybrid.c form the core package.&amp;nbsp; vybrid_i2c.h are the I2C peripheral register defines.&amp;nbsp; adc3101.c is an example using this new code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just trying to give back to the community.&amp;nbsp; Maybe I can save someone else some code development time.&amp;nbsp; I've done a good amount of testing and have verified the low-level operation on a logic analyzer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enjoy, Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 19:53:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/I2C-Vybrid-Code/m-p/267553#M1619</guid>
      <dc:creator>ChrisNielsen</dc:creator>
      <dc:date>2013-05-21T19:53:40Z</dc:date>
    </item>
  </channel>
</rss>

