Question
BlueNRG SPI not ready
Posted on July 15, 2016 at 15:09
Hello
I use a BlueNRG with a STM32F302x8. To test the SPI I use the AN4494 and it works fine. After a BlueNRG reset I read a Blue_Initialized_Event (04 FF 03 01 00 01) by using an interrupt on SPI_IRQ and the function HCI_isr(). So I think my SPI is good.If I want to get the BlueNRGVersion with getBlueNRGVersion() the SPI is never ready !!! I have the interrupt but the ridden header slave is FF FF FF 02 7F when I send 0b 00 00 00 00. After the reset it was 02 7F 00 00 00 before to read the event.What is the problem ?ThanksEric