Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

cc1101 bandwith setting #103

Open
pwwoj opened this issue Dec 14, 2023 · 2 comments
Open

cc1101 bandwith setting #103

pwwoj opened this issue Dec 14, 2023 · 2 comments

Comments

@pwwoj
Copy link

pwwoj commented Dec 14, 2023

I've compiled project for esp32/cc1101 with latest radio library and it seems that rxBandwidth setting of 250000 does not pass validity checks. Below clacs from spec , so it looks like some container with predefined values might be used - I have succesfully used defualt 203000 or 270000 as well.
image

@andyboeh
Copy link
Contributor

I just ran into the same issue. Looks like the config option for the Rx bandwidth is already there but it is not (yet) supported by the web interface. Changing the default to 270000 initializes the module properly.

gpvelzen added a commit to gpvelzen/RFLink32 that referenced this issue Sep 2, 2024
Hardware malfunction for CC1101 - defect cpainchaud#103
On the serial connection (pio run -e genericESP32 -t monitor) we see continuously:

Now trying to initialize hardware 'CC1101'
Initialized CC1101(freq=433.92Mhz,br=9.600kbps,rxbw=250.0khz)=-104
CC1101 SetOOK(true)=0
CC1101 setPromiscuousMode(true)=0
CC1101 disableSyncWordFiltering(true)=0
Hardware failed to initialize, we will retry later!
Follow instructions here to solve this: cpainchaud#103.

Change ../RFLink32/RFLink/1_Radio.cpp to have default_rxBandwidth = 203000; instead of default_rxBandwidth = 250000;.
@DanielKinsman
Copy link

DanielKinsman commented Jan 4, 2025

I just ran into this as well. I'm not sure how to set the config at all apart from editing the code? I used the value 232.0 from here which worked: https://github.com/jgromes/RadioLib/blob/master/src/modules/CC1101/CC1101.cpp#L439

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants