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

ESP32 WROOM 32 + M1101D module keeps rebooting or hangs almost with all example files #167

Open
miroslavkrajcir opened this issue Nov 27, 2024 · 2 comments

Comments

@miroslavkrajcir
Copy link

Hello, i have a ESP32 WROOM 32 board with M1101D (CC1101 Chip) module. When using example files my board keeps rebooting or hangs at setup, i even tried the example files without the C1101 module connected but the problem persists. Any ideas?

@ScorpionXII
Copy link

ScorpionXII commented Dec 5, 2024

I was experiencing the same issue. It seems the pins are not correctly configured. Just do this:
#define SCK_PIN 18
#define SS_PIN 5
#define MISO_PIN 19
#define MOSI_PIN 23

and add this line as first instruction after void setup() {
ELECHOUSE_cc1101.setSpiPin(SCK_PIN, MISO_PIN, MOSI_PIN, SS_PIN);

@miroslavkrajcir
Copy link
Author

Thanks, it is working now...

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

No branches or pull requests

2 participants