PN7220 NFC with Android 14

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PN7220 NFC with Android 14

1,090 Views
mcihangir
Contributor II

Hello,

I am using the PN7220 NFC and have completed the required integration on the Android 14 host platform, including driver, HAL, services, and framework layers.
When I run the device, I encounter the following error.

 

08-22 18:12:43.621 3154 3481 I libnfc_nci: [INFO:nfa_dm_discover.cc(2934)] p2p priority is running under bail out mode ONLY.
08-22 18:12:43.621 3154 3481 I libnfc_nci: [INFO:nfc_main.cc(396)] nfc_set_state 4 (IDLE)->4 (IDLE)
08-22 18:12:43.621 3154 3481 I libnfc_nci: [INFO:nfa_dm_discover.cc(1721)] nfa_dm_disc_data_cback
08-22 18:12:43.621 3154 3481 I libnfc_nci: [INFO:nfa_dm_discover.cc(739)] event:0x4005
08-22 18:12:43.621 3154 3481 I libnfc_nci: [INFO:nfa_dm_discover.cc(2569)] state: IDLE (0), event: DEACTIVATE_RSP(7) disc_flags: 0x31
08-22 18:12:43.622 3154 3481 I libnfc_nci: [INFO:nfa_dm_discover.cc(2622)] new state: IDLE (0), disc_flags: 0x11
08-22 18:12:53.529 3154 3558 E NfcService: Watchdog triggered, aborting.
08-22 18:12:53.550 3154 3558 F com.android.nfc: jni_internal.cc:825] JNI FatalError called: applyRouting
08-22 18:12:54.054 3154 3558 F com.android.nfc: runtime.cc:691] Runtime aborting...

 

 

All logs are attached. Do you have any idea what might be causing this issue?


I followed the relevant Android porting documentation and completed the entire integration accordingly.

 

Thanks!

0 Kudos
Reply
1 Reply

1,037 Views
jimmychan
NXP TechSupport
NXP TechSupport

There is Android porting guide for Android14 AN14430.

PN7160/PN7220 – Android 14 porting guide

 

More details for the porting, please read this:

Porting PN7160 to Android 14 on i.MX8M Nano board - NXP Community

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2164646%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EPN7220%20NFC%20with%20Android%2014%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2164646%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI%20am%20using%20the%20PN7220%20NFC%20and%20have%20completed%20the%20required%20integration%20on%20the%20Android%2014%20host%20platform%2C%20including%20driver%2C%20HAL%2C%20services%2C%20and%20framework%20layers.%3CBR%20%2F%3EWhen%20I%20run%20the%20device%2C%20I%20encounter%20the%20following%20error.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E08-22%2018%3A12%3A43.621%203154%203481%20I%20libnfc_nci%3A%20%5BINFO%3Anfa_dm_discover.cc(2934)%5D%20p2p%20priority%20is%20running%20under%20bail%20out%20mode%20ONLY.%3CBR%20%2F%3E08-22%2018%3A12%3A43.621%203154%203481%20I%20libnfc_nci%3A%20%5BINFO%3Anfc_main.cc(396)%5D%20nfc_set_state%204%20(IDLE)-%26gt%3B4%20(IDLE)%3CBR%20%2F%3E08-22%2018%3A12%3A43.621%203154%203481%20I%20libnfc_nci%3A%20%5BINFO%3Anfa_dm_discover.cc(1721)%5D%20nfa_dm_disc_data_cback%3CBR%20%2F%3E08-22%2018%3A12%3A43.621%203154%203481%20I%20libnfc_nci%3A%20%5BINFO%3Anfa_dm_discover.cc(739)%5D%20event%3A0x4005%3CBR%20%2F%3E08-22%2018%3A12%3A43.621%203154%203481%20I%20libnfc_nci%3A%20%5BINFO%3Anfa_dm_discover.cc(2569)%5D%20state%3A%20IDLE%20(0)%2C%20event%3A%20DEACTIVATE_RSP(7)%20disc_flags%3A%200x31%3CBR%20%2F%3E08-22%2018%3A12%3A43.622%203154%203481%20I%20libnfc_nci%3A%20%5BINFO%3Anfa_dm_discover.cc(2622)%5D%20new%20state%3A%20IDLE%20(0)%2C%20disc_flags%3A%200x11%3CBR%20%2F%3E08-22%2018%3A12%3A53.529%203154%203558%20E%20NfcService%3A%20Watchdog%20triggered%2C%20aborting.%3CBR%20%2F%3E08-22%2018%3A12%3A53.550%203154%203558%20F%20com.android.nfc%3A%20jni_internal.cc%3A825%5D%20JNI%20FatalError%20called%3A%20applyRouting%3CBR%20%2F%3E08-22%2018%3A12%3A54.054%203154%203558%20F%20com.android.nfc%3A%20runtime.cc%3A691%5D%20Runtime%20aborting...%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CP%3EAll%20logs%20are%20attached.%20Do%20you%20have%20any%20idea%20what%20might%20be%20causing%20this%20issue%3F%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EI%20followed%20the%20relevant%20Android%20porting%20documentation%20and%20completed%20the%20entire%20integration%20accordingly.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2164969%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20PN7220%20NFC%20with%20Android%2014%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2164969%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThere%20is%20Android%20porting%20guide%20for%20Android14%20AN14430.%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fapplication-note%2FAN14430.pdf%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EPN7160%2FPN7220%20%E2%80%93%20Android%2014%20porting%20guide%3C%2FA%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EMore%20details%20for%20the%20porting%2C%20please%20read%20this%3A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FNFC-Knowledge-Base%2FPorting-PN7160-to-Android-14-on-i-MX8M-Nano-board%2Fta-p%2F2001159%22%20target%3D%22_blank%22%3EPorting%20PN7160%20to%20Android%2014%20on%20i.MX8M%20Nano%20board%20-%20NXP%20Community%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E