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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

622件の閲覧回数
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 件の賞賛
1 返信

608件の閲覧回数
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 件の賞賛