<?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 using processor expert in Processor Expert Software</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/I2C-using-processor-expert/m-p/420838#M3411</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to use I2C routines created by processor expert.&amp;nbsp; I am trying to read temperature from an I2C device and when using code similar to the examples and I see the following problem on a scope.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I transmit the address that I need to read and the program waits for the OnTransmitData interrupt to set a flag.&amp;nbsp; The program sees the OnTransmitData interrupt flag before the Close.&amp;nbsp; The program then continues to try to receive data&amp;nbsp; and I get a "Bus not available" error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need to insert a delay?&amp;nbsp; None are shown in the sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Aug 2015 14:55:20 GMT</pubDate>
    <dc:creator>dporada</dc:creator>
    <dc:date>2015-08-06T14:55:20Z</dc:date>
    <item>
      <title>I2C using processor expert</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/I2C-using-processor-expert/m-p/420838#M3411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to use I2C routines created by processor expert.&amp;nbsp; I am trying to read temperature from an I2C device and when using code similar to the examples and I see the following problem on a scope.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I transmit the address that I need to read and the program waits for the OnTransmitData interrupt to set a flag.&amp;nbsp; The program sees the OnTransmitData interrupt flag before the Close.&amp;nbsp; The program then continues to try to receive data&amp;nbsp; and I get a "Bus not available" error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need to insert a delay?&amp;nbsp; None are shown in the sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 14:55:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/I2C-using-processor-expert/m-p/420838#M3411</guid>
      <dc:creator>dporada</dc:creator>
      <dc:date>2015-08-06T14:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: I2C using processor expert</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/I2C-using-processor-expert/m-p/420839#M3412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Donald!&lt;/P&gt;&lt;P&gt;1) search "I2C" in &lt;A href="http://mcuoneclipse.com/" title="http://mcuoneclipse.com/"&gt;MCU on Eclipse | Everything on Eclipse, Microcontrollers and Software&lt;/A&gt; . It is a better site for Freescale &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt; processor expert.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;2) or You can try to use this I2c driver, I use it in my KDS &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;(without Kinetis SDK) &lt;/SPAN&gt;projects for FRDM-K64F board.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;3) and check a pull-up resistors in I2C bus.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Good luck!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 18:02:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/I2C-using-processor-expert/m-p/420839#M3412</guid>
      <dc:creator>oleglavrukhin</dc:creator>
      <dc:date>2015-08-06T18:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: I2C using processor expert</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/I2C-using-processor-expert/m-p/420840#M3413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Donald, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You use which chip , i thin it should have related flag to show the situation of receive and bus .&lt;/P&gt;&lt;P&gt;And&amp;nbsp; which example do you refer to , i will check it on my side .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 07:43:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/I2C-using-processor-expert/m-p/420840#M3413</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2015-08-11T07:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: I2C using processor expert</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/I2C-using-processor-expert/m-p/420841#M3414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The chip I was talking to was an MCP9804.&amp;nbsp; The example I used was the "Typical Usage" when you select "Help on Component" for the I2C component.&amp;nbsp; I used the receiving data in master mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to fix the problem using the CheckBus( ) before using the RecvBlock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks anyway,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 11:43:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/I2C-using-processor-expert/m-p/420841#M3414</guid>
      <dc:creator>dporada</dc:creator>
      <dc:date>2015-08-11T11:43:43Z</dc:date>
    </item>
  </channel>
</rss>

