OM27160/PN7160 not initialising

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

OM27160/PN7160 not initialising

ソリューションへジャンプ
2,574件の閲覧回数
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 解決策
2,554件の閲覧回数
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 返答(返信)
2,540件の閲覧回数
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 件の賞賛
返信
2,399件の閲覧回数
Jimmywder03
Contributor III

what logs do you add to make it work?

0 件の賞賛
返信
2,385件の閲覧回数
DougS
Contributor I

I just turned on NCI_DEBUG

0 件の賞賛
返信
2,381件の閲覧回数
Jimmywder03
Contributor III

Hello,

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

0 件の賞賛
返信
2,380件の閲覧回数
Jimmywder03
Contributor III

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

Now i can see the NCI debug.

0 件の賞賛
返信
2,555件の閲覧回数
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