BlueNRG-M2SP Device gets stuck at hci_tl_lowlevel_isr function
So I am trying to use BlueNRG M2SP device on a custom board. To use this device i tried to use BLE2 cube expansion with SampleApp application. I am sure i am configuring SPI and GPIO pins correctly. Project builds and loads fine but after booting, code gets in to a loop at here.
void hci_tl_lowlevel_isr(void)
{
/* Call hci_notify_asynch_evt() */
while(IsDataAvailable())
{
hci_notify_asynch_evt(NULL);
}
/* USER CODE BEGIN hci_tl_lowlevel_isr */
/* USER CODE END hci_tl_lowlevel_isr */
}I tried to comment out this section of the code just to see what happens, and BLE doesnt get initiated correctly if i do that.
I will be glad if someone can be helpfull.
Koksal