<?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>8-bit Microcontrollers中的主题 Re: I2C-bus Status Register Descriptions</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/I2C-bus-Status-Register-Descriptions/m-p/1015326#M23055</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a pretty old device and I do not have&amp;nbsp;any other documents besides the data sheet.&lt;/P&gt;&lt;P&gt;However, I will try to find a board to duplicate the issue. Could you please&amp;nbsp;capture the I2C trace of the NACK of address with a scope and post it here? I want to make I can duplicate the same sequence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Tomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jan 2020 16:52:42 GMT</pubDate>
    <dc:creator>TomasVaverka</dc:creator>
    <dc:date>2020-01-16T16:52:42Z</dc:date>
    <item>
      <title>I2C-bus Status Register Descriptions</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/I2C-bus-Status-Register-Descriptions/m-p/1015325#M23054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working with the MSP430FR2311 that has the&amp;nbsp;SC18IM700 chip. I was writing tests for I2C master and slave communication between two of the same board. One is programmed as a master and the other as a slave. I was getting unexpected behavior when trying to test the I2CSTAT register values. Specifically the I2C_NACK_ON_DATA as seen below.&lt;/P&gt;&lt;P&gt;&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/89158iBF5FE594A97DD771/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;When sending a write command to the chip and receiving a nack after the address is sent it is being registered as a I2C_NACK_ON_DATA. I would think this should be considered a I2C_NACK_ON_ADDRESS instead. Is my assumption correct? I wasn't able to find proper documentation explaining when these different statuses are supposed to be set. If you could provide a better description of each status or link me to somewhere that describes this that would be best.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2020 14:54:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/I2C-bus-Status-Register-Descriptions/m-p/1015325#M23054</guid>
      <dc:creator>andrew_stephen</dc:creator>
      <dc:date>2020-01-15T14:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: I2C-bus Status Register Descriptions</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/I2C-bus-Status-Register-Descriptions/m-p/1015326#M23055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a pretty old device and I do not have&amp;nbsp;any other documents besides the data sheet.&lt;/P&gt;&lt;P&gt;However, I will try to find a board to duplicate the issue. Could you please&amp;nbsp;capture the I2C trace of the NACK of address with a scope and post it here? I want to make I can duplicate the same sequence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Tomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2020 16:52:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/I2C-bus-Status-Register-Descriptions/m-p/1015326#M23055</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2020-01-16T16:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: I2C-bus Status Register Descriptions</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/I2C-bus-Status-Register-Descriptions/m-p/1015327#M23056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is an image showing the NACK on address for a write command. When I check the &lt;A href="mailto:I@C_STAT"&gt;I2C_STAT&lt;/A&gt;&amp;nbsp;register it is set to I2C_NACK_ON_DATA. If I do a read command and the NACK occurs here it is seen as a I2C_NACK_ON_ADDRESS. It should be a I2C_NACK_ON_ADDRESS in both cases. That is what I think.&lt;/P&gt;&lt;P&gt;&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/96402i739693B61734EFD9/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;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2020 18:05:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/I2C-bus-Status-Register-Descriptions/m-p/1015327#M23056</guid>
      <dc:creator>andrew_stephen</dc:creator>
      <dc:date>2020-01-16T18:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: I2C-bus Status Register Descriptions</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/I2C-bus-Status-Register-Descriptions/m-p/1015328#M23057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have looked into this and the device seems to respond properly. I just send an I2C address of the non-existing device and read the I2CStat, I read 0xF1 which is&amp;nbsp;I2C_NACK_ON_ADRRESS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If&amp;nbsp;you wait for a little then read back I2CStat register, would it still be 0xF2? Can&amp;nbsp;you try to run the same test right after power up without doing anything before the test, would&amp;nbsp;you still read 0xF2? What is the UART sequence&amp;nbsp;you did send?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Tomas&lt;/P&gt;&lt;P style="color: #201f1e; background-color: #ffffff; font-size: 11pt;"&gt;&lt;SPAN style="color: #002060; border: 0px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2020 20:43:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/I2C-bus-Status-Register-Descriptions/m-p/1015328#M23057</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2020-01-17T20:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: I2C-bus Status Register Descriptions</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/I2C-bus-Status-Register-Descriptions/m-p/1015329#M23058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found out that there was a bug with my slave device that was causing this issue to occur. I was able to resolve the issue after fixing this bug. Thank you for your help on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2020 21:10:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/I2C-bus-Status-Register-Descriptions/m-p/1015329#M23058</guid>
      <dc:creator>andrew_stephen</dc:creator>
      <dc:date>2020-01-17T21:10:17Z</dc:date>
    </item>
  </channel>
</rss>

