<?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>PowerQUICC ProcessorsのトピックRe: Next-To-Last byte I2C Concept</title>
    <link>https://community.nxp.com/t5/PowerQUICC-Processors/Next-To-Last-byte-I2C-Concept/m-p/1211806#M3534</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;How can I detect that I am reading the next-to-last byte? Is this reported in I2CSR. I can`t find anything on this. It the STOP condition reported in some ways?&lt;BR /&gt;Since&amp;nbsp; the length of the data received from the master device that I am using&amp;nbsp; is never the same (1 to 8 bytes), I need to know how many bytes are sent per transaction in order to split the transaction in&amp;nbsp; a proper manner.&lt;BR /&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Jan 2021 14:49:55 GMT</pubDate>
    <dc:creator>martin_tcs</dc:creator>
    <dc:date>2021-01-14T14:49:55Z</dc:date>
    <item>
      <title>Next-To-Last byte I2C Concept</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/Next-To-Last-byte-I2C-Concept/m-p/928803#M2907</link>
      <description>&lt;P&gt;I read T1040 reference manual and encountered the following explanation but i actually didnt understand it.&lt;/P&gt;&lt;P&gt;"for a multiple byte transfer before reading the next-to-last byte in I2CDR, which causes the master receiver to not acknowledge the next transfer and to automatically generate a STOP at the conclusion of the next transfer"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if master-receiver sends NACK for next-to-last-byte&amp;nbsp; then this means we cannot get last byte from slave transmitter because we send a NACK for last byte that we didnt read it yet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and by the way, when i set I2CCR[TXAK] , the NACK is sending to slave transmitter for the byte that i read it from I2CDR register ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you explain this concept for me ?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 14:01:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/Next-To-Last-byte-I2C-Concept/m-p/928803#M2907</guid>
      <dc:creator>love_hate_and_repeat</dc:creator>
      <dc:date>2021-01-12T14:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Next-To-Last byte I2C Concept</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/Next-To-Last-byte-I2C-Concept/m-p/928804#M2908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TXAK specifies the value driven by receiver onto the SDA line during acknowledge cycles i.e. at the ninth clock after receiving 1 byte of data. When next-to-last byte is receiving into I2CDR the I2CCR[TXAK] was zero, so this byte was acknowledged. Notice reading I2CDR allows the I2C module to receive the next byte of data on the I2C bus. Due to that we first set I2CCR[TXAK] and then read the next-to-last byte from the I2CDR. So we allow to receive the last byte but it will not acknowledged because we has set TXAK=1 already.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2019 15:08:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/Next-To-Last-byte-I2C-Concept/m-p/928804#M2908</guid>
      <dc:creator>r8070z</dc:creator>
      <dc:date>2019-10-01T15:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Next-To-Last byte I2C Concept</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/Next-To-Last-byte-I2C-Concept/m-p/928805#M2909</link>
      <description>&lt;P&gt;thanks for your explanation. I understood why we need a dummy read for single byte transfer.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 14:03:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/Next-To-Last-byte-I2C-Concept/m-p/928805#M2909</guid>
      <dc:creator>love_hate_and_repeat</dc:creator>
      <dc:date>2021-01-12T14:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Next-To-Last byte I2C Concept</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/Next-To-Last-byte-I2C-Concept/m-p/1211806#M3534</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;How can I detect that I am reading the next-to-last byte? Is this reported in I2CSR. I can`t find anything on this. It the STOP condition reported in some ways?&lt;BR /&gt;Since&amp;nbsp; the length of the data received from the master device that I am using&amp;nbsp; is never the same (1 to 8 bytes), I need to know how many bytes are sent per transaction in order to split the transaction in&amp;nbsp; a proper manner.&lt;BR /&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 14:49:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/Next-To-Last-byte-I2C-Concept/m-p/1211806#M3534</guid>
      <dc:creator>martin_tcs</dc:creator>
      <dc:date>2021-01-14T14:49:55Z</dc:date>
    </item>
  </channel>
</rss>

