PN7160 got TXLDO ripped output voltage

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

PN7160 got TXLDO ripped output voltage

跳至解决方案
2,314 次查看
George_Li1
Contributor II

Hello,

I am working on PN7160 bring up on arm64 ubuntu 18.04. I have ported linux driver and nfcDemoApp

Once I ran nfcDemoApp poll, of cause can not detect my Tag (NTAG213), and I probed the PIN14 (VDD TX QFN package--TXLDO ), I got a rippled output. please see the attached (nxp_nfc_pn7160_Vdd_Tx_ripple_voltage.png).

I use CFG2 power (VDD_PAD = 1.8V, VDD_UP = VBAT = 3.8V), please see the attached (HW_power.png) and the configuration files.

is it the HW issue or the SW configuration issue? all the capacitors are populated as requested.

 

0 项奖励
1 解答
2,214 次查看
George_Li1
Contributor II

The problem is fixed by changing an antenna. Indeed, there was no FR field before changing to a new one.  Thanks for all your support, Tomas.

在原帖中查看解决方案

0 项奖励
7 回复数
2,215 次查看
George_Li1
Contributor II

The problem is fixed by changing an antenna. Indeed, there was no FR field before changing to a new one.  Thanks for all your support, Tomas.

0 项奖励
2,267 次查看
George_Li1
Contributor II

Any updates on this?

I also attached the full log when run nfcDemoApp poll.

0 项奖励
2,277 次查看
George_Li1
Contributor II

Hi Tomas,

Thanks for the quick response. I have tried the NXP_EXT_TVDD_CFG_2, but I still got the rippled voltage, and still can not detect the card.

how to check RF field?  Below are some errors when running nfcDemoApp poll

2023:03:02-15:12:14.678 nfa_dm_disc_notify_started
2023:03:02-15:12:14.678 nfaConnectionCallback: event= 30
2023:03:02-15:12:14.679 nfaConnectionCallback: NFA_RF_DISCOVERY_STARTED_EVT: status = 0
2023:03:02-15:12:14.679 PN54X - Read requested.....
2023:03:02-15:12:14.679 PN54X - Invoking I2C Read.....
2023:03:02-15:12:14.679 new state: DISCOVERY (1), disc_flags: 0x1
2023:03:02-15:12:14.680 nativeNfcTag_releaseRfInterfaceMutexLock: sRfInterfaceMutex unlock
Waiting for a Tag/Device...

2023:03:02-15:12:39.671 PN54X - I2C Read successful.....
2023:03:02-15:12:39.672 len = 4 > 600701A1
2023:03:02-15:12:39.672 PN54X - Posting read message.....
2023:03:02-15:12:39.673 read successful status = 0x0
2023:03:02-15:12:39.674 NfcAdaptation::HalDeviceContextDataCallback: len=4
2023:03:02-15:12:39.675 NFC received ntf gid:0
2023:03:02-15:12:39.675 nci_proc_core_ntf opcode:0x7
2023:03:02-15:12:39.676 NFC_GEN_ERROR_REVT(0x500d)
2023:03:02-15:12:39.676 nfa_dm_disc_data_cback
2023:03:02-15:12:39.677 state: DISCOVERY (1), event: INTF_ERROR_NTF(10) disc_flags: 0x1
2023:03:02-15:12:39.677 new state: DISCOVERY (1), disc_flags: 0x1
2023:03:02-15:12:39.678 PN54X - Read requested.....
2023:03:02-15:12:39.678 PN54X - Invoking I2C Read.....
2023:03:02-15:12:44.453 PN54X - I2C Read successful.....
2023:03:02-15:12:44.454 len = 4 > 600701A1
2023:03:02-15:12:44.454 PN54X - Posting read message.....
2023:03:02-15:12:44.456 read successful status = 0x0
2023:03:02-15:12:44.456 NfcAdaptation::HalDeviceContextDataCallback: len=4
2023:03:02-15:12:44.457 NFC received ntf gid:0
2023:03:02-15:12:44.457 nci_proc_core_ntf opcode:0x7
2023:03:02-15:12:44.458 NFC_GEN_ERROR_REVT(0x500d)
2023:03:02-15:12:44.459 nfa_dm_disc_data_cback
2023:03:02-15:12:44.460 PN54X - Read requested.....
2023:03:02-15:12:44.460 PN54X - Invoking I2C Read.....
2023:03:02-15:12:44.461 state: DISCOVERY (1), event: INTF_ERROR_NTF(10) disc_flags: 0x1
2023:03:02-15:12:44.462 new state: DISCOVERY (1), disc_flags: 0x1
2023:03:02-15:12:52.215 PN54X - I2C Read successful.....
2023:03:02-15:12:52.216 len = 4 > 600701A1
2023:03:02-15:12:52.216 PN54X - Posting read message.....
2023:03:02-15:12:52.217 read successful status = 0x0
2023:03:02-15:12:52.218 NfcAdaptation::HalDeviceContextDataCallback: len=4
2023:03:02-15:12:52.218 NFC received ntf gid:0
2023:03:02-15:12:52.219 nci_proc_core_ntf opcode:0x7
2023:03:02-15:12:52.220 NFC_GEN_ERROR_REVT(0x500d)
2023:03:02-15:12:52.221 nfa_dm_disc_data_cback
2023:03:02-15:12:52.221 state: DISCOVERY (1), event: INTF_ERROR_NTF(10) disc_flags: 0x1
2023:03:02-15:12:52.222 new state: DISCOVERY (1), disc_flags: 0x1
2023:03:02-15:12:52.223 PN54X - Read requested.....
2023:03:02-15:12:52.223 PN54X - Invoking I2C Read.....

