<?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 How to enter LPC824 I2C slave mode(SLVPENDING bit problem) in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-enter-LPC824-I2C-slave-mode-SLVPENDING-bit-problem/m-p/536089#M11118</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;I am now working on the LPC824 as I2C slave to receive data from the master.&lt;/P&gt;&lt;P&gt;Now the program is that the SLVPENDING bit cannot become 1(default 0) after I enable the I2C slave function.&lt;/P&gt;&lt;P&gt;This leads to that the slave cannot acknowledge the slave address which the master sends.&lt;/P&gt;&lt;P&gt;And the salve cannot communicate with the master.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone can help me to enter LPC824 I2C slave mode successfully(let SLVPENDING bit become 1)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot if you can help me to solve the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following are my codes:&lt;/P&gt;&lt;P&gt;Now it always in the loop to check if the SLVPENDING bit is 1. Actually for some reason, the SLVPENDING bit is always 0. So the next codes cannot be executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/59868iB36419309AE0C66D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Jiayi Yu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 08:40:32 GMT</pubDate>
    <dc:creator>jiayiyu</dc:creator>
    <dc:date>2016-06-16T08:40:32Z</dc:date>
    <item>
      <title>How to enter LPC824 I2C slave mode(SLVPENDING bit problem)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-enter-LPC824-I2C-slave-mode-SLVPENDING-bit-problem/m-p/536089#M11118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;I am now working on the LPC824 as I2C slave to receive data from the master.&lt;/P&gt;&lt;P&gt;Now the program is that the SLVPENDING bit cannot become 1(default 0) after I enable the I2C slave function.&lt;/P&gt;&lt;P&gt;This leads to that the slave cannot acknowledge the slave address which the master sends.&lt;/P&gt;&lt;P&gt;And the salve cannot communicate with the master.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone can help me to enter LPC824 I2C slave mode successfully(let SLVPENDING bit become 1)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot if you can help me to solve the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following are my codes:&lt;/P&gt;&lt;P&gt;Now it always in the loop to check if the SLVPENDING bit is 1. Actually for some reason, the SLVPENDING bit is always 0. So the next codes cannot be executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/59868iB36419309AE0C66D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Jiayi Yu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 08:40:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-enter-LPC824-I2C-slave-mode-SLVPENDING-bit-problem/m-p/536089#M11118</guid>
      <dc:creator>jiayiyu</dc:creator>
      <dc:date>2016-06-16T08:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to enter LPC824 I2C slave mode(SLVPENDING bit problem)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-enter-LPC824-I2C-slave-mode-SLVPENDING-bit-problem/m-p/536090#M11119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;bump&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jun 2016 01:13:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-enter-LPC824-I2C-slave-mode-SLVPENDING-bit-problem/m-p/536090#M11119</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-19T01:13:18Z</dc:date>
    </item>
  </channel>
</rss>

