Skip to content
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

Are FSK & GMSK supported? #11

Open
whid-injector opened this issue Sep 14, 2018 · 2 comments
Open

Are FSK & GMSK supported? #11

whid-injector opened this issue Sep 14, 2018 · 2 comments

Comments

@whid-injector
Copy link

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?

@tyler-sommer
Copy link
Member

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

@whid-injector
Copy link
Author

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]------

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants