arduino-cc1101 icon indicating copy to clipboard operation
arduino-cc1101 copied to clipboard

Are FSK & GMSK supported?

Open whid-injector opened this issue 7 years ago • 2 comments

Hi, I quickly looked at the exmaple sketch and I didn't find any llace were is defined the modulation. Shall infer it is hardcoded to ASK? Or somewhere is possible to switch between those modulations supported by cc1101?

whid-injector avatar Sep 14 '18 19:09 whid-injector

Hi there, thanks for opening this!

If I understand correctly, the modulation is set here: https://github.com/veonik/arduino-cc1101/blob/master/src/cc1101.cpp#L236 I'm not sure what additional procedures, if any, need to occur when changing the modulation during runtime, however. If you get a chance to try it out, I'd love to hear the results!

Cheers

tyler-sommer avatar Sep 15 '18 03:09 tyler-sommer

Hi, I was digging a bit more and I found this: The modulation registry is on MDMCFG2: https://github.com/SpaceTeddy/CC1101/blob/6f34280a4cd34d409b3f00087b38723b1a409785/cc1100_raspi.cpp#L1010

//-------[set Modulation type 2-FSK=0; GFSK=1; ASK/OOK=3; 4-FSK=4; MSK=7]------

:+1:

whid-injector avatar Sep 17 '18 08:09 whid-injector