Add a VCOM on PN7362

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

Add a VCOM on PN7362

1,363 Views
flesky
Contributor II

Hi everyone,

I'm currently working with the PN7362 controller and using the phexnfccid example code. I want to add a new task that provides a Virtual COM (VCOM) interface. The goal is to use this VCOM interface to send commands for testing purposes, such as executing phhalRf_FieldOn(); to turn the NFC RF field on.

However, I noticed that there is already a USB task running for CCID functionality. Given that the USB interface is already occupied, is it still possible to modify the code to add a VCOM interface that listens for commands and triggers actions like phhalRf_FieldOn();?

If anyone has experience with this or can share advice on how to implement it, I would really appreciate it!

Thanks in advance for your help!

Tags (1)
0 Kudos
Reply
5 Replies

1,345 Views
EduardoZamora
NXP TechSupport
NXP TechSupport

Hello @flesky,

Hope you are doing well.

Could you please kindly clarify why would you require to merge the functionality from both CCID and VCOM?

PN7462 supports USB CCID, allowing the device to communicate with standard PC/SC tools. You could implement some extra functionality on top of the phExCcid or phExNFCCcid demos from the NFC Reader Library for the corresponding device; more information on the structure of these projects can be found in PN7462AU PC CCID Reader User Manual.

For VCOM implementation, phExVCom demo should be included in the NFC Reader Library, demonstrating CDC Class implementation for the COM port. You should be able to customize this project according to your needs.

Regards,
Eduardo.

0 Kudos
Reply

1,326 Views
flesky
Contributor II

Hello @EduardoZamora , thank you for your message. The goal is to switch the controller into a test mode from the Linux host and later return it to normal operation. In the test mode, only the RF field should be activated for EN 300 330 measurements such as RF power and spectrum analysis.

I thought that it could be triggered through a VCOM interface to activate the test mode. However, it could also be triggered via a specific custom CCID command?

 

or do you have another idea to put the chip into continuos transmitting from remote and back to normal polling?

 

Regards Florian

0 Kudos
Reply

1,308 Views
EduardoZamora
NXP TechSupport
NXP TechSupport

Hi,

If the only requirement for the certification is to turn on the RF field, VCOM demo should meet this requirement.

Regards,
Eduardo.

0 Kudos
Reply

1,255 Views
flesky
Contributor II

Hi @EduardoZamora 

Thank you for the response. I have already looked at the VCOM example. We want to switch between test mode (RF on) and the normal CCID. Do you have any ideas on how we can implement this? The simpler, the better. Thank you and best regards.

0 Kudos
Reply

1,228 Views
EduardoZamora
NXP TechSupport
NXP TechSupport

Hi,

Perhaps you could try developing your own custom bootloader. However, you will need to consider memory/stack constraints.

Regards,
Eduardo.

0 Kudos
Reply