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.
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.
Any comment is welcomed
Regards
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