OM27160/PN7160 not initialising

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

OM27160/PN7160 not initialising

Jump to solution
3,730 Views
DougS
Contributor I

I have a OM27160: Development Kit for PN7160 Plug’n Play NFC Controller that I have interfaced to our board (Atmel SAM4S based) using SPI and I have ported the  library and driver from SW6705\NXP-NCI2.0_MCUXpresso_examples\NXP-NCI2.0_LPC55S6x_examples.

After sending the NCICoreReset it responds with notification 0x60 (NCI 2.0 CORE_RESET_NTF) rather than the 0x40 acknowledgement that the example is expecting. Therefore NxpNci_CheckDevPres() fails. 

Is this an allowable response that the example doesn't handle or is it a sign of something going wrong ?

 

Many thanks

Doug

Labels (1)
0 Kudos
Reply
1 Solution
3,710 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi DougS:

 

Do you have a complete log file and the configuration file to share with us for analyzing?

 

Regards

Daniel

View solution in original post

6 Replies
3,696 Views
DougS
Contributor I

Thank you, after adding the logging, it now seems to initialise fine and is getting to "WAITING FOR DEVICE DISCOVERY", might be a timing error, I'll check my port.

0 Kudos
Reply
3,555 Views
Jimmywder03
Contributor III

what logs do you add to make it work?

0 Kudos
Reply
3,541 Views
DougS
Contributor I

I just turned on NCI_DEBUG

0 Kudos
Reply
3,537 Views
Jimmywder03
Contributor III

Hello,

Can you tell me, How can i turn it on? please

0 Kudos
Reply
3,537 Views
Jimmywder03
Contributor III

Thanks, I just needed to deffine NCI_DEBUG in the project!! 

Now i can see the NCI debug.

0 Kudos
Reply
3,711 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi DougS:

 

Do you have a complete log file and the configuration file to share with us for analyzing?

 

Regards

Daniel