0 项奖励
2,235 次查看
Tomas_Parizek
NXP Employee
NXP Employee

Hello George, 

I see you are getting -> 60 07 01 A1 (CORE_GENERIC_ERROR_NTF)

 

Can you have a look here, please -> https://www.nxp.com/docs/en/application-note/AN13892.pdf

Page 20. We can try to decrease the overall Rx gain to see if that will help or not. 

 

BTW. about the RF Field detection, there are simple devices available (RF Field detectors) that might help you with NFC development. See e.g. here -> https://shop4nfc.com/products/rf-field-detector-for-nfc

BR

Tomas 

0 项奖励
2,228 次查看
George_Li1
Contributor II

Thanks, Tomas.

I have tried the setting mentioned in AN13892.pdf, but it still can not detect the Tags/Cards. the error code (60 07 01 A1) still be seen.

I added it in libnfc-nxp.conf, and tried all the possible values .


NXP_RF_CONF_BLK_1={ 20, 02, 4C, 09,
A0, 0D, 03, 78, 0D, 02,
A0, 0D, 03, 78, 14, 02,
A0, 0D, 06, 4C, 44, 65, 09, 00, 00,
A0, 0D, 06, 4C, 2D, 05, 35, 1E, 01,
A0, 0D, 06, 82, 4A, 55, 07, 00, 07,
A0, 0D, 06, 44, 44, 03, 04, C4, 00,
A0, 0D, 06, 46, 30, 50, 00, 18, 00,
A0, 0D, 06, 48, 30, 50, 00, 18, 00,
A0, 0D, 06, 4A, 30, 50, 00, 08, 00
A0, 0D, 06, 3C, 44, 55, 0A, 00, 00
}

 

0 项奖励
2,282 次查看
Tomas_Parizek
NXP Employee
NXP Employee

Hello George, 

Please, check in libnfc-nxp.txt the PMU configuration. 

Try the following  -> NXP_EXT_TVDD_CFG_2={20, 02, 0F, 01, A0, 0E, 0B, 11, 01, 02, B2, 00, B2, 1E, 11, 00, 10, 0C}

# TVDD configurations settings
# Allow NFCC to configure External TVDD
# There are two possible configurations (0x01 or 0x02):
#    CFG1: Vbat is used to generate the VDD(TX) through TXLDO
#    CFG2: external 5V is used to generate the VDD(TX) through TXLDO
NXP_EXT_TVDD_CFG=0x02

# CFG1: 3.3V for both Reader and Card modes
#NXP_EXT_TVDD_CFG_1={20, 02, 0F, 01, A0, 0E, 0B, 31, 01, 01, 31, 00, 00, 00, 01, 00, D0, 0C}

#NXP_EXT_TVDD_CFG_1={20, 02, 0F, 01, A0, 0E, 0B, 11, 01, 01, 01, 00, 00, 00, 00, 00, 10, 0C}
NXP_EXT_TVDD_CFG_1={20, 02, 0F, 01, A0, 0E, 0B, 11, 01, 01, 01, 00, 00, 00, 29, 00, D0, 0C}

# CFG2: VBAT2 to 5V and 4.7V for both Reader and Card modes
NXP_EXT_TVDD_CFG_2={20, 02, 0F, 01, A0, 0E, 0B, 11, 01, 02, B2, 00, B2, 1E, 11, 00, 10, 0C}

 BR

Tomas 

0 项奖励
2,281 次查看
Tomas_Parizek
NXP Employee
NXP Employee
BTW. do you see some RF field ?
0 项奖励