I'm using the PN7642 OM27642EVK and the latest public SDK (2.12.5). I created the HCE_T4T Freertos example in my MCUXpresso workspace.
When I run the example, my iPhone (15 Pro) will read the sample tag when I present it with the home screen visible (background reading). However, if I launch a reader app (e.g. NXP TagInfo) and attempt to read the tag, it never completes.
With Android (Pixel 6a) it works in both background read mode AND foreground read mode (with NXP TagInfo).
I can reproduce your issue on my side, it is still under investigation.
This is more clear - it includes the SW...
Background reading:
00> T4T_CE: PHAC_DISCLOOP_ACTIVATED_BY_PEER
00> T4T_CE: Activate - POST
00> T4T_CE: Activate - phceT4T_Activate
00> phceT4T_Sw_Activate: calling Int_Activate
00> AppThread: Sem Released
00> AppThread: Calling AppProcessCmd with Callback
00> ProcessCmd: calling EventPend
00> RX: 00 A4 04 00 07 D2 76 00 00 85 01 01 00
00> phceT4T_Sw_ProcessCmd: -- ENTER --
00> phceT4T_Sw_ProcessCmd: case T4T_RXDEFAULT
00> phceT4T_Sw_ProcessCmd: case T4T_INS_SELECT
00> TX: SW: 90 00
00> RX: 00 A4 00 0C 02 E1 03
00> phceT4T_Sw_ProcessCmd: -- ENTER --
00> phceT4T_Sw_ProcessCmd: case T4T_RXDEFAULT
00> phceT4T_Sw_ProcessCmd: case T4T_INS_SELECT
00> TX: SW: 90 00
00> RX: 00 B0 00 00 0F
00> phceT4T_Sw_ProcessCmd: -- ENTER --
00> phceT4T_Sw_ProcessCmd: case T4T_RXDEFAULT
00> phceT4T_Sw_ProcessCmd: case T4T_INS_READ
00> TX: 00 0F 20 00 3B 00 34 04 06 E1 04 04 00 00 00 TX: SW: 90 00
00> RX: 00 A4 00 0C 02 E1 04
00> phceT4T_Sw_ProcessCmd: -- ENTER --
00> phceT4T_Sw_ProcessCmd: case T4T_RXDEFAULT
00> phceT4T_Sw_ProcessCmd: case T4T_INS_SELECT
00> TX: SW: 90 00
00> RX: 00 B0 00 00 02
00> phceT4T_Sw_ProcessCmd: -- ENTER --
00> phceT4T_Sw_ProcessCmd: case T4T_RXDEFAULT
00> phceT4T_Sw_ProcessCmd: case T4T_INS_READ
00> TX: 00 0C TX: SW: 90 00
00> RX: 00 B0 00 00 02
00> phceT4T_Sw_ProcessCmd: -- ENTER --
00> phceT4T_Sw_ProcessCmd: case T4T_RXDEFAULT
00> phceT4T_Sw_ProcessCmd: case T4T_INS_READ
00> TX: 00 0C TX: SW: 90 00
00> RX: 00 B0 00 02 0C
00> phceT4T_Sw_ProcessCmd: -- ENTER --
00> phceT4T_Sw_ProcessCmd: case T4T_RXDEFAULT
00> phceT4T_Sw_ProcessCmd: case T4T_INS_READ
00> TX: D1 01 08 55 02 6E 78 70 2E 63 6F 6D TX: SW: 90 00
00> RX:
00> ProcessCmd: Event Received
00> ProcessCmd: Event Error - clearing
00> AppThread: Sem Post
Using TagInfo:
Present Phone:
00> T4T_CE: PHAC_DISCLOOP_ACTIVATED_BY_PEER
00> T4T_CE: Activate - POST
00> T4T_CE: Activate - phceT4T_Activate
00> phceT4T_Sw_Activate: calling Int_Activate
00> AppThread: Sem Released
00> AppThread: Calling AppProcessCmd with Callback
00> ProcessCmd: calling EventPend
00> RX: 00 A4 04 00 07 D2 76 00 00 85 01 01 00
00> phceT4T_Sw_ProcessCmd: -- ENTER --
00> phceT4T_Sw_ProcessCmd: case T4T_RXDEFAULT
00> phceT4T_Sw_ProcessCmd: case T4T_INS_SELECT
00> TX: SW: 90 00
00> RX: 90 60 00 00 00
00> phceT4T_Sw_ProcessCmd: -- ENTER --
00> phceT4T_Sw_ProcessCmd: case T4T_RXDEFAULT
00> TX: SW: 6E 00
00> RX: 90 AF 00 00 00
00> phceT4T_Sw_ProcessCmd: -- ENTER --
00> phceT4T_Sw_ProcessCmd: case T4T_RXDEFAULT
00> TX: SW: 6E 00
00> RX: 90 AF 00 00 00
00> phceT4T_Sw_ProcessCmd: -- ENTER --
00> phceT4T_Sw_ProcessCmd: case T4T_RXDEFAULT
00> TX: SW: 6E 00
00> RX: 00 A4 04 00 10 A0 00 00 03 96 56 43 41 FF FF FF FF FF FF FF FF 00
00> phceT4T_Sw_ProcessCmd: -- ENTER --
00> phceT4T_Sw_ProcessCmd: case T4T_RXDEFAULT
00> phceT4T_Sw_ProcessCmd: case T4T_INS_SELECT
00> TX: SW: 67 00
00> RX: 90 60 00 00 00
00> phceT4T_Sw_ProcessCmd: -- ENTER --
00> phceT4T_Sw_ProcessCmd: case T4T_RXDEFAULT
00> TX: SW: 6E 00
00> RX: 00 A4 04 00 07 D2 76 00 00 85 01 00 00
00> phceT4T_Sw_ProcessCmd: -- ENTER --
00> phceT4T_Sw_ProcessCmd: case T4T_RXDEFAULT
00> phceT4T_Sw_ProcessCmd: case T4T_INS_SELECT
00> TX: SW: 6A 82
00> RX: 90 60 00 00 00
00> phceT4T_Sw_ProcessCmd: -- ENTER --
00> phceT4T_Sw_ProcessCmd: case T4T_RXDEFAULT
00> TX: SW: 6E 00
00> RX:
00> ProcessCmd: Event Received
00> ProcessCmd: Event Error - clearing
00> AppThread: Sem Post
When the app is run and the iPhone is presented while on home screen (background reading):
00> T4T_CE: PHAC_DISCLOOP_ACTIVATED_BY_PEER
00> T4T_CE: Activate - POST
00> T4T_CE: Activate - phceT4T_Activate
00> phceT4T_Sw_Activate: calling Int_Activate
00> AppThread: Sem Released
00> AppThread: Calling AppProcessCmd with Callback
00> ProcessCmd: calling EventPend
00> RX: 00 A4 04 00 07 D2 76 00 00 85 01 01 00
00> phceT4T_Sw_ProcessCmd: -- ENTER --
00> phceT4T_Sw_ProcessCmd: case T4T_RXDEFAULT
00> phceT4T_Sw_ProcessCmd: case T4T_INS_SELECT
00> RX: 00 A4 00 0C 02 E1 03
00> phceT4T_Sw_ProcessCmd: -- ENTER --
00> phceT4T_Sw_ProcessCmd: case T4T_RXDEFAULT
00> phceT4T_Sw_ProcessCmd: case T4T_INS_SELECT
00> RX: 00 B0 00 00 0F
00> phceT4T_Sw_ProcessCmd: -- ENTER --
00> phceT4T_Sw_ProcessCmd: case T4T_RXDEFAULT
00> phceT4T_Sw_ProcessCmd: case T4T_INS_READ
00> TX: 00 0F 20 00 3B 00 34 04 06 E1 04 04 00 00 00
00> RX: 00 A4 00 0C 02 E1 04
00> phceT4T_Sw_ProcessCmd: -- ENTER --
00> phceT4T_Sw_ProcessCmd: case T4T_RXDEFAULT
00> phceT4T_Sw_ProcessCmd: case T4T_INS_SELECT
00> RX: 00 B0 00 00 02
00> phceT4T_Sw_ProcessCmd: -- ENTER --
00> phceT4T_Sw_ProcessCmd: case T4T_RXDEFAULT
00> phceT4T_Sw_ProcessCmd: case T4T_INS_READ
00> TX: 00 0C
00> RX: 00 B0 00 00 02
00> phceT4T_Sw_ProcessCmd: -- ENTER --
00> phceT4T_Sw_ProcessCmd: case T4T_RXDEFAULT
00> phceT4T_Sw_ProcessCmd: case T4T_INS_READ
00> TX: 00 0C
00> RX: 00 B0 00 02 0C
00> phceT4T_Sw_ProcessCmd: -- ENTER --
00> phceT4T_Sw_ProcessCmd: case T4T_RXDEFAULT
00> phceT4T_Sw_ProcessCmd: case T4T_INS_READ
00> TX: D1 01 08 55 02 6E 78 70 2E 63 6F 6D
00> RX:
00> ProcessCmd: Event Received
00> ProcessCmd: Event Error - clearing
00> AppThread: Sem Post00> AppThread: Sem Post
When presented while using a reader app (TagInfo):
present phone:
00> T4T_CE: PHAC_DISCLOOP_ACTIVATED_BY_PEER
00> T4T_CE: Activate - POST
00> T4T_CE: Activate - phceT4T_Activate
00> phceT4T_Sw_Activate: calling Int_Activate
00> AppThread: Sem Released
00> AppThread: Calling AppProcessCmd with Callback
00> ProcessCmd: calling EventPend
00> RX: 00 A4 04 00 07 D2 76 00 00 85 01 01 00
00> phceT4T_Sw_ProcessCmd: -- ENTER --
00> phceT4T_Sw_ProcessCmd: case T4T_RXDEFAULT
00> phceT4T_Sw_ProcessCmd: case T4T_INS_SELECT
00> RX: 90 60 00 00 00
00> phceT4T_Sw_ProcessCmd: -- ENTER --
00> phceT4T_Sw_ProcessCmd: case T4T_RXDEFAULT
00> RX: 90 AF 00 00 00
00> phceT4T_Sw_ProcessCmd: -- ENTER --
00> phceT4T_Sw_ProcessCmd: case T4T_RXDEFAULT
00> RX: 90 AF 00 00 00
00> phceT4T_Sw_ProcessCmd: -- ENTER --
00> phceT4T_Sw_ProcessCmd: case T4T_RXDEFAULT
00> RX: 00 A4 04 00 10 A0 00 00 03 96 56 43 41 FF FF FF FF FF FF FF FF 00
00> phceT4T_Sw_ProcessCmd: -- ENTER --
00> phceT4T_Sw_ProcessCmd: case T4T_RXDEFAULT
00> phceT4T_Sw_ProcessCmd: case T4T_INS_SELECT
00> RX: 90 60 00 00 00
00> phceT4T_Sw_ProcessCmd: -- ENTER --
00> phceT4T_Sw_ProcessCmd: case T4T_RXDEFAULT
00> RX: 00 A4 04 00 07 D2 76 00 00 85 01 00 00
00> phceT4T_Sw_ProcessCmd: -- ENTER --
00> phceT4T_Sw_ProcessCmd: case T4T_RXDEFAULT
00> phceT4T_Sw_ProcessCmd: case T4T_INS_SELECT
00> RX: 90 60 00 00 00
00> phceT4T_Sw_ProcessCmd: -- ENTER --
00> phceT4T_Sw_ProcessCmd: case T4T_RXDEFAULT
-- LONG DELAY (might think nothing is happening and remove phone here) --
00> RX: C2
00> ProcessCmd: Event Received
00> ProcessCmd: Event Error - clearing
00> AppThread: Sem Post