BlueNRG-MS - SPBTLE-RF Device sometimes gets stuck at hci_tl_lowlevel_isr function
So I am trying to use BlueNRG-MS, SPBTLE-RF device on a custom board. To use this device i tried to use BLE cube expansion with SampleApp application. I am configuring SPI and GPIO pins correctly. Project builds and loads fine but after booting but code sometimes gets in to a loop at here (in while). hci_notify_asynch_evt return 0.
- 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 */
- }
any suggestions and feedback are welcome.
Thanks in advance,
Marco
