OM27160/PN7160 not initialising

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

OM27160/PN7160 not initialising

跳至解决方案
3,876 次查看
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

标签 (1)
0 项奖励
回复
1 解答
3,856 次查看
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

在原帖中查看解决方案

6 回复数
3,842 次查看
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 项奖励
回复
3,701 次查看
Jimmywder03
Contributor III

what logs do you add to make it work?

0 项奖励
回复
3,687 次查看
DougS
Contributor I

I just turned on NCI_DEBUG

0 项奖励
回复
3,683 次查看
Jimmywder03
Contributor III

Hello,

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

0 项奖励
回复
3,683 次查看
Jimmywder03
Contributor III

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

Now i can see the NCI debug.

0 项奖励
回复
3,857 次查看
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