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

tinstructor notifications at github.com
Mon Sep 30 13:12:48 CEST 2019


> Can you try with this patch?
> 
> ```diff
> --- 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) {
> ```

Great succes!
```bash
ping6 fe80::2068:3123:9df1:9637%7
2019-09-30 13:11:58,559 - INFO # ping6 fe80::2068:3123:9df1:9637%7
2019-09-30 13:11:58,575 - INFO # 12 bytes from fe80::2068:3123:9df1:9637: icmp_seq=0 ttl=64 rssi=-17 dBm time=11.283 ms
2019-09-30 13:11:59,572 - INFO # 12 bytes from fe80::2068:3123:9df1:9637: icmp_seq=1 ttl=64 rssi=-17 dBm time=11.283 ms
2019-09-30 13:12:00,580 - INFO # 12 bytes from fe80::2068:3123:9df1:9637: icmp_seq=2 ttl=64 rssi=-17 dBm time=11.283 ms
2019-09-30 13:12:00,581 - INFO # 
2019-09-30 13:12:00,584 - INFO # --- fe80::2068:3123:9df1:9637 PING statistics ---
2019-09-30 13:12:00,592 - INFO # 3 packets transmitted, 3 packets received, 0% packet loss
2019-09-30 13:12:00,595 - INFO # round-trip min/avg/max = 11.283/11.283/11.283 ms
```

-- 
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-536515649
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190930/6deaaecd/attachment.htm>


More information about the notifications mailing list