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,029件の閲覧回数
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)
0 件の賞賛
返信
6 返答(返信)

941件の閲覧回数
ingenutec
Contributor III

Any feedback from the NXP team?

0 件の賞賛
返信

936件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信

971件の閲覧回数
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 件の賞賛
返信

972件の閲覧回数
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 件の賞賛
返信

978件の閲覧回数
ingenutec
Contributor III

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

0 件の賞賛
返信

1,007件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

 

Do you have any log file for this issue?

0 件の賞賛
返信