Skip to main content
Ricardo Hassan
Associate III
July 6, 2017
Question

STM32L4 and BlueNRG-MS causing hard fault

  • July 6, 2017
  • 1 reply
  • 441 views
Posted on July 06, 2017 at 22:34

Hi,

   I am using an STM32L486, connected to a BlueNRG-MS via SPI.  I am trying to build a simple app that can advertise, with one service and a 6 characteristics.  I'm following the example in the programming guide, i.e. I've configured the SPI to talk to the BlueNRG-MS, enabled the SPI IRQ, and put STM's handler in the interrupt handler.  I am able to get through creating my service, even to the point of advertising, but then the STM32l486 hard faults.  I'm pretty sure this is happining in the ISR, which is constantly firing.  Any ideas as to what is wrong?  Does it make sense that the BLueNRG should be constantly interrupting?  

Ricardo  

    This topic has been closed for replies.

    1 reply

    Ricardo Hassan
    Associate III
    July 7, 2017
    Posted on July 07, 2017 at 20:40

    It was my fault, I had a bug that was being reached right after advertising started, it was not directly related to the BlueNRG handling.