PN7160 TXLDO stays at 0V if VBAT is connected to 3V3

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

PN7160 TXLDO stays at 0V if VBAT is connected to 3V3

1,094 Views
michael_d_1983
Contributor I

Hello,

I am testing the PN7160 on the OM27160A1HN Board and its already working.


TXLDO is configured to 3.0V using NxpNci_TVDD_CONF[]={0x20, 0x02, 0x0F, 0x01, 0xA0, 0x0E, 0x0B, 0x11, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD0, 0x0C};

Problem:

If the VBAT of the PN7160 is powered with 3.3V (same supply of VDD) instead of (default) 5.0V TXLDO measured at TVDD stays at 0V and no field is generated.

Communication with the hostcontroller seems to be normal.

What is going wrong here?

Thanks,

Michael

 

 

0 Kudos
3 Replies

1,074 Views
michael_d_1983
Contributor I

I was able to the fix the problem by deactivating the TXLDO-Check (5V and 3.5V bits).

How should these bits be correctly configured for 3.3V and what are the disadvantages of disabling this check?

Thanks id advance,

Michael

0 Kudos

991 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi @michael_d_1983 

could you please share your configuration file ?

Regards

Daniel

0 Kudos

980 Views
michael_d_1983
Contributor I

Hi Daniel,

configuration is near the same as in the NXP-NCI2.0_MCUXpresso_examples, exept TXLDO 3.0V and TXLDO-Check disabled.

Regards,

Michael

 

/***** NFC dedicated setting ****************************************/

/* Following definitions specifies which settings will apply when NxpNci_ConfigureSettings()
* API is called from the application
*/
#define NXP_CORE_CONF 1
#define NXP_CORE_STANDBY 1
#define NXP_CORE_CONF_EXTN 1
#define NXP_CLK_CONF 1 // 1=Xtal, 2=PLL
#define NXP_TVDD_CONF 1 // 1=3.3V, 2=4.75V
#define NXP_RF_CONF 1

uint8_t NxpNci_SettingCurrentTS[32] = "98765";

#if NXP_CORE_CONF
/* NCI standard dedicated settings
* Refer to NFC Forum NCI standard for more details
*/
uint8_t NxpNci_CORE_CONF[]={0x20, 0x02, 0x05, 0x01, /* CORE_SET_CONFIG_CMD */
0x00, 0x02, 0xFE, 0x01 /* TOTAL_DURATION */
};
#endif

/*
https://community.nxp.com/t5/NFC/we-are-using-NFC-ic-PN7120-in-that-we-are-trying-to-disable-the/td-...
###############################################################################
# Core configuration settings
NXP_CORE_CONF={ 20, 02, 2B, 0D,
28, 01, 00, // PN_NFC_DEP_SPEED
21, 01, 00, // PI_BIT_RATE
30, 01, 08,
31, 01, 03,
33, 04, 01, 02, 03, 04,
54, 01, 06,
50, 01, 02,
5B, 01, 00,
60, 01, 0E,
80, 01, 01,
81, 01, 01,
82, 01, 0E,
18, 01, 01 // PF_BIT_RATE <- Geht nicht in NCI 2.0!!!
}
*/

#if NXP_CORE_CONF_EXTN
/* NXP-NCI extension dedicated setting
* Refer to NFC controller User Manual for more details
*/
uint8_t NxpNci_CORE_CONF_EXTN[]={0x20, 0x02, 0x05, 0x01, /* CORE_SET_CONFIG_CMD */
0xA0, 0x40, 0x01, 0x00 /* TAG_DETECTOR_CFG */
};
#endif

#if NXP_CORE_STANDBY
/* NXP-NCI standby enable setting
* Refer to NFC controller User Manual for more details
*/
uint8_t NxpNci_CORE_STANDBY[]={0x2F, 0x00, 0x01, 0x00}; /* last byte indicates enable/disable */
#endif

#if NXP_CLK_CONF
/* NXP-NCI CLOCK configuration
* Refer to NFC controller Hardware Design Guide document for more details
*/
#if (NXP_CLK_CONF == 1)
/* Xtal configuration */
uint8_t NxpNci_CLK_CONF[]={0x20, 0x02, 0x05, 0x01, /* CORE_SET_CONFIG_CMD */
0xA0, 0x03, 0x01, 0x08 /* CLOCK_SEL_CFG */
};
#else
/* PLL configuration */
uint8_t NxpNci_CLK_CONF[]={0x20, 0x02, 0x09, 0x02, /* CORE_SET_CONFIG_CMD */
0xA0, 0x03, 0x01, 0x11, /* CLOCK_SEL_CFG */
0xA0, 0x04, 0x01, 0x01 /* CLOCK_TO_CFG */
};
#endif
#endif

#if NXP_TVDD_CONF
/* NXP-NCI TVDD configuration
* Refer to NFC controller Hardware Design Guide document for more details
*/
#if (NXP_TVDD_CONF == 1) // UM11495 Table 113
/* TXLDO output voltage set to 3.0V */ //0x10
uint8_t NxpNci_TVDD_CONF[]={0x20, 0x02, 0x0F, 0x01, 0xA0, 0x0E, 0x0B, 0x11, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x0C};
#else
/* TXLDO output voltage set to 4.75V */
uint8_t NxpNci_TVDD_CONF[]={0x20, 0x02, 0x0F, 0x01, 0xA0, 0x0E, 0x0B, 0x11, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x40, 0x00, 0xD0, 0x0C};
#endif
#endif

#if NXP_RF_CONF
/* NXP-NCI RF configuration
* Refer to NFC controller Antenna Design and Tuning Guidelines document for more details
*/
/* Following configuration relates to performance optimization of OM27160 NFC Controller demo kit */
uint8_t NxpNci_RF_CONF[]={0x20, 0x02, 0x4C, 0x09,
0xA0, 0x0D, 0x03, 0x78, 0x0D, 0x02,
0xA0, 0x0D, 0x03, 0x78, 0x14, 0x02,
0xA0, 0x0D, 0x06, 0x4C, 0x44, 0x65, 0x09, 0x00, 0x00,
0xA0, 0x0D, 0x06, 0x4C, 0x2D, 0x05, 0x35, 0x1E, 0x01,
0xA0, 0x0D, 0x06, 0x82, 0x4A, 0x55, 0x07, 0x00, 0x07,
0xA0, 0x0D, 0x06, 0x44, 0x44, 0x03, 0x04, 0xC4, 0x00,
0xA0, 0x0D, 0x06, 0x46, 0x30, 0x50, 0x00, 0x18, 0x00,
0xA0, 0x0D, 0x06, 0x48, 0x30, 0x50, 0x00, 0x18, 0x00,
0xA0, 0x0D, 0x06, 0x4A, 0x30, 0x50, 0x00, 0x08, 0x00
};
#endif

0 Kudos