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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

475 次查看
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.

标记 (1)
0 项奖励
回复
3 回复数

457 次查看
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 项奖励
回复

453 次查看
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

 

标记 (1)
0 项奖励
回复

439 次查看
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 项奖励
回复