[riot-notifications] [RIOT-OS/RIOT] drivers/sx126x: Add support for Nucleo -WL55JC (#16579)

José Alamos notifications at github.com
Fri Jul 2 11:54:53 CEST 2021

@jia200x commented on this pull request.

> @@ -39,6 +43,19 @@
 #define SX126X_MAX_SF       LORA_SF12
+static netdev_t *_dev;
+#if defined(CPU_FAM_STM32WL)
+void isr_subghz_radio(void)
+    /* Disable NVIC to avoid ISR conflict in CPU. Please note this does not
+        clear the interrupts not disable IRQ masks in radio*/
+    NVIC_DisableIRQ(SUBGHZ_Radio_IRQn);

the problem is, ` sx126x_get_and_clear_irq_status(dev, &_subghz_irq_mask);`does a blocking SPI transaction on ISR :(

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210702/6a7a8997/attachment.htm>

More information about the notifications mailing list