<?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>Kinetis Microcontrollersのトピックlpi2c using LPI2C_MasterTransferNonBlocking for EEPROM</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/lpi2c-using-LPI2C-MasterTransferNonBlocking-for-EEPROM/m-p/1422406#M62546</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I'm trying to use EEPROM(24FC64) by using&amp;nbsp;LPI2C_MasterTransferNonBlocking function.&lt;/P&gt;&lt;P&gt;I can write data to EEPROM, but I cannot to access Random Read(pls see attached).&lt;/P&gt;&lt;P&gt;How do you do a dummy write and subsequent read using LPI2C_MasterTransferNonBlocking?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="ss.png" style="width: 886px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/172358i5EE0B69E7D4C5EE5/image-size/large?v=v2&amp;amp;px=999" role="button" title="ss.png" alt="ss.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Mar 2022 04:37:15 GMT</pubDate>
    <dc:creator>rs__zen</dc:creator>
    <dc:date>2022-03-03T04:37:15Z</dc:date>
    <item>
      <title>lpi2c using LPI2C_MasterTransferNonBlocking for EEPROM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/lpi2c-using-LPI2C-MasterTransferNonBlocking-for-EEPROM/m-p/1422406#M62546</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I'm trying to use EEPROM(24FC64) by using&amp;nbsp;LPI2C_MasterTransferNonBlocking function.&lt;/P&gt;&lt;P&gt;I can write data to EEPROM, but I cannot to access Random Read(pls see attached).&lt;/P&gt;&lt;P&gt;How do you do a dummy write and subsequent read using LPI2C_MasterTransferNonBlocking?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="ss.png" style="width: 886px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/172358i5EE0B69E7D4C5EE5/image-size/large?v=v2&amp;amp;px=999" role="button" title="ss.png" alt="ss.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 04:37:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/lpi2c-using-LPI2C-MasterTransferNonBlocking-for-EEPROM/m-p/1422406#M62546</guid>
      <dc:creator>rs__zen</dc:creator>
      <dc:date>2022-03-03T04:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: lpi2c using LPI2C_MasterTransferNonBlocking for EEPROM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/lpi2c-using-LPI2C-MasterTransferNonBlocking-for-EEPROM/m-p/1428027#M62630</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/196995"&gt;@rs__zen&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to apologize for the delay. We are overloaded on the requests these days. I truly appreciate your patience.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding your question, personally I would suggest you to use&amp;nbsp;&lt;SPAN&gt;LPI2C_MasterTransferBlocking, because non-blocking function is going to read/write just one byte every time that it is being called and not the full message that you want to read/write on your EEPROM. It happened to me twice.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Also, can you please explain me what is your intention for doing a dummy write?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will stay tuned to your answer, please let me know if you have more questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;BR /&gt;Sincerely,&lt;BR /&gt;Pablo Avalos.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 00:15:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/lpi2c-using-LPI2C-MasterTransferNonBlocking-for-EEPROM/m-p/1428027#M62630</guid>
      <dc:creator>PabloAvalos</dc:creator>
      <dc:date>2022-03-15T00:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: lpi2c using LPI2C_MasterTransferNonBlocking for EEPROM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/lpi2c-using-LPI2C-MasterTransferNonBlocking-for-EEPROM/m-p/1428823#M62648</link>
      <description>&lt;P&gt;Hi PabloAvalos.&lt;/P&gt;&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dummy write means that it is write command without write bytes.&lt;/P&gt;&lt;P&gt;I feel it could be done by setting up the following.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;lpi2c_master_transfer_t masterXfer;
memset(&amp;amp;masterXfer, 0, sizeof(masterXfer));
uint8_t dummyBuf[1] = {0};
masterXfer.data = dummyBuf;
masterXfer.dataSize = 0;&lt;/LI-CODE&gt;&lt;P&gt;So,I send dummy write command and read command,&amp;nbsp; I could random read access with EEPROM using&amp;nbsp;&lt;SPAN&gt;LPI2C_MasterTransferNonBlocking.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I will ask again if problems arise.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thank you.&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Sincerely,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;rs__zen&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 16 Mar 2022 01:17:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/lpi2c-using-LPI2C-MasterTransferNonBlocking-for-EEPROM/m-p/1428823#M62648</guid>
      <dc:creator>rs__zen</dc:creator>
      <dc:date>2022-03-16T01:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: lpi2c using LPI2C_MasterTransferNonBlocking for EEPROM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/lpi2c-using-LPI2C-MasterTransferNonBlocking-for-EEPROM/m-p/1428869#M62649</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/196995"&gt;@rs__zen&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks a lot for letting us know with your reply.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you still require further help, please create a new post refering to this thread. We will be more than glad to help you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards.&lt;BR /&gt;Pablo Avalos.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 02:01:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/lpi2c-using-LPI2C-MasterTransferNonBlocking-for-EEPROM/m-p/1428869#M62649</guid>
      <dc:creator>PabloAvalos</dc:creator>
      <dc:date>2022-03-16T02:01:32Z</dc:date>
    </item>
  </channel>
</rss>

