[riot-notifications] [RIOT-OS/RIOT] drivers/at86rf215: Add driver for the AT86RF215 dual-band IEEE 802.15.4-2015 radio (#12128)

benpicco notifications at github.com
Mon Sep 30 13:04:25 CEST 2019


Can you try with this patch?

```patch
--- a/cpu/cc2538/periph/spi.c
+++ b/cpu/cc2538/periph/spi.c
@@ -150,9 +150,8 @@ void spi_transfer_bytes(spi_t bus, spi_cs_t cs, bool cont,
         for (size_t i = 0; i < len; i++) {
             while (!(dev(bus)->SR & SSI_SR_TNF)) {}
             dev(bus)->DR = 0;
-            if (dev(bus)->SR & SSI_SR_RNE) {
-                in_buf[in_cnt++] = dev(bus)->DR;
-            }
+            while (!(dev(bus)->SR & SSI_SR_RNE)) {}
+            in_buf[in_cnt++] = dev(bus)->DR;
         }
         /* get remaining bytes */
         while (dev(bus)->SR & SSI_SR_RNE) {
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/12128#issuecomment-536513224
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190930/7dd4a077/attachment.htm>


More information about the notifications mailing list