<?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 Strange problem with i2c master on FRDM board in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Strange-problem-with-i2c-master-on-FRDM-board/m-p/285079#M10910</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Trying to see any Master i2c bus activity on the FRDM board.&amp;nbsp; I actually turned on both i2c ports [just to make sure something didn't happen to one port.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For one port, I used the I2C_LDD method, basically copied straight out of the "typical usage"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="3456_3456.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119139iB7C9519B5EC292B3/image-size/large?v=v2&amp;amp;px=999" role="button" title="3456_3456.png" alt="3456_3456.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And not seeing any activity on either the clock line or data line [which has a 10K pullup resistor to 3v of course]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the higher level component just to send one byte on the other i2c port.&amp;nbsp; .&lt;/P&gt;&lt;P&gt;test:&amp;nbsp; I2C2_SendChar(0xaa);&lt;/P&gt;&lt;P&gt;goto test;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; text-decoration: underline;"&gt;&lt;STRONG&gt;Problem:&amp;nbsp; I don't see any activity at all.&amp;nbsp; The clock lines are non-active.&amp;nbsp; Any ideas?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Mar 2013 04:40:11 GMT</pubDate>
    <dc:creator>steve_fae</dc:creator>
    <dc:date>2013-03-06T04:40:11Z</dc:date>
    <item>
      <title>Strange problem with i2c master on FRDM board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Strange-problem-with-i2c-master-on-FRDM-board/m-p/285079#M10910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Trying to see any Master i2c bus activity on the FRDM board.&amp;nbsp; I actually turned on both i2c ports [just to make sure something didn't happen to one port.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For one port, I used the I2C_LDD method, basically copied straight out of the "typical usage"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="3456_3456.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119139iB7C9519B5EC292B3/image-size/large?v=v2&amp;amp;px=999" role="button" title="3456_3456.png" alt="3456_3456.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And not seeing any activity on either the clock line or data line [which has a 10K pullup resistor to 3v of course]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the higher level component just to send one byte on the other i2c port.&amp;nbsp; .&lt;/P&gt;&lt;P&gt;test:&amp;nbsp; I2C2_SendChar(0xaa);&lt;/P&gt;&lt;P&gt;goto test;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; text-decoration: underline;"&gt;&lt;STRONG&gt;Problem:&amp;nbsp; I don't see any activity at all.&amp;nbsp; The clock lines are non-active.&amp;nbsp; Any ideas?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 04:40:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Strange-problem-with-i2c-master-on-FRDM-board/m-p/285079#M10910</guid>
      <dc:creator>steve_fae</dc:creator>
      <dc:date>2013-03-06T04:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: Strange problem with i2c master on FRDM board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Strange-problem-with-i2c-master-on-FRDM-board/m-p/285080#M10911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is possible to cut off the clock from many peripherals on the KL25Z, known as 'clock gating'. But by default this should not be the case.&lt;/P&gt;&lt;P&gt;I suggest that you try one of my examples (e.g. Accelerometer demo) on &lt;A href="https://github.com/ErichStyger/mcuoneclipse/tree/master/Examples/FRDM-KL25Z/Freedom_Accel"&gt;GitHub &lt;/A&gt;if they work for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 07:27:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Strange-problem-with-i2c-master-on-FRDM-board/m-p/285080#M10911</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2013-03-06T07:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Strange problem with i2c master on FRDM board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Strange-problem-with-i2c-master-on-FRDM-board/m-p/285081#M10912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Erich, I ran your project and probed the signals at the pullup resistors on the FRDM board.&amp;nbsp; I see activity.&amp;nbsp; When I try to reconfigure the component and move the signals to any other i2c port pins and add some additional 5K pullups I still don't see any activity.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a bit of a mystery to i2c on this lovely FRDM board.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 16:53:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Strange-problem-with-i2c-master-on-FRDM-board/m-p/285081#M10912</guid>
      <dc:creator>steve_fae</dc:creator>
      <dc:date>2013-03-06T16:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: Strange problem with i2c master on FRDM board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Strange-problem-with-i2c-master-on-FRDM-board/m-p/285082#M10913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got i2c working on the FRDM board.&amp;nbsp; Thanks for your help again Erich.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 21:24:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Strange-problem-with-i2c-master-on-FRDM-board/m-p/285082#M10913</guid>
      <dc:creator>steve_fae</dc:creator>
      <dc:date>2013-03-07T21:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Strange problem with i2c master on FRDM board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Strange-problem-with-i2c-master-on-FRDM-board/m-p/285083#M10914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just out of interest, what was your solution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 21:52:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Strange-problem-with-i2c-master-on-FRDM-board/m-p/285083#M10914</guid>
      <dc:creator>Smiffytech</dc:creator>
      <dc:date>2013-03-07T21:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Strange problem with i2c master on FRDM board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Strange-problem-with-i2c-master-on-FRDM-board/m-p/285084#M10915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well I still don't have i2c fully running but I now have a clock active during Master i2c transmission.&amp;nbsp; Since I am new to Kinetis programming, I was calling the i2c master transmit from a timer interrupt routine.&amp;nbsp; Basically I am just data logging for time on.&amp;nbsp; When I moved the call outside of the interrupt routine I am now able to see the clock.&amp;nbsp; Interesting to note also is for the eeprom, Microchip only suggests using a pullup on the SDA line.&amp;nbsp; But for the FRDM board, while communicating with the accelerometer, they use a pullup on both the SDA and SCL lines.&amp;nbsp; So I added the additional pullup as well.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 22:18:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Strange-problem-with-i2c-master-on-FRDM-board/m-p/285084#M10915</guid>
      <dc:creator>steve_fae</dc:creator>
      <dc:date>2013-03-07T22:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: Strange problem with i2c master on FRDM board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Strange-problem-with-i2c-master-on-FRDM-board/m-p/285085#M10916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Weird about the pull-up on SDA only, unless there is some sort of pull-up in the Microchip part - because the electrical nature of I2C means it HAS to have pull-up resistors on both SDA and SCL. So, if you're doing I2C on pins other than the ones with the pull-ups on the Freedom board, yes, you need those resistors.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 23:12:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Strange-problem-with-i2c-master-on-FRDM-board/m-p/285085#M10916</guid>
      <dc:creator>Smiffytech</dc:creator>
      <dc:date>2013-03-07T23:12:53Z</dc:date>
    </item>
  </channel>
</rss>

