PN7150 Factory TestApp

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PN7150 Factory TestApp

3,520 Views
sivasu4098
Contributor III

Hi all,

I am using the following test application to test the MIFARE cards for nougat using PN7150 NFC chip.

nxpnfc_android_nougat/FactoryTestApp at master · NXPNFCLinux/nxpnfc_android_nougat · GitHub 

I am running the test application ./data/NfcFactoryTestApp . Getting the below response. Whenever I placed the card there is no response. how to check whether the card is reading or not . Please help me to proceed further.

----------------------------
NFC Factory Test Application
----------------------------
PN7150 NFC controller detected
Select the test to run:
     1. Continuous RF ON
     2. PRBS
Your choice: 1
Continuous RF ON test
NFC Controller is now in continuous RF ON mode - Press enter to stop

Thanks and  Regards,

Sivasubramaniyan

0 Kudos
Reply
5 Replies

3,248 Views
sivasu4098
Contributor III

In UM10936 10.1 [PN7150-NCI] extension: System configurations, CLOCK_SEL_CFG is required for configuration to activate the XTAL clock in PN7150. After this NFC tag is detected and also made changes in NfcFactoryTestApp.c  by adding the Clock configuration command.  

char NxpNci_CLK_CONF[] ={0x20, 0x02, 0x05, 0x01, 0xa0, 0x03, 0x01, 0x08};

0 Kudos
Reply

3,192 Views
skrishnan08
Contributor I

Hello Sir,

We are facing the same issue with the NFC kit. We followed your instructions by adding the 

NxpNci_CLK_CONF configurations to the NfcFactoryTestApp.c file.

Please find the sequence we followed,

1) Reset, (E9, 01)

2) NxpNci_CLK_CONF, {0x20, 0x02, 0x05, 0x01, 0xa0, 0x03, 0x01, 0x08}

3) NCICoreReset, {0x20, 0x00, 0x01, 0x00}

4) NCICoreIinit, {0x20, 0x01, 0x00}

5) Disablestandby, {0x2F, 0x00, 0x01, 0x00}

6) Rfon(). {0x2F, 0x3D, 0x02, 0x20, 0x01}

Unfortunately, we are unable to get anything while tapping the card.

0 Kudos
Reply

3,248 Views
jimmychan
NXP TechSupport
NXP TechSupport

For the details of using Factory Test Application, please refer to Chapter 5 of https://www.nxp.com/docs/en/application-note/AN11690.pdf

0 Kudos
Reply

3,248 Views
sivasu4098
Contributor III

Need more information on the below points.

1. Needed to know whether it will give the details of the detected card on sucessful read.

2. Where can i get more information about NCI commands

char NCICoreReset[] = {0x20, 0x00, 0x01, 0x01};

 char NCICoreInit[] = {0x20, 0x01, 0x00};

char NCIStartDiscovery[] = {0x21, 0x03, 0x09, 0x04, 0x00, 0x01, 0x01, 0x01, 0x02, 0x01, 0x06, 0x01};

char NCIRfOn[] = {0x2F, 0x3D, 0x02, 0x20, 0x01};

3. Is there any command sequence to test the integrity of the antenna.

0 Kudos
Reply

3,248 Views
jimmychan
NXP TechSupport
NXP TechSupport
0 Kudos
Reply