[PN7150] Why does the NCI_PROPRIETARY_ACT_CMD response contain a Forbidden code?

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

[PN7150] Why does the NCI_PROPRIETARY_ACT_CMD response contain a Forbidden code?

716 Views
dominusdrr
Contributor IV

Hi.

I have gone through the steps to initialize the #PN7150 with no problems until I got to the point where the NCI_PROPRIETARY_ACT_CMD command is sent

I have used a logic analyzer to determine the problem.

In the following image, the command is sent.

dominusdrr_0-1662565749544.png


uint8_t NCIPropAct[] = {0x2F, 0x02, 0x00};

 

And then I get the response, but I only get the byte that corresponds to the STATUs with a value equal to 6 which is a forbidden value.

dominusdrr_1-1662566086978.png

dominusdrr_2-1662566395012.png

 

 

Any comment is welcomed

Regards


 

0 Kudos
Reply
1 Reply

702 Views
dominusdrr
Contributor IV

Hi.

It seems that I have solved the problem. In the initial configuration, in the end it was necessary to perform a reset and a start of the device.

 

I was only performing a reset as follows:

 

uint8_t NCICoreReset[] = {0x20, 0x00, 0x01, 0x00}; // Reset Type = Keep Configuration.

 

I have switched to a Reset Configuration type reboot. (Following an example I got)

uint8_t NCICoreReset[] = {0x20, 0x00, 0x01, 0x01}; // Reset Type = Reset Configuration.

And I added a device startup:

uint8_t NCICoreInit[] = {0x20, 0x01, 0x00};

After this I send the NCI_PROPRIETARY_ACT_CMD and it responds correctly.

 

The only doubt I have is that according to me, I should perform a restart with Keep Configuration, since with the other, if I'm not wrong, it would erase everything previously calibrated. Am I correct?

 

Regards

0 Kudos
Reply