PN7150: NxpNci_HostTransceive fails for RF conf

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

PN7150: NxpNci_HostTransceive fails for RF conf

2,014 Views
arnoutdiels
Contributor III

Hi,

We are running into a strange issue with the PN7150.

We are using the NXP-NCI LPC824X example on an OM5578 kit. 

This used to work fine, until at some point, the initialization started failing.  at this point:

pastedImage_2.png

Inside of NxpNci_ConfigureSettings, the RF config transaction seems to return something the code does not expect. The result is on the console "Error: cannot configure NXPNCI settings".

Strangely enough, if I modify the code to ignore the error, everything still works. (It can scan and write to RFID tags).

Is this a known issue? Is there anything to make up from the returned data?

Thanks in advance for your reply!

Kind regards,

Arnout

0 Kudos
Reply
2 Replies

1,347 Views
jju
Contributor I

We have this error also, and have tried replacing the "NxpNci_RF_CONF_2ndGen" without luck.

What should we do to fix this ?

0 Kudos
Reply

1,558 Views
IvanRuiz
NXP Employee
NXP Employee

Hello,

Please replace NxpNxi_RF_CONF_2ndGen with the following to prevent further issue:

uint8_t NxpNci_RF_CONF_2ndGen[]={0x20, 0x02, 0xA3, 0x13,
    0xA0, 0x0D, 0x06, 0x04, 0x35, 0x90, 0x01, 0xF4, 0x01,    /* RF_CLIF_CFG_INITIATOR        CLIF_AGC_INPUT_REG */
    0xA0, 0x0D, 0x06, 0x06, 0x44, 0x01, 0x90, 0x03, 0x00,    /* RF_CLIF_CFG_TARGET           CLIF_ANA_RX_REG */
    0xA0, 0x0D, 0x06, 0x06, 0x30, 0xB0, 0x01, 0x10, 0x00,    /* RF_CLIF_CFG_TARGET           CLIF_SIGPRO_ADCBCM_THRESHOLD_REG */
    0xA0, 0x0D, 0x06, 0x06, 0x42, 0x02, 0x00, 0xFF, 0xFF,    /* RF_CLIF_CFG_TARGET           CLIF_ANA_TX_AMPLITUDE_REG */
    0xA0, 0x0D, 0x03, 0x06, 0x3F, 0x04,                      /* RF_CLIF_CFG_TARGET           CLIF_TEST_CONTROL_REG */
    0xA0, 0x0D, 0x06, 0x20, 0x42, 0x88, 0x00, 0xFF, 0xFF,    /* RF_CLIF_CFG_TECHNO_I_TX15693 CLIF_ANA_TX_AMPLITUDE_REG */
    0xA0, 0x0D, 0x04, 0x22, 0x44, 0x22, 0x00,                /* RF_CLIF_CFG_TECHNO_I_RX15693 CLIF_ANA_RX_REG */
    0xA0, 0x0D, 0x06, 0x22, 0x2D, 0x50, 0x34, 0x0C, 0x00,    /* RF_CLIF_CFG_TECHNO_I_RX15693 CLIF_SIGPRO_RM_CONFIG1_REG */
    0xA0, 0x0D, 0x06, 0x32, 0x42, 0xF8, 0x00, 0xFF, 0xFF,    /* RF_CLIF_CFG_BR_106_I_TXA     CLIF_ANA_TX_AMPLITUDE_REG */
    0xA0, 0x0D, 0x06, 0x34, 0x2D, 0x24, 0x37, 0x0C, 0x00,    /* RF_CLIF_CFG_BR_106_I_RXA_P   CLIF_SIGPRO_RM_CONFIG1_REG */
    0xA0, 0x0D, 0x06, 0x34, 0x33, 0x86, 0x80, 0x00, 0x70,    /* RF_CLIF_CFG_BR_106_I_RXA_P   CLIF_AGC_CONFIG0_REG */
    0xA0, 0x0D, 0x04, 0x34, 0x44, 0x22, 0x00,                /* RF_CLIF_CFG_BR_106_I_RXA_P   CLIF_ANA_RX_REG */
    0xA0, 0x0D, 0x06, 0x42, 0x2D, 0x15, 0x45, 0x0D, 0x00,    /* RF_CLIF_CFG_BR_848_I_RXA     CLIF_SIGPRO_RM_CONFIG1_REG */
    0xA0, 0x0D, 0x04, 0x46, 0x44, 0x22, 0x00,                /* RF_CLIF_CFG_BR_106_I_RXB     CLIF_ANA_RX_REG */
    0xA0, 0x0D, 0x06, 0x46, 0x2D, 0x05, 0x59, 0x0E, 0x00,    /* RF_CLIF_CFG_BR_106_I_RXB     CLIF_SIGPRO_RM_CONFIG1_REG */
    0xA0, 0x0D, 0x06, 0x44, 0x42, 0x88, 0x00, 0xFF, 0xFF,    /* RF_CLIF_CFG_BR_106_I_TXB     CLIF_ANA_TX_AMPLITUDE_REG */
    0xA0, 0x0D, 0x06, 0x56, 0x2D, 0x05, 0x9F, 0x0C, 0x00,    /* RF_CLIF_CFG_BR_212_I_RXF_P   CLIF_SIGPRO_RM_CONFIG1_REG */
    0xA0, 0x0D, 0x06, 0x54, 0x42, 0x88, 0x00, 0xFF, 0xFF,    /* RF_CLIF_CFG_BR_212_I_TXF     CLIF_ANA_TX_AMPLITUDE_REG */
    0xA0, 0x0D, 0x06, 0x0A, 0x33, 0x80, 0x86, 0x00, 0x70     /* RF_CLIF_CFG_I_ACTIVE         CLIF_AGC_CONFIG0_REG */
};‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍

It seems that it could be related to the described in: PN7150 stopped working · Issue #59 · NXPNFCLinux/linux_libnfc-nci · GitHub  (issue encountered on Linux, but also reproducible in RTOS/NULLOS environment).

Please ask for the replacement of the board in the following link:

Returns and Warranty Information|NXP 

Hope this helps!

Regards,

Ivan.

0 Kudos
Reply