<?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 Re: LPC812 does not handle STOP after ACK in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-does-not-handle-STOP-after-ACK/m-p/522552#M5188</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by remcopoelstra on Thu Nov 27 06:38:54 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I've found a solution for this problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I write 0xff to the data register, then the LPC812 tries to send a high level while the master toggles SDA from low to high for the STOP condition, so the master wins in this case.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 16:40:03 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T16:40:03Z</dc:date>
    <item>
      <title>LPC812 does not handle STOP after ACK</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-does-not-handle-STOP-after-ACK/m-p/522551#M5187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by remcopoelstra on Thu Nov 27 03:56:03 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems that when the master-receiver sends an ACK and then a STOP, the LPC812 I2C controller signals a SLVPENDING interrupt and pulls down the SDA line.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Since I know the transaction should end, as the byte count is known, I instruct the slave control register to send back NACK's for SLVPENDING interrupts that I don't epxect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I make sure that the I2C Controller handles the STOP after the ACK?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Remco Poelstra&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:40:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-does-not-handle-STOP-after-ACK/m-p/522551#M5187</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: LPC812 does not handle STOP after ACK</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-does-not-handle-STOP-after-ACK/m-p/522552#M5188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by remcopoelstra on Thu Nov 27 06:38:54 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I've found a solution for this problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I write 0xff to the data register, then the LPC812 tries to send a high level while the master toggles SDA from low to high for the STOP condition, so the master wins in this case.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:40:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-does-not-handle-STOP-after-ACK/m-p/522552#M5188</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:40:03Z</dc:date>
    </item>
  </channel>
</rss>

