Skip to content
eadmaster edited this page Aug 13, 2024 · 42 revisions

Setup

To use the CC1101 in Bruce, turn off your M5 device and connect the module following the pinouts listed in this page.

Turn on the device, then navigate to "Config->RF Module" and select "CC1101 on SPI" (pics here).

If the "CC1101 not found" error message appears, turn off the M5 device, recheck the wiring and try again.

If no error is shown, then the CC1101 is initted correctly, and you can use it in the RF menu.

For this module you can also set a custom frequency in the supported subranges: 300-348 MHZ, 387-464 MHZ and 779-928 MHZ. Setting an empty or invalid frequency will reset to the default 433.92 MHZ. This setting will only affect the receive and jamming features. Transmitting from a sub file will always use the frequency specified inside the file regardless of the user setting.

Connection pinouts

M5StickC Plus2 and 1 pinouts

same pinouts used in this project:

  • GDO0_PIN=25
  • SS_PIN=26 ; chip select. wrongly labelled as "CKN" in some boards
  • MOSI_PIN=32
  • SCK_PIN=0
  • MISO_PIN=33

Cardputer pinouts

Note: cardputer support is currently disabled due to this issue.

  • from the groove connector:
    • GDO0_PIN=GROVE_SDA
    • SS_PIN=GROVE_SCL ; chip select
  • from the microSD sniffer (shared with the SD card)
    • MOSI_PIN=14
    • SCK_PIN=40
    • MISO_PIN=39