<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>NFC issue when migrating to SDK11</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37917/nfc-issue-when-migrating-to-sdk11</link><description>Hi, I wrote the firmware in SDK 11 preview, and when migrating it to SDK 11 the NFC code does not work, also it seems when the NFC startup code is executed none of the GPIO interrupts work either. The NFC code is same as in the example. 
 What could be</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 10 Sep 2018 13:16:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37917/nfc-issue-when-migrating-to-sdk11" /><item><title>RE: NFC issue when migrating to SDK11</title><link>https://devzone.nordicsemi.com/thread/148038?ContentTypeID=1</link><pubDate>Mon, 10 Sep 2018 13:16:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9ccec73-1418-40d6-895c-7c125c54d7c3</guid><dc:creator>Dajgoro Labinac</dc:creator><description>&lt;p&gt;I took a fresh new ble_app_uart project and a fresh record_url and copied the code and dependency into the ble example, and the same issue occurs. When the code executes&amp;nbsp;&lt;span&gt;nfcSetup it just hangs.&lt;br /&gt;I started a new topic regarding this problem here:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/38373/sdk11-nfc-ble-uart-now-working"&gt;devzone.nordicsemi.com/.../sdk11-nfc-ble-uart-now-working&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC issue when migrating to SDK11</title><link>https://devzone.nordicsemi.com/thread/147601?ContentTypeID=1</link><pubDate>Thu, 06 Sep 2018 13:25:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:072b444c-ab56-4002-8191-1262924af858</guid><dc:creator>Dajgoro Labinac</dc:creator><description>&lt;p&gt;The moment the&amp;nbsp;ret_val = nfcSetup(nfc_callback, NULL); is executed the code execution is halted, it does not even return an error message.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC issue when migrating to SDK11</title><link>https://devzone.nordicsemi.com/thread/147158?ContentTypeID=1</link><pubDate>Tue, 04 Sep 2018 11:24:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9bf6b713-961e-427c-913f-e69da7ea251b</guid><dc:creator>Dajgoro Labinac</dc:creator><description>&lt;p&gt;Looks like it does work better when I erase it with&amp;nbsp;&lt;span&gt;nrfjprog instead of nrfgo, but I can&amp;#39;t confirm yet 100%.&lt;br /&gt;Tho I still can&amp;#39;t get the nfc code to run in the project itself, I think it might be a clock issue, here are my configs:&lt;br /&gt;#define HAL_NFC_ENGINEERING_A_FTPAN_WORKAROUND&lt;br /&gt;#define HAL_NFC_ENGINEERING_BC_FTPAN_WORKAROUND&lt;br /&gt;&lt;br /&gt;#define CLOCK_ENABLED&amp;nbsp;0 (setting it to&amp;nbsp;1 makes no difference)&lt;br /&gt;&lt;br /&gt;#define NRF_CLOCK_LFCLKSRC {.source = NRF_CLOCK_LF_SRC_RC,&lt;br /&gt; .rc_ctiv = 12,&amp;nbsp;&lt;br /&gt; .rc_temp_ctiv = 0,&amp;nbsp;&lt;br /&gt; .xtal_accuracy = NRF_CLOCK_LF_XTAL_ACCURACY_20_PPM}&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC issue when migrating to SDK11</title><link>https://devzone.nordicsemi.com/thread/146965?ContentTypeID=1</link><pubDate>Mon, 03 Sep 2018 12:11:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58869f3a-833a-4ef6-977f-f7be85c28fb3</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi again,&lt;/p&gt;
