如何把PN7150当作一个NTag, 然后写入Ntag呢?

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

如何把PN7150当作一个NTag, 然后写入Ntag呢?

930 Views
yanlingzhang
NXP Employee
NXP Employee

想往PN7150里面写一个NTAG,作为蓝牙OOB的一种方式 。但是不知道该如何写入?

0 Kudos
Reply
2 Replies

725 Views
estephania_mart
NXP TechSupport
NXP TechSupport

Hello, 

I believe that you are trying to do a BLE pairing with the PN7150? Or are you trying to write the data on a tag to pair like what can be achieved with the TagWriter? 

Could you please help me confirm what you are trying to achieve in English ? 

Regards 

Estephania

0 Kudos
Reply

725 Views
yanlingzhang
NXP Employee
NXP Employee

Hello,

Thanks for your response.

Yes, I’m trying to do a BLE pairing with the PN7150 in BLE chip QN9080.

I have merged the pn7150 demo code from LPC11U6x to QN9080.

Then disabled the macros : P2P_SUPPORT and RW_SUPPORT , only enable the CARDEMU_SUPPORT.

Because I only want to used it to demo the BLE paring , so cardemu mode is enough I think.

But the demo works with polling mode , I want to change to the IRQ mode.

Because the NFC and BLE should work in same time, so I use the freertos to management these two tasks.

My problem now is that I don’t know how to change the code to work in IRQ mode, only enter nfc_task there is NFC command.

Do you have the demo , or could you help me to make the interrupt i2c communication betwwen QN9080 and PN7150s ?

Thanks , wait for your reply…..

Have a good weekend….

Best Regards,

Zhang Yanling

0 Kudos
Reply