2134119_en-US

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

2134119_en-US

2134119_en-US

CARD emulation PN7160 Serial number

Hello,

I am currently working on card emulation with PN7160, connected to an ESP32.
When I tap the PN7160 to an Android NFC reader (using NFC Tools), the emulated card is detected. However, I notice that the UID changes on each tap, except for the first byte, which is always 08.

Example UIDs I observed:

  • 08467004

  • 0886036e

  • 08c7351f

  • 0831fb0d

  • ...

My question is:
Is it possible to configure a fully custom static UID (e.g., fixed 4-byte UID like "0456789A") when using card emulation mode on the PN7160?
Any insights or guidance would be greatly appreciated!


Communication & Control(I3C | I2C | SPI | FlexCAN | Ethernet | FlexIO)Re: CARD emulation PN7160 Serial number

Hi @EduardoZamora ,

Thank you very much for your explanation and for pointing me to the NXP_HCE_RNDM_UID_ENB configuration. That clarifies the behavior I observed during testing.

I appreciate your support!

Best regards,
AWN

Re: CARD emulation PN7160 Serial number

Hi @awn,

Hope you are doing well.

In Card Emulation mode, UID can be a random number, and only one byte would be fixed. In this configuration, UID will change every time there is an RF Off -> RF On transition (each tap).

I will recommend you checking PN7160/PN7220 configuration files, Section 5.8 NXP_HCE_RNDM_UID_ENB for more information.

Regards,
Eduardo.

标记 (1)
无评分
版本历史
最后更新:
‎11-21-2025 11:58 PM
更新人: