PN7462 Adapting example code for PN7412

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

PN7462 Adapting example code for PN7412

605 Views
Vlatakomarac
Contributor II

Hello,

In our application we are using PN7412 from the PN7462 family as an interface to a smart card.

I am trying to adapt the PN7462 example code phExCcid to make it work on PN7412 i.e. I am trying to disable all contactless functionalities and leave intact the contact smart card functionalities.

I have noticed that the source code has defined a macro called: PHFL_APP_DISABLE_CLIF and that it can be used to tell the preprocessor to ignore contactless card funcionalities with #ifdef / #ifndef directives.

My question: Is it enough to define this macro so I can use the PN7462 example code on our PN7412 IC? Or are there any more additional changes I need to make?

Any advice would be helpfull. Thank you in advance!

Best regards,

Nikola Vulinovic

0 Kudos
1 Reply

509 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi Nikola Vulinovic:

 

For phExCcid demo, there is a CtifOnly_DebugPN7462 build target for your reference. PHFL_APP_DISABLE_CLIF=1 is enabled in this option.

 

Regards

Daniel

0 Kudos