ESP32 Bit Pirate home
  • SubGHz
  • Advanced
  • 10 min
  • Raw CDC

Recipe · Advanced · SubGHz

How to use the SubGHz Raw CDC adapter

The adapter wiki describes a SubGHz Raw CDC mode: a firmware-specific ASCII protocol over USB CDC to tune CC1101, start/stop raw reception, measure RSSI and transmit raw OOK timings.

CC1101 sub-GHz radio signal workflow.
This is the scriptable CC1101 path, not a clone of an existing desktop adapter protocol.

Wiring View

CC1101 BP adapter CSNCS GPIOSCKSCK GPIOMISOMISO GPIOMOSIMOSI GPIOGDO0data GPIOVCC3.3VGNDGND
Generated from the wiring summary: CC1101 to BP adapter.
Step 1

Workflow

  1. Configure the CC1101 pins and enter SubGHz Raw CDC adapter mode.
  2. Open the exposed USB CDC serial port from a terminal, Python script or custom tool.
  3. Start with receive/RSSI experiments before any transmit operation.
  4. Keep frequency, duty cycle and output power within local rules.

Result

What success looks like

Your host script can tune the radio, observe RSSI or receive raw OOK timing frames through the serial port.

Troubleshooting

  • Wrong CC1101 SPI or GDO0 pin selected during adapter setup.
  • CC1101 powered at 5V instead of 3.3V.
  • Wrong frequency band for the module or region.
  • Trying to decode Wi-Fi/BLE with CC1101; use the correct radio for the target band.

Next steps

  • Use normal SubGHz mode scan and receive first to validate the module.
  • Build a Python logger around the Raw CDC serial port.
  • Use LittleFS .sub workflows when replaying supported files from the firmware UI.

SubGHz Raw CDC adapter FAQ

What is the SubGHz Raw CDC adapter for?

It exposes the CC1101 over USB CDC with a small ASCII protocol for tuning frequency, enabling raw RX, reading RSSI and transmitting raw OOK timing sequences.

Why does this adapter not work with a standard desktop radio tool?

It is firmware-specific rather than an emulation of a common desktop protocol. Use a serial terminal, pyserial script or custom host tool that speaks its ASCII commands.

Which signals are suitable for Raw CDC experiments?

Use simple authorized OOK or raw Sub-GHz lab signals where timing matters more than high-level decoding. It is not intended for Wi-Fi, BLE or unrelated 2.4 GHz protocols.

Go deeper