<?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のトピックRe: LPC82x I2C Error</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC82x-I2C-Error/m-p/654161#M25998</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;&lt;P&gt;Hi Tiago,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response, is good to hear the problem was solved. Let us know if you have any other issue.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards!&lt;BR /&gt;Carlos Mendoza&lt;BR /&gt;Technical Support Engineer&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Oct 2016 23:07:13 GMT</pubDate>
    <dc:creator>Carlos_Mendoza</dc:creator>
    <dc:date>2016-10-11T23:07:13Z</dc:date>
    <item>
      <title>LPC82x I2C Error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC82x-I2C-Error/m-p/654157#M25994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to use the I2C in the LPC82x but I have some troubles. I configure the micro&amp;nbsp;as&amp;nbsp;shown below, however when I'm trying to the the signal with osciloscope (read mode:digital signals) the signals (SDA and SCL) are always high. What I'm doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Enable the clock to the Switch Matrix */&lt;BR /&gt; Chip_Clock_EnablePeriphClock(SYSCTL_CLOCK_SWM);&lt;BR /&gt; /* Connect the I2C_SDA and I2C_SCL signals to port pins(P0.10, P0.11) */&lt;BR /&gt; Chip_SWM_EnableFixedPin(SWM_FIXED_I2C0_SDA);&lt;BR /&gt; Chip_SWM_EnableFixedPin(SWM_FIXED_I2C0_SCL);&lt;BR /&gt; /* Enable standard mode/Fast mode for I2C pins */&lt;BR /&gt; Chip_IOCON_PinSetI2CMode(LPC_IOCON, IOCON_PIO10, PIN_I2CMODE_STDFAST);&lt;BR /&gt; Chip_IOCON_PinSetI2CMode(LPC_IOCON, IOCON_PIO11, PIN_I2CMODE_STDFAST);&lt;/P&gt;&lt;P&gt;/* Disable the clock to the Switch Matrix to save power */&lt;BR /&gt; Chip_Clock_DisablePeriphClock(SYSCTL_CLOCK_SWM);&lt;/P&gt;&lt;P&gt;Chip_I2C_Init(LPC_I2C0);&lt;BR /&gt; Chip_I2C_SetClockDiv(LPC_I2C0, 2);&lt;BR /&gt; Chip_I2CM_SetBusSpeed(LPC_I2C0, I2C_BITRATE);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//&lt;SPAN&gt;I2C_BITRATE=100kHz&lt;/SPAN&gt;&lt;BR /&gt; Chip_I2CM_Enable(LPC_I2C0);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this configurations I call a function to write to a slave device. Which configurations I'm doing worng or are missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Tiago&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2016 15:55:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC82x-I2C-Error/m-p/654157#M25994</guid>
      <dc:creator>tiagofernandes</dc:creator>
      <dc:date>2016-09-27T15:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: LPC82x I2C Error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC82x-I2C-Error/m-p/654158#M25995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I think I resolve the problem with the resolution that I presented in&amp;nbsp;&lt;A href="https://community.nxp.com/thread/429524"&gt;I2C on LPC810/LPC812&lt;/A&gt;&amp;nbsp;. Now my problem is, after send the slave address I receive always Not Ack (supposed to receive Ack because the slave is connected and that's your address). I verify the slave's address (+RW bit) and it's correct, the slave is also connected. Anyone can help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Tiago&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 08:24:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC82x-I2C-Error/m-p/654158#M25995</guid>
      <dc:creator>tiagofernandes</dc:creator>
      <dc:date>2016-09-30T08:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: LPC82x I2C Error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC82x-I2C-Error/m-p/654159#M25996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tiago,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your configuration in the code snippets above is correct, have you tried using the I2C LPCOpen examples as base for your application? Maybe you could take a look to the periph_i2cm_polling example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, have you tried using a logic analyzer to make sure the correct address is being sent?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks in advance for your response!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Carlos Mendoza&lt;BR /&gt;Technical Support Engineer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2016 21:15:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC82x-I2C-Error/m-p/654159#M25996</guid>
      <dc:creator>Carlos_Mendoza</dc:creator>
      <dc:date>2016-10-06T21:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: LPC82x I2C Error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC82x-I2C-Error/m-p/654160#M25997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all thanks for the answer.&lt;BR /&gt;I not use the examples because they use functions of the ROM.&lt;BR /&gt;I think I could already solve the problem but I don't know how I do that, because I comment my code, test other part of the I2C, comment this part and uncommented the previous part and start work. Like you said I always have in my tests a logic analyzer to see&amp;nbsp;the address and always its correct.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Tiago&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 08:18:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC82x-I2C-Error/m-p/654160#M25997</guid>
      <dc:creator>tiagofernandes</dc:creator>
      <dc:date>2016-10-07T08:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: LPC82x I2C Error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC82x-I2C-Error/m-p/654161#M25998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;&lt;P&gt;Hi Tiago,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response, is good to hear the problem was solved. Let us know if you have any other issue.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards!&lt;BR /&gt;Carlos Mendoza&lt;BR /&gt;Technical Support Engineer&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2016 23:07:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC82x-I2C-Error/m-p/654161#M25998</guid>
      <dc:creator>Carlos_Mendoza</dc:creator>
      <dc:date>2016-10-11T23:07:13Z</dc:date>
    </item>
  </channel>
</rss>

