<?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 Software Development Kit中的主题 Re: K64 SmartCard Interface: The error when handling 1 byte response(Procedure Byte)</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K64-SmartCard-Interface-The-error-when-handling-1-byte-response/m-p/661976#M7241</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="283912" data-username="yklee@semidj.com" href="https://community.nxp.com/people/yklee@semidj.com"&gt;YK Lee,&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We will let you know as soon as possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Iva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Oct 2016 14:38:26 GMT</pubDate>
    <dc:creator>ivadorazinova</dc:creator>
    <dc:date>2016-10-31T14:38:26Z</dc:date>
    <item>
      <title>K64 SmartCard Interface: The error when handling 1 byte response(Procedure Byte)</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K64-SmartCard-Interface-The-error-when-handling-1-byte-response/m-p/661975#M7240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Team,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One of my customer is developing some product with K64 and SmartCard interface.&lt;/P&gt;&lt;P&gt;But he found some error when handling 1 byte response(Procedure byte) like below.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&lt;STRONG style="color: black; font-size: 12.0pt;"&gt;@emvl1_core.c&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;static &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;smartcard_core_error_t&lt;/SPAN&gt; &lt;STRONG style="color: black; font-size: 10.0pt;"&gt;ttl_send_cmd_t0(&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;smartcard_core_params_t&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt; *&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;coreParams&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;smartcard_ttl_cmd_t&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt; *&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;ttlCmd&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;smartcard_ttl_resp_t&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt; *&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;ttlRespPtr&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;… &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;else if (&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;coreParams&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;-&amp;gt;Case == kSCCommandCase3)&amp;nbsp; &lt;/SPAN&gt;&lt;EM style="color: #984807; font-size: 10.0pt;"&gt;-&amp;gt; Even case 1 and 2 have a same problem.&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* send command header */&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;send_data&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;coreParams&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;, header, 5u);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;tc&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt; = 0u;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Get procedure/status byte(s) */&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;receive_data&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;coreParams&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;ttlRespPtr&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;resp&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;, 2u, &amp;amp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;rcvLength&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;);&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while ((&lt;/SPAN&gt;&lt;STRONG style="color: red; font-size: 10.0pt;"&gt;rcvLength&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt; == &lt;/SPAN&gt;&lt;STRONG style="color: red; font-size: 10.0pt;"&gt;2u&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;) &amp;amp;&amp;amp; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;ttlRespPtr&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;resp&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;[0u] == 0x60u))&amp;nbsp; &lt;/SPAN&gt;&lt;EM style="color: #984807; font-size: 10.0pt;"&gt;-&amp;gt; Actually one PB byte can be received.(please refer to below )&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;EM style="color: #984807; font-size: 10.0pt;"&gt;But at this code if 2 bytes are not received, 1 byte PB is not &lt;/EM&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;EM style="color: #984807; font-size: 10.0pt;"&gt;proceeded.&amp;nbsp; So finally system waits until time out. &lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;ttlRespPtr&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;resp&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;[0u] = &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;ttlRespPtr&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;resp&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;[1u];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;rcvLength&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;--;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ((&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;ttlRespPtr&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;resp&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;[0u] == header[1u]) || ((&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;ttlRespPtr&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;resp&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;[0u] ^ (header[1u])) == 0xFFu))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; temp32 = 0u;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;receive_data&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;coreParams&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;, (&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;ttlRespPtr&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;resp&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt; + 1u), 1u, &amp;amp;temp32);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;rcvLength&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt; += temp32;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;As you can see this driver cannot handle one byte response normally.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Have you ever used SmartCard driver with K64 or another Kinetis chips?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;If yes, could you please share your experience?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;And below is the part of ISO7816 spec.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="166470_166470.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122404iC0139318F25EC57D/image-size/large?v=v2&amp;amp;px=999" role="button" title="166470_166470.png" alt="166470_166470.png" /&gt;&lt;/span&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/5651i76D36EB9A0707A85/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Thanks a lot for your help in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt; margin-left: .38in; text-indent: -.38in;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;YK Lee&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 13:29:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K64-SmartCard-Interface-The-error-when-handling-1-byte-response/m-p/661975#M7240</guid>
      <dc:creator>yklee1</dc:creator>
      <dc:date>2016-10-24T13:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: K64 SmartCard Interface: The error when handling 1 byte response(Procedure Byte)</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K64-SmartCard-Interface-The-error-when-handling-1-byte-response/m-p/661976#M7241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="283912" data-username="yklee@semidj.com" href="https://community.nxp.com/people/yklee@semidj.com"&gt;YK Lee,&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We will let you know as soon as possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Iva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2016 14:38:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K64-SmartCard-Interface-The-error-when-handling-1-byte-response/m-p/661976#M7241</guid>
      <dc:creator>ivadorazinova</dc:creator>
      <dc:date>2016-10-31T14:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: K64 SmartCard Interface: The error when handling 1 byte response(Procedure Byte)</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K64-SmartCard-Interface-The-error-when-handling-1-byte-response/m-p/661977#M7242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi YK Lee,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, are you trying to implement a generic smart card interface (ISO-7816)? Or do you have a point-of-sale system where they actually need EMV? We do have a newer version of the EMV level 1 code and a lot of software components available as part of our POS solutions.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, that is focused on EMV, and even the code they are attempting to use now is EMV targeted. So if you are trying to use that code for a standard 7816 smartcard, then that is probably the reason for the issue. If you want standard smartcard (non-EMV), then you should be using the KSDK driver as opposed to the EMV middleware.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Iva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 12:50:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K64-SmartCard-Interface-The-error-when-handling-1-byte-response/m-p/661977#M7242</guid>
      <dc:creator>ivadorazinova</dc:creator>
      <dc:date>2016-11-11T12:50:03Z</dc:date>
    </item>
  </channel>
</rss>