&lt;p&gt;I just want to confirm something,&lt;/p&gt;
&lt;p&gt;Could you erase all on the chip and re-flash?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;use cmd and type &amp;quot;nrfjprog -e&amp;quot; and then flash the device with the correct application.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC issue when migrating to SDK11</title><link>https://devzone.nordicsemi.com/thread/146762?ContentTypeID=1</link><pubDate>Fri, 31 Aug 2018 12:15:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ec1559d-4810-48c5-82b2-ab9fe1a287b8</guid><dc:creator>Dajgoro Labinac</dc:creator><description>&lt;p&gt;Huh, works fine.&lt;br /&gt;Can you zip the entire sdk project with the example code and send it?&lt;/p&gt;
&lt;p&gt;Edit: It broke after 2 mins. :/&lt;br /&gt;Flashing the hex file again and restarting the board does not help.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC issue when migrating to SDK11</title><link>https://devzone.nordicsemi.com/thread/146761?ContentTypeID=1</link><pubDate>Fri, 31 Aug 2018 12:11:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6e89551-e0de-46d9-98d7-ecb98c15d85a</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-8f84991be91f4c7b8322fd0457471edf/nrf52832_5F00_xxaa.hex"&gt;devzone.nordicsemi.com/.../nrf52832_5F00_xxaa.hex&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC issue when migrating to SDK11</title><link>https://devzone.nordicsemi.com/thread/146705?ContentTypeID=1</link><pubDate>Fri, 31 Aug 2018 09:45:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cac2653d-6d9c-473e-9ff2-5c6721884cff</guid><dc:creator>Dajgoro Labinac</dc:creator><description>&lt;p&gt;I managed to bodge over the hal_nfc_t2t.c from sdk12 to sdk11, but when I build it it nfc wont work at all.&lt;br /&gt;&lt;br /&gt;Edit: You mentioned it worked for you on sdk11, can you send me the hex file you used?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC issue when migrating to SDK11</title><link>https://devzone.nordicsemi.com/thread/146582?ContentTypeID=1</link><pubDate>Thu, 30 Aug 2018 17:17:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87cfe67a-25ff-40ed-8c3d-c3ee875fac3b</guid><dc:creator>Dajgoro Labinac</dc:creator><description>&lt;p&gt;I tried that, but then a bunch of other errors appeared.&lt;br /&gt;Edit: Will again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC issue when migrating to SDK11</title><link>https://devzone.nordicsemi.com/thread/146516?ContentTypeID=1</link><pubDate>Thu, 30 Aug 2018 12:56:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bdea05e6-4ac6-47a4-ac9a-5de0459842be</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If there are some defines that are needed to use&amp;nbsp;&lt;em&gt;hal_nfc_t2t.c&amp;nbsp;&lt;/em&gt;from a newer SDK, then you could add the same in SDK 11 version of &amp;quot;sdk_config.h&amp;quot;, which is the &amp;quot;nrf_drv_config.h&amp;quot; file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC issue when migrating to SDK11</title><link>https://devzone.nordicsemi.com/thread/146496?ContentTypeID=1</link><pubDate>Thu, 30 Aug 2018 11:59:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:418c1bd0-4798-4f89-a3e6-9dd1d6b61ddb</guid><dc:creator>Dajgoro Labinac</dc:creator><description>&lt;p&gt;I did such a thing before to fix another bug, but I can&amp;#39;t copy that file since sdk11 does not use the new system with the sdk_config.h and a lot of other things have been changed. SDK12 seems to be right where a lot of changes occurred so going from 11 to 12 takes some work.&lt;br /&gt;SDK11 does not seem to even have T4T.&lt;br /&gt;&lt;br /&gt;Edit: A weird thing I found is that when I would copy over my old preview libraries that I&amp;#39;ve previously patched into the freshly downloaded SDK11 it would not work at all. What else is there affecting the project behavior except the libraries and the main.c code itself?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC issue when migrating to SDK11</title><link>https://devzone.nordicsemi.com/thread/146493?ContentTypeID=1</link><pubDate>Thu, 30 Aug 2018 11:44:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a10b78b6-b0d5-4716-9421-a65bb1c0974b</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Dajgoro,&lt;/p&gt;
&lt;p&gt;I saw that you had a similar case earlier (&lt;em&gt;case id: 201644&lt;/em&gt;) and we&amp;nbsp;recommended&amp;nbsp;you to migrate the&amp;nbsp;&lt;em&gt;hal_nfc_t2t.c&amp;nbsp;&lt;/em&gt;file from SDK 14 to 11.&lt;/p&gt;
&lt;p&gt;Apparently&amp;nbsp;there was found a bug in the T4T hal (and in the T2T hal) in sdk14.&lt;/p&gt;
&lt;p&gt;Maybe you can try with the attached updated t4t hal, and see if that solves the issue. The fix is related to &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v11.0.0%2Fgroup__nfc__fixes.html&amp;amp;resultof=%22HAL_NFC_ENGINEERING_BC_FTPAN_WORKAROUND%22%20" target="_blank" rel="noopener noreferrer"&gt;HAL_NFC_ENGINEERING_BC_FTPAN_WORKAROUND&lt;/a&gt;.&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-8f84991be91f4c7b8322fd0457471edf/hal_5F00_nfc_5F00_t4t.c"&gt;devzone.nordicsemi.com/.../hal_5F00_nfc_5F00_t4t.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The bug and fix is in the&amp;nbsp;nrf_nfct_field_event_handler(), you can compare this file to the one included in SDK15.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am not sure whether replacing this file will affect something else. In general we recommend to port NFC related files to SDK15, as there were some bug fixes (in addition to this one).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;(&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/35106/nfc-problem-in-sdk15/134724#134724"&gt;similar thread)&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC issue when migrating to SDK11</title><link>https://devzone.nordicsemi.com/thread/146490?ContentTypeID=1</link><pubDate>Thu, 30 Aug 2018 11:19:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63428d4a-a4c4-42a5-988d-92e7f79114a6</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Understood, I will do some digging.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC issue when migrating to SDK11</title><link>https://devzone.nordicsemi.com/thread/146485?ContentTypeID=1</link><pubDate>Thu, 30 Aug 2018 11:05:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8071d766-1fb8-4c83-9158-adc011b7d11e</guid><dc:creator>Dajgoro Labinac</dc:creator><description>&lt;p&gt;The issue is that the firmware has been in development for more than 2 years on SDK11 preview and porting it now to a newer SDK would take some work, and since this is&amp;nbsp;product&amp;nbsp;somebody has to pay for&amp;nbsp;development time. So fixing the SDK11 is the cheapest solution.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC issue when migrating to SDK11</title><link>https://devzone.nordicsemi.com/thread/146484?ContentTypeID=1</link><pubDate>Thu, 30 Aug 2018 11:00:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ede43162-0d4a-4737-9dc3-1b3fffa4a995</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Dajgoro,&lt;/p&gt;
&lt;p&gt;I cannot pin point directly what the issue is with the sdkv11 example without doing some digging, but I do not see the reason if you can use SDKv12 or newer. The NFC was in it&amp;#39;s earlier stages at sdk11 and there has been bug fixes and improvements through the updated SDK versions.&lt;/p&gt;
&lt;p&gt;Is it necessary that you use SDKv11? Why do you not want to use the newest &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Findex.html&amp;amp;cp=4_0_1" target="_blank" rel="noopener noreferrer"&gt;SDKv15?&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC issue when migrating to SDK11</title><link>https://devzone.nordicsemi.com/thread/146480?ContentTypeID=1</link><pubDate>Thu, 30 Aug 2018 10:36:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbdccb27-d69b-4aa6-80f2-ce4d4f72acce</guid><dc:creator>Dajgoro Labinac</dc:creator><description>&lt;p&gt;I tried the sdk11 you linked me, and things got even more weird.&lt;br /&gt;So the nfc in the sdk11 you linked works&amp;nbsp;intermittently.&lt;br /&gt;Sometimes it reads the nfc url with the phone, reads it a few times then it stops working.&lt;br /&gt;Flashing it again with the same&amp;nbsp;hex has no effect. But then suddenly it works for a bit again and so on..&lt;br /&gt;While with the sdk12 it works every time, the moment I come close with the phone to the board it reads the url.&lt;br /&gt;I tried swapping the two hex many times, but the sdk11 keeps behaving randomly and I can&amp;#39;t figure out why.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC issue when migrating to SDK11</title><link>https://devzone.nordicsemi.com/thread/146306?ContentTypeID=1</link><pubDate>Wed, 29 Aug 2018 12:25:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80e806d9-3ef1-40ff-9998-ee1b171209c7</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Dajgoro,&lt;/p&gt;
&lt;p&gt;I ran the &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v11.0.0%2Fnfc_record_launch_app.html&amp;amp;cp=4_0_10_4_6_0" target="_blank" rel="noopener noreferrer"&gt;Launch App Example&lt;/a&gt;&amp;nbsp;from SDK v11 without any trouble.&lt;/p&gt;
&lt;p&gt;Could you try to download a fresh copy of &lt;a href="http://developer.nordicsemi.com/nRF5_SDK/nRF5_SDK_v11.x.x/"&gt;SDKv11&lt;/a&gt;&amp;nbsp;if you have to use that, and try again?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC issue when migrating to SDK11</title><link>https://devzone.nordicsemi.com/thread/146265?ContentTypeID=1</link><pubDate>Wed, 29 Aug 2018 09:35:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f711506-5c68-4b28-8c80-911a1d52e079</guid><dc:creator>Dajgoro Labinac</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I spent more time with it, there is nothing wrong with the gpio interrupts after all, its just that the initialization of those happens after the nfc code which seems to glitch.&lt;br /&gt;&lt;br /&gt;I tried the bare nfc example from sdk11 and it does not work either. But when I try the sdk12 example it works.&lt;br /&gt;&lt;br /&gt;Edit: I tried an older copy of sdk11 that i had and its the same problem, won&amp;#39;t work.&lt;br /&gt;Can you verify that the nfc example works on sdk11?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC issue when migrating to SDK11</title><link>https://devzone.nordicsemi.com/thread/146262?ContentTypeID=1</link><pubDate>Wed, 29 Aug 2018 09:25:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8d12de6-88fc-43c8-a9d7-6c86c5b33e73</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Dajgoro,&lt;/p&gt;
&lt;p&gt;If you look at the &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v11.0.0%2Findex.html&amp;amp;cp=4_0_10" target="_blank" rel="noopener noreferrer"&gt;release notes for SDKv11&lt;/a&gt;, you can see that there has been some changes to the &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v11.0.0%2Flibrary_nfc.html&amp;amp;cp=4_0_10_3_18" target="_blank" rel="noopener noreferrer"&gt;NFC library&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The reason for why the NFC is not working for you is a bit tricky to say based on the information you have shared.&lt;/p&gt;
&lt;p&gt;I would suggest that you try to &lt;a href="https://devzone.nordicsemi.com/question/60125/my-device-is-freezing-and-restarting/"&gt;debug&lt;/a&gt;&amp;nbsp;your application and maybe share some error logs which could narrow down what could be the issue.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When you say: &amp;quot;&lt;em&gt;The NFC code is same as in the example&lt;/em&gt;.&amp;quot; Which &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v11.0.0%2Fexamples_nfc.html&amp;amp;cp=4_0_10_4_6" target="_blank" rel="noopener noreferrer"&gt;NFC example&lt;/a&gt; in &lt;a href="http://developer.nordicsemi.com/nRF5_SDK/nRF5_SDK_v11.x.x/" target="_blank" rel="noopener noreferrer"&gt;SDKv11 &lt;/a&gt;are you referring to?&lt;/p&gt;
&lt;p&gt;Do you have&amp;nbsp;issues running the unmodified &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v11.0.0%2Fexamples_nfc.html&amp;amp;cp=4_0_10_4_6" target="_blank" rel="noopener noreferrer"&gt;NFC examples&lt;/a&gt; from SDKv11?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>