PN7642 SDK example Ex8_HCE_T4T does FAILS on iPhone with reader app

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

PN7642 SDK example Ex8_HCE_T4T does FAILS on iPhone with reader app

1,028 次查看
ingenutec
Contributor III

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).

标签 (2)
标记 (3)
0 项奖励
回复
6 回复数

940 次查看
ingenutec
Contributor III

Any feedback from the NXP team?

0 项奖励
回复

935 次查看
danielchen
NXP TechSupport
NXP TechSupport

I can reproduce your issue on my side,  it is still under investigation.

0 项奖励
回复

970 次查看
ingenutec
Contributor III

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

 

0 项奖励
回复

971 次查看
ingenutec
Contributor III

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

 

0 项奖励
回复

977 次查看
ingenutec
Contributor III

The project itself, unmodified, has no logs.  I'll add some...

0 项奖励
回复

1,006 次查看
danielchen
NXP TechSupport
NXP TechSupport

 

Do you have any log file for this issue?

0 项奖励
回复