<?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>topic Re: NxpNci_WaitForDiscoveryNotification function is not working with ISO15693 on SW6705 nfc_example_ in Other NXP Products</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/NxpNci-WaitForDiscoveryNotification-function-is-not-working-with/m-p/1644737#M17623</link>
    <description>&lt;P&gt;Hello Daniel,&lt;/P&gt;&lt;P&gt;Thanks for the response&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/369"&gt;@danielchen&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the NFC settings we are using for our NFC example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have just changed the the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;NXP_TVDD_CONF&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to 1 as the VDD is 3.3V.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So please check the below settings and update me wheather i am doing right or wrong settings?&lt;/P&gt;&lt;LI-CODE lang="c"&gt;/***** NFC dedicated setting ****************************************/

/* Following definitions specifies which settings will apply when NxpNci_ConfigureSettings()
 * API is called from the application
 */
#define NXP_CORE_CONF        1
#define NXP_CORE_STANDBY     1
#define NXP_CORE_CONF_EXTN   1
#define NXP_CLK_CONF         1 // 1=Xtal, 2=PLL
#define NXP_TVDD_CONF        1 // 1=3.3V, 2=4.75V
#define NXP_RF_CONF          1

uint8_t NxpNci_SettingCurrentTS[32] = __TIMESTAMP__;

#if NXP_CORE_CONF
/* NCI standard dedicated settings
 * Refer to NFC Forum NCI standard for more details
 */
uint8_t NxpNci_CORE_CONF[]={0x20, 0x02, 0x05, 0x01,         /* CORE_SET_CONFIG_CMD */
    0x00, 0x02, 0xFE, 0x01                                  /* TOTAL_DURATION */
};
#endif

#if NXP_CORE_CONF_EXTN
/* NXP-NCI extension dedicated setting
 * Refer to NFC controller User Manual for more details
 */
uint8_t NxpNci_CORE_CONF_EXTN[]={0x20, 0x02, 0x05, 0x01,    /* CORE_SET_CONFIG_CMD */
    0xA0, 0x40, 0x01, 0x00                                  /* TAG_DETECTOR_CFG */
};
#endif

#if NXP_CORE_STANDBY
/* NXP-NCI standby enable setting
 * Refer to NFC controller User Manual for more details
 */
uint8_t NxpNci_CORE_STANDBY[]={0x2F, 0x00, 0x01, 0x00};    /* last byte indicates enable/disable */
#endif

#if NXP_CLK_CONF
/* NXP-NCI CLOCK configuration
 * Refer to NFC controller Hardware Design Guide document for more details
 */
 #if (NXP_CLK_CONF == 1)
 /* Xtal configuration */
 uint8_t NxpNci_CLK_CONF[]={0x20, 0x02, 0x05, 0x01,        /* CORE_SET_CONFIG_CMD */
   0xA0, 0x03, 0x01, 0x08                                  /* CLOCK_SEL_CFG */
 };
 #else
 /* PLL configuration */
 uint8_t NxpNci_CLK_CONF[]={0x20, 0x02, 0x09, 0x02,        /* CORE_SET_CONFIG_CMD */
   0xA0, 0x03, 0x01, 0x11,                                 /* CLOCK_SEL_CFG */
   0xA0, 0x04, 0x01, 0x01                                  /* CLOCK_TO_CFG */
 };
 #endif
#endif

#if NXP_TVDD_CONF
/* NXP-NCI TVDD configuration
 * Refer to NFC controller Hardware Design Guide document for more details
 */
 #if (NXP_TVDD_CONF == 1)
 /* TXLDO output voltage set to 3.3V */
 uint8_t NxpNci_TVDD_CONF[]={0x20, 0x02, 0x0F, 0x01, 0xA0, 0x0E, 0x0B, 0x11, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x10, 0x00, 0xD0, 0x0C};
 #else
 /* TXLDO output voltage set to 4.75V */
 uint8_t NxpNci_TVDD_CONF[]={0x20, 0x02, 0x0F, 0x01, 0xA0, 0x0E, 0x0B, 0x11, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x40, 0x00, 0xD0, 0x0C};
 #endif
#endif

#if NXP_RF_CONF
/* NXP-NCI RF configuration
 * Refer to NFC controller Antenna Design and Tuning Guidelines document for more details
 */
