Hello,
I would like to implement card emulation using the PN7150.
Since we are programming without an OS like Linux on the microcontroller,
we are directly sending NCI commands from the microcontroller to the PN7150 without using an API.
Commands sent:
CORE_RESET_CMD
CORE_INIT_CMD
RF_DISCOVER_MAP_CMD
Only the following payload is set:
04: PROTOCOL_ISO_DEP
03: RF protocol is mapped to both Listen and Poll for RF interface.
02: ISO-DEP RF Interface
STATUS_OK is returned.
CORE_SET_CONFIG_CMD
The following parameters are set in the payload:
{30, 01, 01} = {LA_BIT_FRAME_SDD, L=1 byte, Param=01}
{31, 01, 03} = {LA_PLATFORM_CONFIG, L=1 byte, Param=03}
{32, 01, 20} = {LA_SEL_INFO, L=1 byte, Param=20}
{33, 04, 01, 02, 03, 04} = {LA_NFCID1, L=4 bytes, "01, 02, 03, 04"}
STATUS_OK is returned.
RF_DISCOVER_CMD
The following parameters are set in the payload:
0x01, 0x80, 0x01
Using 0x80, NFC_A_PASSIVE_LISTEN_MODE is requested.
After these command communications, when I bring a smartphone running the TagInfo app close, an RF_FIELD_INFO_NTF(0x01) is received, but immediately after that, an RF_FIELD_INFO_NTF(0x00) is received.
According to an RF checker, the signal seems to be emitted.
Afterward, RF_INTF_ACTIVATED_NTF does not arrive.
From these observations, it appears that card emulation is not being activated.
Could anyone please help me understand what might be causing the card emulation to fail to activate?