nrf 24 not working
NRF24 not found on M5StickC Plus2
Device: M5StickC Plus2 Bruce Version: v1.11 (latest) Module: NRF24L01+ with adapter board (built-in capacitor)
Problem
NRF24 module is not detected by Bruce firmware. Error message: "NRF24 not found"
What I tried
- Wiring matches the official Bruce Wiki diagram for M5StickC CC1101/NRF24
- Tried both Legacy SPI and Shared SPI options in Config
- Manually set pins in bruce.conf:
"NRF24_Pins": {
"sck": 0,
"miso": 33,
"mosi": 32,
"cs": 25,
"io0": 26,
"io2": -1
}
- Tried connecting the module after the device fully boots (to avoid G0 boot pin issues)
- Reflashed Bruce to latest version
- Module has onboard adapter with capacitor so power supply is stable
- No short circuits detected
Wiring
| NRF24 | M5StickC Plus2 |
|---|---|
| VCC | 3.3V |
| GND | GND |
| CE | G26 |
| CSN | G25 |
| SCK | G0 |
| MOSI | G32 |
| MISO | G33 |
Notes
G0 is used as SCK which is a boot-sensitive pin on ESP32. Could this be causing SPI initialization to fail? Other users have reported the same issue (#1092).
Any help appreciated!
Hi voxelvoxelyt-hash, I have the same device and had the same problems. Here are some details about this behavior:
- The module is not required to unplug during device startup.
- The module physically cannot function while connected to WiFi because one of the pins is an ADC, which is necessary for WiFi operation.
- Bruce version 1.11 is not the latest version. I recommend trying version 1.14 (the latest) or the beta.
- Shared SPI is a mode in which the NRF/CC module is used in conjunction with the SD card module, according to the diagram at the following link: https://wiki.bruce.computer/wiring-diagrams/m5stickc/sd-card-and-cc1101-nrf24/
I don't know what the error might be related to in your case, but just to help, I'll add what you should try:
Step 1: Return the NRF to normal mode, not shared SPI, and not legacy SPI. Step 2: Check if you have a startup WiFi, which can automatically turn on when turned on and use the WiFi module by limiting the second ADC pins (G26 and G25). Step 3: Test the NRF on a different ESP (NOT ON ARDUINO, THERE ARE 5 VOLTS AT THE OUTPUT, AND YOUR NRF WILL CERTAINLY BURN OUT). This will help you determine if it's burned out or defective. It's factory-installed, and it wasn't damaged by overheating or static electricity. Step 4: Provide the diagnostic data:
What type of NRF do you have, with an antenna or a compact one? What connection method do you use: jumpers, soldered module? Did you accidentally or carelessly connect it to a 5-volt power supply? Did it work before (were there any successful attempts, and your NRF worked)