/* Following configuration relates to performance optimization of OM27160 NFC Controller demo kit */
uint8_t NxpNci_RF_CONF[]={0x20, 0x02, 0x4C, 0x09,
  0xA0, 0x0D, 0x03, 0x78, 0x0D, 0x02,
  0xA0, 0x0D, 0x03, 0x78, 0x14, 0x02,
  0xA0, 0x0D, 0x06, 0x4C, 0x44, 0x65, 0x09, 0x00, 0x00,
  0xA0, 0x0D, 0x06, 0x4C, 0x2D, 0x05, 0x35, 0x1E, 0x01,
  0xA0, 0x0D, 0x06, 0x82, 0x4A, 0x55, 0x07, 0x00, 0x07,
  0xA0, 0x0D, 0x06, 0x44, 0x44, 0x03, 0x04, 0xC4, 0x00,
  0xA0, 0x0D, 0x06, 0x46, 0x30, 0x50, 0x00, 0x18, 0x00,
  0xA0, 0x0D, 0x06, 0x48, 0x30, 0x50, 0x00, 0x18, 0x00,
  0xA0, 0x0D, 0x06, 0x4A, 0x30, 0x50, 0x00, 0x08, 0x00
};
#endif&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Taksh Patel.&lt;/P&gt;</description>
    <pubDate>Thu, 04 May 2023 13:39:23 GMT</pubDate>
    <dc:creator>takshpatel</dc:creator>
    <dc:date>2023-05-04T13:39:23Z</dc:date>
    <item>
      <title>NxpNci_WaitForDiscoveryNotification function is not working with ISO15693 on SW6705 nfc_example_RW</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/NxpNci-WaitForDiscoveryNotification-function-is-not-working-with/m-p/1639814#M17532</link>
      <description>&lt;P&gt;Hello Devlopers,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We are currently developing a product where we are looking to interface&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;PN7160 NFC reader with STM32WL&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;micro controller to c&lt;/SPAN&gt;&lt;STRONG&gt;ommunicate with ST25DV04KC dynamic tag&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;for sending and receiving data between NFC reader and ST25DV tag using the mailbox feature of ST25DV.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For this purpose i am using your example of &lt;STRONG&gt;SW6705 with ISO15693 protocol and nfc_example_RW&lt;/STRONG&gt; function for read and write.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;From this example i am able to connect the &lt;STRONG&gt;NxpNci_Connect,NxpNci_ConfigureSettings&lt;/STRONG&gt; and in&amp;nbsp;&lt;STRONG&gt;NxpNci_ConfigureMode&lt;/STRONG&gt; i am using the&amp;nbsp;&lt;STRONG&gt;NXPNCI_MODE_RW.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;After that &lt;STRONG&gt;NxpNci_StartDiscovery&amp;nbsp;&lt;/STRONG&gt;can be done and im waiting for the&amp;nbsp;&lt;STRONG&gt;NxpNci_WaitForDiscoveryNotification&lt;/STRONG&gt; but i am not getting the notification and my code will stop at the while loop,&amp;nbsp;&lt;/P&gt;&lt;P&gt;my code snipet is given below,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;bool NxpNci_WaitForDiscoveryNotification(NxpNci_RfIntf_t *pRfIntf)
{
    uint8_t NCIRfDiscoverSelect[] = {0x21, 0x04, 0x03, 0x01, PROT_ISODEP, INTF_ISODEP};
    uint8_t Answer[MAX_NCI_FRAME_SIZE];
    uint16_t AnswerSize;

#ifndef REMOVE_P2P_SUPPORT
    uint8_t NCIStopDiscovery[] = {0x21, 0x06, 0x01, 0x00};
    uint8_t NCIRestartDiscovery[] = {0x21, 0x06, 0x01, 0x03};
    uint8_t saved_NTF[7];
wait:
#endif //#ifndef REMOVE_P2P_SUPPORT
    do
    {
        if(NxpNci_WaitForReception(Answer, sizeof(Answer), &amp;amp;AnswerSize, TIMEOUT_INFINITE) == NXPNCI_ERROR) return NXPNCI_ERROR;
    }while ((Answer[0] != 0x61) || ((Answer[1] != 0x05) &amp;amp;&amp;amp; (Answer[1] != 0x03)));

    gNextTag_Protocol = PROT_UNDETERMINED;

    /* Is RF_INTF_ACTIVATED_NTF ? */
    if (Answer[1] == 0x05)
    {
        pRfIntf-&amp;gt;Interface = Answer[4];
        pRfIntf-&amp;gt;Protocol = Answer[5];
        pRfIntf-&amp;gt;ModeTech = Answer[6];
        pRfIntf-&amp;gt;MoreTags = false;
        NxpNci_FillInterfaceInfo(pRfIntf, &amp;amp;Answer[10]);

#ifndef REMOVE_P2P_SUPPORT
        /* Verifying if not a P2P device also presenting T4T emulation */
        if ((pRfIntf-&amp;gt;Interface == INTF_ISODEP) &amp;amp;&amp;amp; (pRfIntf-&amp;gt;Protocol == PROT_ISODEP) &amp;amp;&amp;amp; ((pRfIntf-&amp;gt;ModeTech &amp;amp; MODE_LISTEN) != MODE_LISTEN))
        {
            memcpy(saved_NTF, Answer, sizeof(saved_NTF));
            while(1)
            {
                /* Restart the discovery loop */ 
                NxpNci_HostTransceive(NCIRestartDiscovery, sizeof(NCIRestartDiscovery), Answer, sizeof(Answer), &amp;amp;AnswerSize);
                NxpNci_WaitForReception(Answer, sizeof(Answer), &amp;amp;AnswerSize, TIMEOUT_100MS);

                /* Wait for discovery */
                do NxpNci_WaitForReception(Answer, sizeof(Answer), &amp;amp;AnswerSize, TIMEOUT_1S);
                while ((AnswerSize == 4) &amp;amp;&amp;amp; (Answer[0] == 0x60) &amp;amp;&amp;amp; (Answer[1] == 0x07));

                if ((AnswerSize != 0) &amp;amp;&amp;amp; (Answer[0] == 0x61) &amp;amp;&amp;amp; (Answer[1] == 0x05))
                {
                    /* Is same device detected ? */
                    if (memcmp(saved_NTF, Answer, sizeof(saved_NTF)) == 0) break;
                    /* Is P2P detected ? */
                    if (Answer[5] == PROT_NFCDEP)
                    {
                        pRfIntf-&amp;gt;Interface = Answer[4];
                        pRfIntf-&amp;gt;Protocol = Answer[5];
                        pRfIntf-&amp;gt;ModeTech = Answer[6];
                        pRfIntf-&amp;gt;MoreTags = false;
                        NxpNci_FillInterfaceInfo(pRfIntf, &amp;amp;Answer[10]);
                        break;
                    }
                }
                else
                {
                    if (AnswerSize != 0)
                    {
                        /* Flush any other notification  */
                        while(Answer != 0) NxpNci_WaitForReception(Answer, sizeof(Answer), &amp;amp;AnswerSize, TIMEOUT_100MS);
                        /* Restart the discovery loop */ 
                        NxpNci_HostTransceive(NCIRestartDiscovery, sizeof(NCIRestartDiscovery), Answer, sizeof(Answer), &amp;amp;AnswerSize);
                        NxpNci_WaitForReception(Answer, sizeof(Answer), &amp;amp;AnswerSize, TIMEOUT_100MS);
                    }
                    goto wait;
                }
            }
        }
#endif //#ifndef REMOVE_P2P_SUPPORT
    }
    else /* RF_DISCOVER_NTF */
    {
        pRfIntf-&amp;gt;Interface = INTF_UNDETERMINED;
        pRfIntf-&amp;gt;Protocol = Answer[4];
        pRfIntf-&amp;gt;ModeTech = Answer[5];
        pRfIntf-&amp;gt;MoreTags = true;

        /* Get next NTF for further activation */
        do {
            if(NxpNci_WaitForReception(Answer, sizeof(Answer), &amp;amp;AnswerSize, TIMEOUT_100MS) == NXPNCI_ERROR)    return NXPNCI_ERROR;
        } while ((Answer[0] != 0x61) || (Answer[1] != 0x03));
        gNextTag_Protocol = Answer[4];

        /* Remaining NTF ? */
        while(Answer[AnswerSize-1] == 0x02) NxpNci_WaitForReception(Answer, sizeof(Answer), &amp;amp;AnswerSize, TIMEOUT_100MS);

        /* In case of multiple cards, select the first one */
        NCIRfDiscoverSelect[4] = pRfIntf-&amp;gt;Protocol;
        if (pRfIntf-&amp;gt;Protocol == PROT_ISODEP) NCIRfDiscoverSelect[5] = INTF_ISODEP;
        else if (pRfIntf-&amp;gt;Protocol == PROT_NFCDEP) NCIRfDiscoverSelect[5] = INTF_NFCDEP;
        else if (pRfIntf-&amp;gt;Protocol == PROT_MIFARE) NCIRfDiscoverSelect[5] = INTF_TAGCMD;
        else NCIRfDiscoverSelect[5] = INTF_FRAME;
        NxpNci_HostTransceive(NCIRfDiscoverSelect, sizeof(NCIRfDiscoverSelect), Answer, sizeof(Answer), &amp;amp;AnswerSize);
        if ((Answer[0] == 0x41) || (Answer[1] == 0x04) || (Answer[3] == 0x00))
        {
            NxpNci_WaitForReception(Answer, sizeof(Answer), &amp;amp;AnswerSize, TIMEOUT_100MS);
            if ((Answer[0] == 0x61) || (Answer[1] == 0x05))
            {
                pRfIntf-&amp;gt;Interface = Answer[4];
                pRfIntf-&amp;gt;Protocol = Answer[5];
                pRfIntf-&amp;gt;ModeTech = Answer[6];
                NxpNci_FillInterfaceInfo(pRfIntf, &amp;amp;Answer[10]);
            }
#ifndef REMOVE_P2P_SUPPORT
            /* In case of P2P target detected but lost, inform application to restart discovery */
            else if (pRfIntf-&amp;gt;Protocol == PROT_NFCDEP)
            {
                /* Restart the discovery loop */
                NxpNci_HostTransceive(NCIStopDiscovery, sizeof(NCIStopDiscovery), Answer, sizeof(Answer), &amp;amp;AnswerSize);
                NxpNci_WaitForReception(Answer, sizeof(Answer), &amp;amp;AnswerSize, TIMEOUT_100MS);
                NxpNci_HostTransceive(NCIStartDiscovery, NCIStartDiscovery_length, Answer, sizeof(Answer), &amp;amp;AnswerSize);
                goto wait;
            }
#endif //#ifndef REMOVE_P2P_SUPPORT
        }
    }

    /* In case of unknown target align protocol information */
    if (pRfIntf-&amp;gt;Interface == INTF_UNDETERMINED) pRfIntf-&amp;gt;Protocol = PROT_UNDETERMINED;

    return NXPNCI_SUCCESS;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;At this line my code is stop continously poll the discovery notification&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;    do
    {
        if(NxpNci_WaitForReception(Answer, sizeof(Answer), &amp;amp;AnswerSize, TIMEOUT_INFINITE) == NXPNCI_ERROR) return NXPNCI_ERROR;
    }while ((Answer[0] != 0x61) || ((Answer[1] != 0x05) &amp;amp;&amp;amp; (Answer[1] != 0x03)));&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Answer is received is,&lt;/P&gt;&lt;P&gt;Answer[0] = 0x61,&lt;/P&gt;&lt;P&gt;Answer[1]=0x23,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually Answer[1] is received 0x05 or 0x03 but i get ox23,&lt;/P&gt;&lt;P&gt;So please suggest me i am doing Right or wrong configurations or not.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 13:27:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/NxpNci-WaitForDiscoveryNotification-function-is-not-working-with/m-p/1639814#M17532</guid>
      <dc:creator>takshpatel</dc:creator>
      <dc:date>2023-04-25T13:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: NxpNci_WaitForDiscoveryNotification function is not working with ISO15693 on SW6705 nfc_example_</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/NxpNci-WaitForDiscoveryNotification-function-is-not-working-with/m-p/1643605#M17605</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/213010"&gt;@takshpatel&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;unfortunately I can not reproduce your issue on my side.&amp;nbsp; could you please share the NCI logs with us?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 12:25:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/NxpNci-WaitForDiscoveryNotification-function-is-not-working-with/m-p/1643605#M17605</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2023-05-03T12:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: NxpNci_WaitForDiscoveryNotification function is not working with ISO15693 on SW6705 nfc_example_</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/NxpNci-WaitForDiscoveryNotification-function-is-not-working-with/m-p/1643622#M17606</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;SPAN&gt;Daniel for response.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Below i have given the NCI Debug &lt;STRONG&gt;logs:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;[15:05:50:666] PN7160 interfacing code
[15:05:50:925] Scanning I2C bus:
[15:05:50:974] ---------------------------------------0x28-----------------------------------------------------------------------------------0x7C---
[15:05:57:750] NCI &amp;gt;&amp;gt; 20 00 01 01 
[15:05:57:805] NCI &amp;lt;&amp;lt; 40 00 01 00 
[15:05:57:811] NCI &amp;lt;&amp;lt; 60 00 09 02 01 20 04 04 71 12 50 05 
[15:05:57:816] Firmware Version: 12.50.5
[15:05:57:829] NCI &amp;gt;&amp;gt; 20 01 02 00 00 
[15:05:57:849] NCI &amp;lt;&amp;lt; 40 01 1e 00 1a 7e 06 03 01 d0 02 ff ff 01 ff 00 08 00 00 01 00 02 00 03 00 80 00 82 00 83 ...
[15:05:58:706] NCI &amp;gt;&amp;gt; 2f 00 01 00 
[15:05:58:721] NCI &amp;lt;&amp;lt; 4f 00 01 00 
[15:05:58:735] NCI &amp;gt;&amp;gt; 20 02 05 01 00 02 fe 01 
[15:05:58:751] NCI &amp;lt;&amp;lt; 40 02 02 00 00 
[15:05:58:765] NCI &amp;gt;&amp;gt; 20 03 03 01 a0 14 
[15:05:58:785] NCI &amp;lt;&amp;lt; 40 03 25 00 01 a0 14 20 57 65 64 20 41 70 72 20 32 36 20 31 37 3a 31 35 3a 35 39 20 32 30 ...
[15:05:58:806] NCI &amp;gt;&amp;gt; 20 00 01 00 
[15:05:58:821] NCI &amp;lt;&amp;lt; 40 00 01 00 
[15:05:58:827] NCI &amp;lt;&amp;lt; 60 00 09 02 00 20 04 04 71 12 50 05 
[15:05:58:842] NCI &amp;gt;&amp;gt; 20 01 02 00 00 
[15:05:58:861] NCI &amp;lt;&amp;lt; 40 01 1e 00 1a 7e 06 03 01 d0 02 ff ff 01 ff 00 08 00 00 01 00 02 00 03 00 80 00 82 00 83 ...
[15:05:59:721] NCI &amp;gt;&amp;gt; 2f 02 00 
[15:05:59:736] NCI &amp;lt;&amp;lt; 4f 02 05 00 00 01 aa dd 
[15:05:59:753] NCI &amp;gt;&amp;gt; 21 00 10 05 01 01 01 02 01 01 03 01 01 04 01 02 80 01 80 
[15:05:59:772] NCI &amp;lt;&amp;lt; 41 00 01 00 
[15:06:00:719] NCI &amp;gt;&amp;gt; 21 03 03 01 06 01 
[15:06:00:733] NCI &amp;lt;&amp;lt; 41 03 01 00 
[15:06:00:735] 
[15:06:00:746] WAITING FOR DEVICE DISCOVERY
[15:06:02:616] NCI &amp;lt;&amp;lt; 61 23 00 
[15:06:02:630] NCI &amp;lt;&amp;lt; 61 23 00 &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;NxpNci_WaitForDiscoveryNotification&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;we get stuck at the following code snippet, the response we are receiving is 0x61&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;0x23 0x00&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;but it requires first 2nd byte to be&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;0x03.&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;    do
    {
        if(NxpNci_WaitForReception(Answer, sizeof(Answer), &amp;amp;AnswerSize, TIMEOUT_INFINITE) == NXPNCI_ERROR) return NXPNCI_ERROR;
    }while ((Answer[0] != 0x61) || ((Answer[1] != 0x05) &amp;amp;&amp;amp; (Answer[1] != 0x03)));&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please help me with this issue&amp;nbsp; of unable to discover ISO15693 based NFC tags in RW mode.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 13:05:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/NxpNci-WaitForDiscoveryNotification-function-is-not-working-with/m-p/1643622#M17606</guid>
      <dc:creator>takshpatel</dc:creator>
      <dc:date>2023-05-03T13:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: NxpNci_WaitForDiscoveryNotification function is not working with ISO15693 on SW6705 nfc_example_</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/NxpNci-WaitForDiscoveryNotification-function-is-not-working-with/m-p/1644549#M17619</link>
      <description>&lt;P&gt;Hi　&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/213010"&gt;@takshpatel&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would suggest you check power supply and settings in Nfc_settings.h.&lt;/P&gt;
&lt;P&gt;Error you are getting is this one.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielchen_0-1683191804060.png" style="width: 480px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/221724iB9E5680A89BF87FC/image-dimensions/480x114?v=v2" width="480" height="114" role="button" title="danielchen_0-1683191804060.png" alt="danielchen_0-1683191804060.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 09:17:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/NxpNci-WaitForDiscoveryNotification-function-is-not-working-with/m-p/1644549#M17619</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2023-05-04T09:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: NxpNci_WaitForDiscoveryNotification function is not working with ISO15693 on SW6705 nfc_example_</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/NxpNci-WaitForDiscoveryNotification-function-is-not-working-with/m-p/1644621#M17620</link>
      <description>&lt;P&gt;Hello Daniel,&lt;/P&gt;&lt;P&gt;Thanks for response &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/369"&gt;@danielchen&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have just changed the the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;NXP_TVDD_CONF&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;to 1 as the VDD is 3.3V.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Below is the NFC settings we are using for our NFC example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please verify my NFC settings here, and update me wheather I am making any mistake or not?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;/***** NFC dedicated setting ****************************************/

/* Following definitions specifies which settings will apply when NxpNci_ConfigureSettings()
 * API is called from the application
 */
#define NXP_CORE_CONF        1
#define NXP_CORE_STANDBY     1
#define NXP_CORE_CONF_EXTN   1
#define NXP_CLK_CONF         1 // 1=Xtal, 2=PLL
#define NXP_TVDD_CONF        1 // 1=3.3V, 2=4.75V
#define NXP_RF_CONF          1

uint8_t NxpNci_SettingCurrentTS[32] = __TIMESTAMP__;

#if NXP_CORE_CONF
/* NCI standard dedicated settings
 * Refer to NFC Forum NCI standard for more details
 */
uint8_t NxpNci_CORE_CONF[]={0x20, 0x02, 0x05, 0x01,         /* CORE_SET_CONFIG_CMD */
    0x00, 0x02, 0xFE, 0x01                                  /* TOTAL_DURATION */
};
#endif

#if NXP_CORE_CONF_EXTN
/* NXP-NCI extension dedicated setting
 * Refer to NFC controller User Manual for more details
 */
uint8_t NxpNci_CORE_CONF_EXTN[]={0x20, 0x02, 0x05, 0x01,    /* CORE_SET_CONFIG_CMD */
    0xA0, 0x40, 0x01, 0x00                                  /* TAG_DETECTOR_CFG */
};
#endif

#if NXP_CORE_STANDBY
/* NXP-NCI standby enable setting
 * Refer to NFC controller User Manual for more details
 */
uint8_t NxpNci_CORE_STANDBY[]={0x2F, 0x00, 0x01, 0x00};    /* last byte indicates enable/disable */
#endif

#if NXP_CLK_CONF
/* NXP-NCI CLOCK configuration
 * Refer to NFC controller Hardware Design Guide document for more details
 */
 #if (NXP_CLK_CONF == 1)
 /* Xtal configuration */
 uint8_t NxpNci_CLK_CONF[]={0x20, 0x02, 0x05, 0x01,        /* CORE_SET_CONFIG_CMD */
   0xA0, 0x03, 0x01, 0x08                                  /* CLOCK_SEL_CFG */
 };
 #else
 /* PLL configuration */
 uint8_t NxpNci_CLK_CONF[]={0x20, 0x02, 0x09, 0x02,        /* CORE_SET_CONFIG_CMD */
   0xA0, 0x03, 0x01, 0x11,                                 /* CLOCK_SEL_CFG */
   0xA0, 0x04, 0x01, 0x01                                  /* CLOCK_TO_CFG */
 };
 #endif
#endif

#if NXP_TVDD_CONF
/* NXP-NCI TVDD configuration
 * Refer to NFC controller Hardware Design Guide document for more details
 */
 #if (NXP_TVDD_CONF == 1)
 /* TXLDO output voltage set to 3.3V */
 uint8_t NxpNci_TVDD_CONF[]={0x20, 0x02, 0x0F, 0x01, 0xA0, 0x0E, 0x0B, 0x11, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x10, 0x00, 0xD0, 0x0C};
 #else
 /* TXLDO output voltage set to 4.75V */
 uint8_t NxpNci_TVDD_CONF[]={0x20, 0x02, 0x0F, 0x01, 0xA0, 0x0E, 0x0B, 0x11, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x40, 0x00, 0xD0, 0x0C};
 #endif
#endif

#if NXP_RF_CONF
/* NXP-NCI RF configuration
 * Refer to NFC controller Antenna Design and Tuning Guidelines document for more details
 */
/* Following configuration relates to performance optimization of OM27160 NFC Controller demo kit */
uint8_t NxpNci_RF_CONF[]={0x20, 0x02, 0x4C, 0x09,
  0xA0, 0x0D, 0x03, 0x78, 0x0D, 0x02,
  0xA0, 0x0D, 0x03, 0x78, 0x14, 0x02,
  0xA0, 0x0D, 0x06, 0x4C, 0x44, 0x65, 0x09, 0x00, 0x00,
  0xA0, 0x0D, 0x06, 0x4C, 0x2D, 0x05, 0x35, 0x1E, 0x01,
  0xA0, 0x0D, 0x06, 0x82, 0x4A, 0x55, 0x07, 0x00, 0x07,
  0xA0, 0x0D, 0x06, 0x44, 0x44, 0x03, 0x04, 0xC4, 0x00,
  0xA0, 0x0D, 0x06, 0x46, 0x30, 0x50, 0x00, 0x18, 0x00,
  0xA0, 0x0D, 0x06, 0x48, 0x30, 0x50, 0x00, 0x18, 0x00,
  0xA0, 0x0D, 0x06, 0x4A, 0x30, 0x50, 0x00, 0x08, 0x00
};
#endif&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Taksh Patel.&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 10:36:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/NxpNci-WaitForDiscoveryNotification-function-is-not-working-with/m-p/1644621#M17620</guid>
      <dc:creator>takshpatel</dc:creator>
      <dc:date>2023-05-04T10:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: NxpNci_WaitForDiscoveryNotification function is not working with ISO15693 on SW6705 nfc_example_</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/NxpNci-WaitForDiscoveryNotification-function-is-not-working-with/m-p/1644737#M17623</link>
      <description>&lt;P&gt;Hello Daniel,&lt;/P&gt;&lt;P&gt;Thanks for the response&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/369"&gt;@danielchen&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the NFC settings we are using for our NFC example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have just changed the the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;NXP_TVDD_CONF&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to 1 as the VDD is 3.3V.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So please check the below settings and update me wheather i am doing right or wrong settings?&lt;/P&gt;&lt;LI-CODE lang="c"&gt;/***** NFC dedicated setting ****************************************/

/* Following definitions specifies which settings will apply when NxpNci_ConfigureSettings()
 * API is called from the application
 */
#define NXP_CORE_CONF        1
#define NXP_CORE_STANDBY     1
#define NXP_CORE_CONF_EXTN   1
#define NXP_CLK_CONF         1 // 1=Xtal, 2=PLL
#define NXP_TVDD_CONF        1 // 1=3.3V, 2=4.75V
#define NXP_RF_CONF          1

uint8_t NxpNci_SettingCurrentTS[32] = __TIMESTAMP__;

#if NXP_CORE_CONF
/* NCI standard dedicated settings
 * Refer to NFC Forum NCI standard for more details
 */
uint8_t NxpNci_CORE_CONF[]={0x20, 0x02, 0x05, 0x01,         /* CORE_SET_CONFIG_CMD */
    0x00, 0x02, 0xFE, 0x01                                  /* TOTAL_DURATION */
};
#endif

#if NXP_CORE_CONF_EXTN
/* NXP-NCI extension dedicated setting
 * Refer to NFC controller User Manual for more details
 */
uint8_t NxpNci_CORE_CONF_EXTN[]={0x20, 0x02, 0x05, 0x01,    /* CORE_SET_CONFIG_CMD */
    0xA0, 0x40, 0x01, 0x00                                  /* TAG_DETECTOR_CFG */
};
#endif

#if NXP_CORE_STANDBY
/* NXP-NCI standby enable setting
 * Refer to NFC controller User Manual for more details
 */
uint8_t NxpNci_CORE_STANDBY[]={0x2F, 0x00, 0x01, 0x00};    /* last byte indicates enable/disable */
#endif

#if NXP_CLK_CONF
/* NXP-NCI CLOCK configuration
 * Refer to NFC controller Hardware Design Guide document for more details
 */
 #if (NXP_CLK_CONF == 1)
 /* Xtal configuration */
 uint8_t NxpNci_CLK_CONF[]={0x20, 0x02, 0x05, 0x01,        /* CORE_SET_CONFIG_CMD */
   0xA0, 0x03, 0x01, 0x08                                  /* CLOCK_SEL_CFG */
 };
 #else
 /* PLL configuration */
 uint8_t NxpNci_CLK_CONF[]={0x20, 0x02, 0x09, 0x02,        /* CORE_SET_CONFIG_CMD */
   0xA0, 0x03, 0x01, 0x11,                                 /* CLOCK_SEL_CFG */
   0xA0, 0x04, 0x01, 0x01                                  /* CLOCK_TO_CFG */
 };
 #endif
#endif

#if NXP_TVDD_CONF
/* NXP-NCI TVDD configuration
 * Refer to NFC controller Hardware Design Guide document for more details
 */
 #if (NXP_TVDD_CONF == 1)
 /* TXLDO output voltage set to 3.3V */
 uint8_t NxpNci_TVDD_CONF[]={0x20, 0x02, 0x0F, 0x01, 0xA0, 0x0E, 0x0B, 0x11, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x10, 0x00, 0xD0, 0x0C};
 #else
 /* TXLDO output voltage set to 4.75V */
 uint8_t NxpNci_TVDD_CONF[]={0x20, 0x02, 0x0F, 0x01, 0xA0, 0x0E, 0x0B, 0x11, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x40, 0x00, 0xD0, 0x0C};
 #endif
#endif

#if NXP_RF_CONF
/* NXP-NCI RF configuration
 * Refer to NFC controller Antenna Design and Tuning Guidelines document for more details
 */
/* Following configuration relates to performance optimization of OM27160 NFC Controller demo kit */
uint8_t NxpNci_RF_CONF[]={0x20, 0x02, 0x4C, 0x09,
  0xA0, 0x0D, 0x03, 0x78, 0x0D, 0x02,
  0xA0, 0x0D, 0x03, 0x78, 0x14, 0x02,
  0xA0, 0x0D, 0x06, 0x4C, 0x44, 0x65, 0x09, 0x00, 0x00,
  0xA0, 0x0D, 0x06, 0x4C, 0x2D, 0x05, 0x35, 0x1E, 0x01,
  0xA0, 0x0D, 0x06, 0x82, 0x4A, 0x55, 0x07, 0x00, 0x07,
  0xA0, 0x0D, 0x06, 0x44, 0x44, 0x03, 0x04, 0xC4, 0x00,
  0xA0, 0x0D, 0x06, 0x46, 0x30, 0x50, 0x00, 0x18, 0x00,
  0xA0, 0x0D, 0x06, 0x48, 0x30, 0x50, 0x00, 0x18, 0x00,
  0xA0, 0x0D, 0x06, 0x4A, 0x30, 0x50, 0x00, 0x08, 0x00
};
#endif&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Taksh Patel.&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 13:39:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/NxpNci-WaitForDiscoveryNotification-function-is-not-working-with/m-p/1644737#M17623</guid>
      <dc:creator>takshpatel</dc:creator>
      <dc:date>2023-05-04T13:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: NxpNci_WaitForDiscoveryNotification function is not working with ISO15693 on SW6705 nfc_example_</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/NxpNci-WaitForDiscoveryNotification-function-is-not-working-with/m-p/1650359#M17745</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/213010"&gt;@takshpatel&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would suggest you refer to AN13892,&amp;nbsp; &amp;nbsp;chapter 9&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/application-note/AN13892.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN13892.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 13:48:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/NxpNci-WaitForDiscoveryNotification-function-is-not-working-with/m-p/1650359#M17745</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2023-05-15T13:48:42Z</dc:date>
    </item>
  </channel>
</rss>

