cancel
Showing results for 
Search instead for 
Did you mean: 

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 ?

Thanks

Eric

 
1 REPLY 1
ivan239955_st
Associate
Posted on July 25, 2016 at 07:01

Hi,

I don't have the answer to your problem but I was intrigued on how you interfaced BlueNRG with a STM32F302x8. I want to use BlueNRG (particularly X-Nucleo-IDB04A1) with STM32F217. Could give me some tips your port mapped both, plus do you use USB to connect to PC to use the BlueNRG GUI?

Thanks

Ivan