<?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中的主题 Re: I2C Block/No-Block, polling</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-Block-No-Block-polling/m-p/636398#M38409</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Blocking&lt;/STRONG&gt;: Related functions perform a blocking transaction/receive, which means that the function does not return until all data is sent/received OR a time out occurs.&lt;BR /&gt;&lt;STRONG&gt;no Blocking&lt;/STRONG&gt;: Related send/receive function returns immediately when set buffer pointer and length to transfer/receive buffer and transfer/receive Size. The user must check the status of I2C to know the whether transmission/receiving is finished or not.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Polling&lt;/STRONG&gt;: Checking I2C status flag using polling way, not interrupt.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Callback&lt;/STRONG&gt;: Using I2C interrupt way to do I2C transfer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would recommend customer to refer the latest&lt;A href="https://kex.nxp.com/en/welcome"&gt; KSDK V2.0 &lt;/A&gt;I2C driver examples with below examples:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5986i8AA4A9C8E1E45C9A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer want to do I2C EEPROM operation could refer KSDK V2.0 provided examples.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Sep 2016 07:36:48 GMT</pubDate>
    <dc:creator>Hui_Ma</dc:creator>
    <dc:date>2016-09-22T07:36:48Z</dc:date>
    <item>
      <title>I2C Block/No-Block, polling</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-Block-No-Block-polling/m-p/636397#M38408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Use Kinetis K22F to read/write I2C E2PROM, found there are &lt;STRONG&gt;Block, no Block, polling, call back&lt;/STRONG&gt; examples. From the examples code, I can't find what&amp;nbsp;difference, don't know which source code for my application. My understanding base on term meaning is the following for communication,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;-Bloc&lt;/STRONG&gt;k,&amp;nbsp;&amp;nbsp;means that the function does not return until the transmit is complete, the flowing code can't run until the block function finish&amp;nbsp;Tx or Rx.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;&amp;nbsp;-No-block&lt;/STRONG&gt;,&amp;nbsp;the function returns immediately after initiating the transmit function, the flowing code can run without&amp;nbsp;&lt;SPAN&gt;No-block&amp;nbsp;function finish Tx or Rx.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;&amp;nbsp;-Polling &amp;amp; callback&lt;/STRONG&gt;, should be used &amp;nbsp;for no-block Tx&amp;nbsp;and Rx, to check the state of Tx and Rx.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But seems that my explain are not right, could you please help me the below question,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;-What meaning of&amp;nbsp;&lt;STRONG&gt;Block, no Block, polling, call back?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;-Which example I should use to make K22F read/write I2C E2PROM?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kent&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 02:23:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-Block-No-Block-polling/m-p/636397#M38408</guid>
      <dc:creator>kent_gu</dc:creator>
      <dc:date>2016-09-21T02:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: I2C Block/No-Block, polling</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-Block-No-Block-polling/m-p/636398#M38409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Blocking&lt;/STRONG&gt;: Related functions perform a blocking transaction/receive, which means that the function does not return until all data is sent/received OR a time out occurs.&lt;BR /&gt;&lt;STRONG&gt;no Blocking&lt;/STRONG&gt;: Related send/receive function returns immediately when set buffer pointer and length to transfer/receive buffer and transfer/receive Size. The user must check the status of I2C to know the whether transmission/receiving is finished or not.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Polling&lt;/STRONG&gt;: Checking I2C status flag using polling way, not interrupt.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Callback&lt;/STRONG&gt;: Using I2C interrupt way to do I2C transfer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would recommend customer to refer the latest&lt;A href="https://kex.nxp.com/en/welcome"&gt; KSDK V2.0 &lt;/A&gt;I2C driver examples with below examples:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5986i8AA4A9C8E1E45C9A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer want to do I2C EEPROM operation could refer KSDK V2.0 provided examples.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 07:36:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-Block-No-Block-polling/m-p/636398#M38409</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2016-09-22T07:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: I2C Block/No-Block, polling</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-Block-No-Block-polling/m-p/636399#M38410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hui,&lt;/P&gt;&lt;P&gt;Sorry to reply late because I am busy for the other urgent work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Great, you&amp;nbsp;let me be more clear about the concept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I am using V1.3 KSDK for my project, also download&amp;nbsp;V2.0 KSDK for the processor, seems that they have big difference, and have the below question:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;#1, How do I switch V1.3KSDK project to V2.KSDK project? Because current many project using the driver from V1.3 KSDK?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;#2,V2.0 KSDK download just for one processor&amp;nbsp;or one board?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a good Day!&lt;/P&gt;&lt;P&gt;Kent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Oct 2016 23:21:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-Block-No-Block-polling/m-p/636399#M38410</guid>
      <dc:creator>kent_gu</dc:creator>
      <dc:date>2016-10-08T23:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: I2C Block/No-Block, polling</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-Block-No-Block-polling/m-p/636400#M38411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#1 For the KSDK V2.0 software architecture with big modification with KSDK V1.3 software, I would recommend customer to refer KSDK V2.0 software and related examples to redesign related project.&lt;/P&gt;&lt;P&gt;#2 Yes, the KSDK V2.0 doesn't provide the whole Kinetis product software package, which only provide single processor or single board related software package downloaded. Sorry for that may bring any inconvenience to you.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Oct 2016 01:41:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-Block-No-Block-polling/m-p/636400#M38411</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2016-10-09T01:41:51Z</dc:date>
    </item>
  </channel>
</rss>

