New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drivers for the sub-GHz CC1101 and CC1120 radios #1002
Conversation
Adam, will there be support for the CC1200 as well? I m currently working on a CC1200 driver (based on preliminary work for the CC1120, but with some modifications as e.g. proposed by TI). Maybe it would make sense to "bundle" this work also to get drivers which are at least compatible on the radio interface? |
fix(cc1101): Fix buffer overflow for packets that are longer than 128 bytes
…tor updates for the CC1101 and CC1120 chips
Nice and most awaited patch! 👍 On Tue, Mar 24, 2015 at 4:30 PM, uknoblic notifications@github.com wrote:
Antonio Liñan |
@uknoblic We have an CC1200 driver that we use internally at Thingsquare, but it is not yet ready to be released. The differences between the CC1120 and the CC1200 are pretty small though. |
I like this :) Does anyone have plans to add a platform to support the drivers in this pull? |
Myself, see: http://zolertia.io/product/hardware/re-mote This is the first prototype, we may move to the CC1200 later. Any other? On Wed, Mar 25, 2015 at 9:15 AM, Jonas Olsson notifications@github.com
Antonio Liñan |
I think @uknoblic has an upcoming platform with CC1120 + ENC28j60 as well. |
Very cool! |
Looks very nice, do you have an ETA on when it will be available? |
We plan to release this device it end of may. |
I was very well aware of those two nice platforms! Both looks amazing :) Anyone else? Making it super easy to connect to the Internet will definitely help speed-up the IoT market. |
👍 👍 👍 for the feature, but I do have some questions:
|
@adamdunkels Adam, this is kicking and screaming to get merged. Any comments on my questions above? |
|
||
#if PERFORM_MANUAL_CALIBRATION | ||
strobe(CC1120_SIDLE); | ||
dint(); /* XXX No eint() is performed here! */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is msp430 specific, not portable to other platforms, i.e cc2538dk.
Also the BV macro is not defined for all platforms, perhaps replace by (1 << 5) or include this macro in a different PR? |
Hi, with regard to my PR for the cc1200 (#1083) driver, shouldn't we consider at least to reach an agreement with regard to the channel setup? In the cc1200 driver, i use the channel setup as described in the 802.15.4g (SUN-PHY). This setup will give us (for 50kbps FSK) the following three channels (speaking for ETSI SRDs, old bands "g1, g2, g3, g4"): 868.325 MHz (new: g1.1), 868.925 MHz (new: g1.2) + 869.525 MHz (new: g1.3). In many European countries the complete band 863 - 870 (g1) MHz is available anyway (www.erodocdb.dk/Docs/doc98/official/pdf/Rec7003e.PDF). I would also propose to have a look at the way i calculate the frequency registers (kHz resolution) which is not as restrictive as the way it is done here (16th MHz resolution for the cc1120). |
Thanks for these great drivers. It help us a lot. When using this CC1120 driver with Contikimac, a bug appears, i.e. radio does not sleep after receiving a packet. Would anyone helps us out? Let me explain the bug in detail. |
If we add a NETSTACK_RADIO.off() in the end of pollhandler() function, the radio will be turned off. |
i`ve merge this code easy, why this still not in master? |
Is there any problem with these drivers which prevents them to be merged into master? |
This patch contributes the latest Thingsquare drivers for the sub-GHz radios CC1101 and CC1120, along with a few updates to the Cooja emulation of the chips. There are also updates to the MSPsim emulation code: contiki-os/mspsim#4
These drivers are used in several commercial products and should be pretty solid by now.