BlueNRG-MS SPI transaction on HW reset - unexpected response (AN4494)
Hello,
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'm using an STEVAL-IDB005V1D board (with a BLUENRG-MS chip) and an NUCLEO-F446RE board to read SPI signals.
Here is the test procedure (page 5/32 of AN4494) :
A BlueNRG hardware reset, performed by the microcontroller, generates an ACI event with a sequence described below and shown in Figure 3. BlueNRG SPI transaction on HW reset:
- 1. Release of hardware reset -> OK✔�?
- 2. IRQ goes high to signal an event from BlueNRG (if this signal is not present, it means that the BlueNRG firmware for some reason is not running) -> OK✔�?
- 3. The external microcontroller lowers CS to access the BlueNRG and read the event -> OK✔�?
- 4. The microcontroller reads 5 bytes from SPI; they should be [02,7F,00,00,00] -> OK✔�?
- 5. The external microcontroller, after raising the CS, lowers it again to access the BlueNRG and read the event -> OK✔�?
- 6.The microcontroller reads 5 bytes from SPI and [02,7F,00,06,00] is expected, meaning 6 bytes to read -> OK✔�?
- 7. The microcontroller reads 6 bytes from SPI and [04, FF, 03, 01, 00, 01] is expected -> ERROR�?��?
- 8. The microcontroller raises the CS again
Steps 1 to 6 are working. Data are correctly received. However step 7 does not work. I receive [255,255,255,255,255,255], MISO stays always HIGH. Furthermore, IRQ does not go low at the end.
Here are my signals :
Here are the expected signals (AN4494) :
And here is my SPI configuration
Any idea ?
Thanks for reading,
Best regards,
Valentin

