PN7160 - Issue in writing and reading greater than 256 Bytes in T4T Card emulation mode.

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

PN7160 - Issue in writing and reading greater than 256 Bytes in T4T Card emulation mode.

483 Views
Krishan_T_S
Contributor II

Hi Team,

I am currently working with PN7160 as T4T Card emulation mode which is connected to ST's MCU through I2C communication interface. The issue I am facing is unable Write/Read data of size > 256 Bytes into emulated tag. I am using the demo example provided by NXP. I tried writing to emulated tag by changing the size fields of CC array to 512 Bytes but it was not helpful.

Kindly share me the relevant code or documents which helps me to resolve the issue.

Thanks.

Tags (1)
0 Kudos
Reply
3 Replies

465 Views
KellyLi
NXP TechSupport
NXP TechSupport

Hello @Krishan_T_S 

It's recommended to make modifications as follows.
 
T4T_NDEF_emu.c
 
KellyLi_0-1718019895841.png

 

0 Kudos
Reply

461 Views
Krishan_T_S
Contributor II

Hi

Thanks for reply, I tried the modification, but it didn't work for me.

Kindly find the attached screenshot.

Krishan_T_S_0-1718020271802.png

Here MAX_SIZE_MESSAGE is 512.

Thanks

 

Tags (1)
0 Kudos
Reply

447 Views
KellyLi
NXP TechSupport
NXP TechSupport

Hello @Krishan_T_S 

Need to mention, the routine in CE mode haven't implemented to write NDEF messages through the mobile APP. At present, the CE function only can be read out by the phone as default NDEF message. So, if you want to write NDEF messages to PN7160 from your phone, you need to modify the source code. This part needs to be implemented by user.

0 Kudos
Reply