AnsweredAssumed Answered

pn7150 self test

Question asked by Norman Liebich on Jun 5, 2018
Latest reply on Jun 12, 2018 by Norman Liebich

Hello,

I've tried to use the test-antenna feature of the PN7150 (chapter 12.3 in user guide) but the controller returns a status=0x06, which is not defined in the list of possible status values. In other cases the 0x06 would stand for a semantic error, but I can't see why.
The code for reading the TxLDO current

 

uint8_t testTxLDO_Cmd[] = {0x2F, 0x3D, 0x02, 0x01, 0x80};

uint8_t response[MAX_NCI_FRAME_SIZE];

uint16_t respLen;

NxpNci_HostTransceive(testTxLDO_Cmd, sizeof(testTxLDO_Cmd),

            response, sizeof(response),  &respLen);

if ((response[0] != 0x4F) || (response[1] != 0x3D) || (response[3] != 0x00)) {

   return NXPNCI_ERROR;

}

float I_txLdo = 0.4f * (float)response[4] + (response[5]==0 ? 50.0f : 20.0f);

 

response[3] is in my case 0x06. Same is true if I use the function NxpNci_FactoryTest_RfOn() from the new Nxp-Library, where basically only the command and parameter is different (0x20, 0x01 at the end).

 

Has anybody had success using the self-test?

Outcomes