<?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>NFCのトピックHCE example8 is working on Android, but not on iPhone</title>
    <link>https://community.nxp.com/t5/NFC/HCE-example8-is-working-on-Android-but-not-on-iPhone/m-p/1261101#M8421</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using PN5180 for a long time, but mostly as a reader. Now I want to use HCE mode also. First I want to start to use HCE mode in any working example. So I've attached the PN5180 development kit to the external MCU used in our application, run the example8 and everything seems to work but only on my Android phone Xiaomi Mi Mix2 (some extra logs added) - three times reading process:&lt;/P&gt;&lt;P&gt;I (00:00:00.096) hce: Card Emulation Application...&lt;BR /&gt;I (00:00:00.096) hce: Reader Library thread started...&lt;BR /&gt;I (00:00:00.096) hce: Application thread started...&lt;BR /&gt;&lt;STRONG&gt;First try - success&lt;/STRONG&gt;&lt;BR /&gt;I (00:00:08.184) hce: ACTIVATED_BY_PEER...&lt;BR /&gt;W (00:00:08.184) hce: phpalI14443p4mC_Activate status: 0x0F06&lt;BR /&gt;I (00:00:08.203) hce: ACTIVATED_BY_PEER...&lt;BR /&gt;I (00:00:08.207) hce: Trigger AppProcessCmd in Application thread to start&lt;BR /&gt;I (00:00:09.147) hce: AppProcessCmd in Application thread exited&lt;BR /&gt;&lt;STRONG&gt;Second try - success&lt;/STRONG&gt;&lt;BR /&gt;I (00:00:12.296) hce: ACTIVATED_BY_PEER...&lt;BR /&gt;W (00:00:12.296) hce: phpalI14443p4mC_Activate status: 0x0F06&lt;BR /&gt;I (00:00:12.315) hce: ACTIVATED_BY_PEER...&lt;BR /&gt;I (00:00:12.319) hce: Trigger AppProcessCmd in Application thread to start&lt;BR /&gt;I (00:00:13.295) hce: AppProcessCmd in Application thread exited&lt;BR /&gt;&lt;STRONG&gt;Third try - success&lt;/STRONG&gt;&lt;BR /&gt;I (00:00:16.632) hce: ACTIVATED_BY_PEER...&lt;BR /&gt;W (00:00:16.632) hce: phpalI14443p4mC_Activate status: 0x0F06&lt;BR /&gt;I (00:00:16.651) hce: ACTIVATED_BY_PEER...&lt;BR /&gt;I (00:00:16.655) hce: Trigger AppProcessCmd in Application thread to start&lt;BR /&gt;I (00:00:17.591) hce: AppProcessCmd in Application thread exited&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the iPhone 8 reading and writing finished with success but maybe one or two per 10 tries. Here are logs:&lt;/P&gt;&lt;P&gt;I (00:00:00.096) hce: Card Emulation Application...&lt;BR /&gt;I (00:00:00.096) hce: Reader Library thread started...&lt;BR /&gt;I (00:00:00.096) hce: Application thread started...&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;First try without success , Connection error on the phone&lt;/STRONG&gt;&amp;nbsp;&lt;BR /&gt;I (00:00:02.840) hce: ACTIVATED_BY_PEER...&lt;BR /&gt;I (00:00:02.843) hce: Trigger AppProcessCmd in Application thread to start&lt;BR /&gt;I (00:00:02.951) hce: AppProcessCmd in Application thread exited&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Second try with success&lt;/STRONG&gt;&lt;BR /&gt;I (00:00:09.043) hce: ACTIVATED_BY_PEER...&lt;BR /&gt;I (00:00:09.047) hce: Trigger AppProcessCmd in Application thread to start&lt;BR /&gt;I (00:00:09.151) hce: AppProcessCmd in Application thread exited&lt;BR /&gt;I (00:00:09.159) hce: ACTIVATED_BY_PEER...&lt;BR /&gt;I (00:00:09.163) hce: Trigger AppProcessCmd in Application thread to start&lt;BR /&gt;I (00:00:09.263) hce: AppProcessCmd in Application thread exited&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Third try with success also but takes few internal tries&lt;/STRONG&gt;&lt;BR /&gt;I (00:00:22.551) hce: ACTIVATED_BY_PEER...&lt;BR /&gt;W (00:00:22.554) hce: phpalI14443p4mC_Activate status: 0x0210&lt;BR /&gt;I (00:00:22.588) hce: ACTIVATED_BY_PEER...&lt;BR /&gt;W (00:00:22.588) hce: phpalI14443p4mC_Activate status: 0x0F06&lt;BR /&gt;I (00:00:24.191) hce: ACTIVATED_BY_PEER...&lt;BR /&gt;I (00:00:24.195) hce: Trigger AppProcessCmd in Application thread to start&lt;BR /&gt;I (00:00:24.295) hce: AppProcessCmd in Application thread exited&lt;BR /&gt;I (00:00:24.303) hce: ACTIVATED_BY_PEER...&lt;BR /&gt;I (00:00:24.307) hce: Trigger AppProcessCmd in Application thread to start&lt;BR /&gt;I (00:00:24.407) hce: AppProcessCmd in Application thread exited&lt;/P&gt;&lt;P&gt;On both phones I'm using the same application NFC tools, but I tried other apps and works the same, poor performance on iPhone and works fine on android phone.&lt;/P&gt;&lt;P&gt;Do you have any ideas on how to make it work stable also on the iPhone? Any ideas for timings etc.?&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Marcin.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Apr 2021 08:09:35 GMT</pubDate>
    <dc:creator>marcinbaliniak</dc:creator>
    <dc:date>2021-04-13T08:09:35Z</dc:date>
    <item>
      <title>HCE example8 is working on Android, but not on iPhone</title>
      <link>https://community.nxp.com/t5/NFC/HCE-example8-is-working-on-Android-but-not-on-iPhone/m-p/1261101#M8421</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using PN5180 for a long time, but mostly as a reader. Now I want to use HCE mode also. First I want to start to use HCE mode in any working example. So I've attached the PN5180 development kit to the external MCU used in our application, run the example8 and everything seems to work but only on my Android phone Xiaomi Mi Mix2 (some extra logs added) - three times reading process:&lt;/P&gt;&lt;P&gt;I (00:00:00.096) hce: Card Emulation Application...&lt;BR /&gt;I (00:00:00.096) hce: Reader Library thread started...&lt;BR /&gt;I (00:00:00.096) hce: Application thread started...&lt;BR /&gt;&lt;STRONG&gt;First try - success&lt;/STRONG&gt;&lt;BR /&gt;I (00:00:08.184) hce: ACTIVATED_BY_PEER...&lt;BR /&gt;W (00:00:08.184) hce: phpalI14443p4mC_Activate status: 0x0F06&lt;BR /&gt;I (00:00:08.203) hce: ACTIVATED_BY_PEER...&lt;BR /&gt;I (00:00:08.207) hce: Trigger AppProcessCmd in Application thread to start&lt;BR /&gt;I (00:00:09.147) hce: AppProcessCmd in Application thread exited&lt;BR /&gt;&lt;STRONG&gt;Second try - success&lt;/STRONG&gt;&lt;BR /&gt;I (00:00:12.296) hce: ACTIVATED_BY_PEER...&lt;BR /&gt;W (00:00:12.296) hce: phpalI14443p4mC_Activate status: 0x0F06&lt;BR /&gt;I (00:00:12.315) hce: ACTIVATED_BY_PEER...&lt;BR /&gt;I (00:00:12.319) hce: Trigger AppProcessCmd in Application thread to start&lt;BR /&gt;I (00:00:13.295) hce: AppProcessCmd in Application thread exited&lt;BR /&gt;&lt;STRONG&gt;Third try - success&lt;/STRONG&gt;&lt;BR /&gt;I (00:00:16.632) hce: ACTIVATED_BY_PEER...&lt;BR /&gt;W (00:00:16.632) hce: phpalI14443p4mC_Activate status: 0x0F06&lt;BR /&gt;I (00:00:16.651) hce: ACTIVATED_BY_PEER...&lt;BR /&gt;I (00:00:16.655) hce: Trigger AppProcessCmd in Application thread to start&lt;BR /&gt;I (00:00:17.591) hce: AppProcessCmd in Application thread exited&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the iPhone 8 reading and writing finished with success but maybe one or two per 10 tries. Here are logs:&lt;/P&gt;&lt;P&gt;I (00:00:00.096) hce: Card Emulation Application...&lt;BR /&gt;I (00:00:00.096) hce: Reader Library thread started...&lt;BR /&gt;I (00:00:00.096) hce: Application thread started...&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;First try without success , Connection error on the phone&lt;/STRONG&gt;&amp;nbsp;&lt;BR /&gt;I (00:00:02.840) hce: ACTIVATED_BY_PEER...&lt;BR /&gt;I (00:00:02.843) hce: Trigger AppProcessCmd in Application thread to start&lt;BR /&gt;I (00:00:02.951) hce: AppProcessCmd in Application thread exited&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Second try with success&lt;/STRONG&gt;&lt;BR /&gt;I (00:00:09.043) hce: ACTIVATED_BY_PEER...&lt;BR /&gt;I (00:00:09.047) hce: Trigger AppProcessCmd in Application thread to start&lt;BR /&gt;I (00:00:09.151) hce: AppProcessCmd in Application thread exited&lt;BR /&gt;I (00:00:09.159) hce: ACTIVATED_BY_PEER...&lt;BR /&gt;I (00:00:09.163) hce: Trigger AppProcessCmd in Application thread to start&lt;BR /&gt;I (00:00:09.263) hce: AppProcessCmd in Application thread exited&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Third try with success also but takes few internal tries&lt;/STRONG&gt;&lt;BR /&gt;I (00:00:22.551) hce: ACTIVATED_BY_PEER...&lt;BR /&gt;W (00:00:22.554) hce: phpalI14443p4mC_Activate status: 0x0210&lt;BR /&gt;I (00:00:22.588) hce: ACTIVATED_BY_PEER...&lt;BR /&gt;W (00:00:22.588) hce: phpalI14443p4mC_Activate status: 0x0F06&lt;BR /&gt;I (00:00:24.191) hce: ACTIVATED_BY_PEER...&lt;BR /&gt;I (00:00:24.195) hce: Trigger AppProcessCmd in Application thread to start&lt;BR /&gt;I (00:00:24.295) hce: AppProcessCmd in Application thread exited&lt;BR /&gt;I (00:00:24.303) hce: ACTIVATED_BY_PEER...&lt;BR /&gt;I (00:00:24.307) hce: Trigger AppProcessCmd in Application thread to start&lt;BR /&gt;I (00:00:24.407) hce: AppProcessCmd in Application thread exited&lt;/P&gt;&lt;P&gt;On both phones I'm using the same application NFC tools, but I tried other apps and works the same, poor performance on iPhone and works fine on android phone.&lt;/P&gt;&lt;P&gt;Do you have any ideas on how to make it work stable also on the iPhone? Any ideas for timings etc.?&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Marcin.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 08:09:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/HCE-example8-is-working-on-Android-but-not-on-iPhone/m-p/1261101#M8421</guid>
      <dc:creator>marcinbaliniak</dc:creator>
      <dc:date>2021-04-13T08:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: HCE example8 is working on Android, but not on iPhone</title>
      <link>https://community.nxp.com/t5/NFC/HCE-example8-is-working-on-Android-but-not-on-iPhone/m-p/1261843#M8433</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/122139"&gt;@marcinbaliniak&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Actually there is no such kind of issue on my side , just place iPhone close to the antenna and you will find the card is detected. but I didn't see so much logs as shown above, did you enable some compiling option additionally ? That would consumes more time so that it might cause some timing issue according to the spec. Please kindly refer to the following for details.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Taginfo result 1.png" style="width: 872px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/142213i0551F42CDC16017F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Taginfo result 1.png" alt="Taginfo result 1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HCE debug info.png" style="width: 815px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/142214i796FE814F0E612CA/image-size/large?v=v2&amp;amp;px=999" role="button" title="HCE debug info.png" alt="HCE debug info.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 08:44:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/HCE-example8-is-working-on-Android-but-not-on-iPhone/m-p/1261843#M8433</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2021-04-14T08:44:11Z</dc:date>
    </item>
  </channel>
</rss>

