<?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>LPC MicrocontrollersのトピックCan't get the I2C LPCOpen example to work (LPC812)</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-get-the-I2C-LPCOpen-example-to-work-LPC812/m-p/915890#M36580</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry about such a basic question, but I can't get the LPCOpen I2C example to run out of the box.&lt;/P&gt;&lt;P&gt;It compiles and runs fine, but *nothing* happens on the I2C bus. (I have an oscilloscope hooked up to the I2C lines)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;MCUXpresso IDE v10.3.1 [Build 2233] [2019-02-20]&lt;/LI&gt;&lt;LI&gt;"periph_i2cm_interrupt" example from "lpcopen_2_19_lpcxpresso_nxp_lpcxpresso_812.zip" (came with IDE)&lt;/LI&gt;&lt;LI&gt;LPCXpresso LPC812 REV A board&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried the other I2C examples (i2cm_polling, i2cm_rom), but the result is the same. Neither I2C line will ever see any signal change.&lt;/P&gt;&lt;P&gt;I must be missing some super basic setting. Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Jun 2019 15:42:52 GMT</pubDate>
    <dc:creator>zzzmqp</dc:creator>
    <dc:date>2019-06-28T15:42:52Z</dc:date>
    <item>
      <title>Can't get the I2C LPCOpen example to work (LPC812)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-get-the-I2C-LPCOpen-example-to-work-LPC812/m-p/915890#M36580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry about such a basic question, but I can't get the LPCOpen I2C example to run out of the box.&lt;/P&gt;&lt;P&gt;It compiles and runs fine, but *nothing* happens on the I2C bus. (I have an oscilloscope hooked up to the I2C lines)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;MCUXpresso IDE v10.3.1 [Build 2233] [2019-02-20]&lt;/LI&gt;&lt;LI&gt;"periph_i2cm_interrupt" example from "lpcopen_2_19_lpcxpresso_nxp_lpcxpresso_812.zip" (came with IDE)&lt;/LI&gt;&lt;LI&gt;LPCXpresso LPC812 REV A board&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried the other I2C examples (i2cm_polling, i2cm_rom), but the result is the same. Neither I2C line will ever see any signal change.&lt;/P&gt;&lt;P&gt;I must be missing some super basic setting. Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2019 15:42:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-get-the-I2C-LPCOpen-example-to-work-LPC812/m-p/915890#M36580</guid>
      <dc:creator>zzzmqp</dc:creator>
      <dc:date>2019-06-28T15:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get the I2C LPCOpen example to work (LPC812)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-get-the-I2C-LPCOpen-example-to-work-LPC812/m-p/915891#M36581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have replicated what you want to do and I am able to see the signal in the oscilloscope.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This what I did:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the example periph_12cm_interrupt from the LPCOpen just as you did. I am also using the same version of MCUXpresso.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ran the project on the board and here we know its running properly as the LED indicates the I2C is transferring data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tested on two different places for the I2C on the oscilloscope:&lt;/P&gt;&lt;P&gt;From the code itself we know they are using PIO_10/11 for SDC and SCL&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/89963i8C00E4507BEE6A86/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So I used the pins from two different headers that the LPCXpresso812 has.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/89964i1D2CD98F9ECE9B9F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When you are checking on the oscilloscope the led should still be blinking, if at any point the led turns off or stays turned on. I would recommend to restart the project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition some points to double check:&lt;/P&gt;&lt;P&gt;- Check that your oscilloscope probes are working properly&lt;/P&gt;&lt;P&gt;- Check all your connections (specially GND of your oscilloscope to your board)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you'd like me to share the oscilloscope configurations that I used (such as the time scale and voltage scale as well as the trigger), please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this information is useful, let me know if you have any other observations or questions.&lt;/P&gt;&lt;P&gt;Have a great day!&lt;/P&gt;&lt;P&gt;Sabina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2019 17:49:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-get-the-I2C-LPCOpen-example-to-work-LPC812/m-p/915891#M36581</guid>
      <dc:creator>Sabina_Bruce</dc:creator>
      <dc:date>2019-06-28T17:49:01Z</dc:date>
    </item>
  </channel>
</rss>

