2024-07-31 09:46 AM
I'm trying to follow the test procedure for BlueNRG-MS (SPI) indicated in the Bringing up the BlueNRG and BlueNRG-MS devices - Application note (AN4494).
I am using custom board (Microchip dsPIC33F) to talk to BlueNR-M0A.
SPI Setting: 625K baud rate, SPII mode 0.
Following the Test procedure on Page 5, I got correct packet from BlueNRG-M0A:
Step 4: I received [02,7F,00,00,00]
Step 6: I received [02,7F,00,06,00]
However, on Step 7, I always received [FF, FF, FF, FF, FF, FF]. Note: I sent CTRL byte 0x0B, followed by 4 dummy byte 0x00.
I have checked codes again and again, have no idea where to look at.
Please help with this issue, and point out a direction.
Thanks.
Leo