<p></p>
<p><b>@jia200x</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/16579#discussion_r662891848">drivers/sx126x/sx126x_netdev.c</a>:</p>
<pre style='color:#555'>> @@ -39,6 +43,19 @@
 #define SX126X_MAX_SF       LORA_SF12
 #endif
 
+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);
</pre>
<p>the problem is, <code> sx126x_get_and_clear_irq_status(dev, &_subghz_irq_mask);</code>does a blocking SPI transaction on ISR :(</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/16579#discussion_r662891848">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYFDMZ3RTNR765STTNDTVWEG3ANCNFSM47EMOXQQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABE7WYGYJFJPI6QZTIQBHW3TVWEG3A5CNFSM47EMOXQ2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOFGNP5GA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/16579#discussion_r662891848",
"url": "https://github.com/RIOT-OS/RIOT/pull/16579#discussion_r662891848",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>