<?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: LPC54608 I2C write problem in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-I2C-write-problem/m-p/1063293#M41053</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem solved its pinmux configuration issue.&lt;/P&gt;&lt;P&gt;Thanks for your support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;prathap&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Jul 2020 04:59:59 GMT</pubDate>
    <dc:creator>prathap_ponnuch</dc:creator>
    <dc:date>2020-07-27T04:59:59Z</dc:date>
    <item>
      <title>LPC54608 I2C write problem</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-I2C-write-problem/m-p/1063291#M41051</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;&lt;/P&gt;&lt;P&gt;We are using LPC54608 mcu. In this we tried i2c based eeprom device read and write.&lt;/P&gt;&lt;P&gt;Data write we followed:&lt;/P&gt;&lt;P&gt;void data_write(uint8_t &lt;SPAN&gt;Byte_address&lt;/SPAN&gt;, uint8_t value){&lt;BR /&gt; I2C_MasterStart(((I2C_Type *)(I2C2_BASE)), 0x50U, kI2C_Write);&lt;BR /&gt; I2C_MasterWriteBlocking(((I2C_Type *)(I2C2_BASE)), &amp;amp;&lt;SPAN&gt;Byte_address&lt;/SPAN&gt;, 1, kI2C_TransferNoStopFlag);&lt;BR /&gt; I2C_MasterWriteBlocking(((I2C_Type *)(I2C2_BASE)), &amp;amp;value, 1, 0);&lt;BR /&gt; I2C_MasterStop(((I2C_Type *)(I2C2_BASE)));&lt;BR /&gt; //delay();&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Inside this&amp;nbsp;&lt;SPAN&gt;I2C_MasterWriteBlocking function there is one more function called&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;status = I2C_PendingStatusWait(base);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;first time (Byte_address)I2C_MasterWriteBlocking we received status = 0x805 but second time during value write this status value becomes 0x809 so it skipped without writing data into&amp;nbsp;base-&amp;gt;MSTDAT register.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Where i missed?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;how to solve this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;prathap&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jul 2020 14:18:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-I2C-write-problem/m-p/1063291#M41051</guid>
      <dc:creator>prathap_ponnuch</dc:creator>
      <dc:date>2020-07-19T14:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54608 I2C write problem</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-I2C-write-problem/m-p/1063292#M41052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="357987" data-username="prathap.ponnuchamy@hcl.com" href="https://community.nxp.com/people/prathap.ponnuchamy@hcl.com"&gt;prathap ponnuchamy&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;0x809&lt;/SPAN&gt; meaning&amp;nbsp;&lt;STRONG&gt;&amp;nbsp; NACK Data. Slave NACKed transmitted data.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&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/116308i8EADBB8C0386B9B8/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;so please check whether address and sub address is right? Also check I2C slave work well?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2020 08:32:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-I2C-write-problem/m-p/1063292#M41052</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2020-07-20T08:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54608 I2C write problem</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-I2C-write-problem/m-p/1063293#M41053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem solved its pinmux configuration issue.&lt;/P&gt;&lt;P&gt;Thanks for your support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;prathap&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2020 04:59:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-I2C-write-problem/m-p/1063293#M41053</guid>
      <dc:creator>prathap_ponnuch</dc:creator>
      <dc:date>2020-07-27T04:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54608 I2C write problem</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-I2C-write-problem/m-p/1063294#M41054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, thanks for your sharing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2020 08:45:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-I2C-write-problem/m-p/1063294#M41054</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2020-07-27T08:45:13Z</dc:date>
    </item>
  </channel>
</rss>

