<?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 not working on payment readers</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23154/nfc-not-working-on-payment-readers</link><description>Hi all, 
 I am using SDK13 with NRF52DK. I am trying to get NFC to work with a reader and encountered some problems. 
 I have tried 3 different examples, record_text, writable_ndef_msg and wake_on_nfc. They all work properly with an android phone. However</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 30 Jun 2017 12:57:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23154/nfc-not-working-on-payment-readers" /><item><title>RE: NFC not working on payment readers</title><link>https://devzone.nordicsemi.com/thread/91079?ContentTypeID=1</link><pubDate>Fri, 30 Jun 2017 12:57:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aaf1a94e-bef0-4b72-936d-77997c6e2913</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The NFCT peripheral will trigger an event if a field is detected when sensing mode is enabled. This short code shows how to enable sensing and interrupt for FIELDDETECTED event:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#include &amp;lt;nrf.h&amp;gt;

// This IRQ handler will trigger when NFC field is detected
void NFCT_IRQHandler(void)
{
  if (NRF_NFCT-&amp;gt;EVENTS_FIELDDETECTED == 1)
  {
    NRF_NFCT-&amp;gt;EVENTS_FIELDDETECTED = 0;
    //Field detected
  }
}

int main(void)
{
    //Enable interrupt for FIELDDETECT Event
    NRF_NFCT-&amp;gt;INTENSET = NFCT_INTENSET_FIELDDETECTED_Enabled &amp;lt;&amp;lt; NFCT_INTENSET_FIELDDETECTED_Pos;
    
    //Register interrupt for NFCT module
    NVIC_EnableIRQ(NFCT_IRQn);
    
    //Start sensing 
    NRF_NFCT-&amp;gt;TASKS_SENSE = 1;
    while(1)
    {
        // do nothing
    }
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC not working on payment readers</title><link>https://devzone.nordicsemi.com/thread/91076?ContentTypeID=1</link><pubDate>Fri, 30 Jun 2017 10:27:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ecb13045-63d6-4f11-8738-291e95ee1798</guid><dc:creator>kian79</dc:creator><description>&lt;p&gt;I am still unable to figure out the problem. The wake_on_nfc example does not trigger any field sense event. There is not a section of code that does that, as compared to the codes for the other 2 examples.
Anyone else can any other comments?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC not working on payment readers</title><link>https://devzone.nordicsemi.com/thread/91078?ContentTypeID=1</link><pubDate>Fri, 30 Jun 2017 05:37:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:287450f7-ee15-4e80-bc3a-b55ba391ce90</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Field sense (detect) event should be available any time, you don&amp;#39;t need to set the chip to POWER OFF mode. There is no SDK example which would work directly on top of NFCT peripheral, probably because the primary support is to NDEF TAG type 2 and 4 &amp;quot;libraries&amp;quot;. So it&amp;#39;s on you but it should e fairly easy from what I see.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC not working on payment readers</title><link>https://devzone.nordicsemi.com/thread/91073?ContentTypeID=1</link><pubDate>Fri, 30 Jun 2017 04:46:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94f87083-6fcb-41cf-a06d-93884720a753</guid><dc:creator>kian79</dc:creator><description>&lt;p&gt;The wake_on_nfc exmaple requires the MCU to be asleep and the presence of the NFC field is used to wake up the MCU.&lt;/p&gt;
&lt;p&gt;But in my application, I need the MCU to be performing some other task at the same time, and when a NFC field is detected, a different task is performed. So I don&amp;#39;t think I can adapt the wake_on_nfc example to my application. Or are you able to advise on how I can modify this code for my application?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC not working on payment readers</title><link>https://devzone.nordicsemi.com/thread/91074?ContentTypeID=1</link><pubDate>Fri, 30 Jun 2017 01:05:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab938283-ea7f-48c4-a0ef-2effe4007363</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;OK, so you need to only detect presence of ISO14443-A field and you are saying that wake_on_nfc works. So is there any problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC not working on payment readers</title><link>https://devzone.nordicsemi.com/thread/91077?ContentTypeID=1</link><pubDate>Fri, 30 Jun 2017 00:43:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6544c08c-c823-4808-89e6-03da24dc6abb</guid><dc:creator>kian79</dc:creator><description>&lt;p&gt;Hi Endnode,&lt;/p&gt;
&lt;p&gt;Thanks for the reply. I actually just need to detect the presence of an NFC field and nothing else. There is no exchange of message or communication need.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC not working on payment readers</title><link>https://devzone.nordicsemi.com/thread/91075?ContentTypeID=1</link><pubDate>Thu, 29 Jun 2017 14:08:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75096787-2eb3-4dcc-b1a5-e244c07c00b8</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;What do you expect payment reader doing with totally non-payment NFC app? Providing field and doing anti-collision is maximum you will get.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>