nes-proj/cpu/cc26xx-cc13xx
George Oikonomou d42b1b50e5 Allow the caller to access the entire content of CMDSTA
When sending a command to the CC13xx/CC25xx RF core, we wait for command completion by checking the LSB of CMDSTA (correctly so). However, in doing so we also zero out the 3 CMDSTA return bytes. For some commands, those bytes contain useful information (e.g. an RSSI value) and are required by the caller.

This problem manifests itself e.g. in PROP mode `channel_clear()`, whereby the caller will always see an RSSI value of 0.

This pull therefore fixes the logic in `rf_core_send_cmd()` to check for command completion by blocking on the CMDSTA result byte without zeroing out the 3 return bytes.

Fixes #1465
2016-01-24 13:39:14 +00:00
..
dev Always set a valid time for the next AON RTC CH1 compare event 2015-11-14 02:44:04 +01:00
lib Update CCxxwares to our warning-free version 2015-10-20 10:11:41 +02:00
rf-core Allow the caller to access the entire content of CMDSTA 2016-01-24 13:39:14 +00:00
cc26xx.ld
clock.c Tickless bugfixes: 2015-09-02 12:05:47 +02:00
dbg.h
debug-uart.h
fault-handlers.c
ieee-addr.c
ieee-addr.h
lpm.c Improve CC13xx/CC26xx LPM logic 2015-11-14 02:48:46 +01:00
lpm.h
Makefile.cc13xx
Makefile.cc26xx
Makefile.cc26xx-cc13xx Added the WERROR=1 flag to the CC2538 and CC26xx CPUs 2015-10-20 10:11:23 +02:00
mtarch.h
putchar.c
rtimer-arch.c
rtimer-arch.h
slip-arch.c
ti-lib.h