firmware icon indicating copy to clipboard operation
firmware copied to clipboard

[Wiki] Cardputer ADV: add CC1101 + NRF24 dual-radio setup with brucePins.conf

Open pingequalab opened this issue 6 months ago • 2 comments

Hi Bruce maintainers,

The current CC1101 wiki page covers the original Cardputer well, but doesn't yet cover:

  1. Cardputer ADV (Stamp S3A variant) — the expansion connector is completely different from the original Cardputer (EXT 2.54-14P + H1/H2 instead of the microSD-style slot), so the existing pinout doesn't transfer.
  2. Dual-radio (CC1101 + NRF24 simultaneously on one shared SPI bus) with software-defined switching from inside Bruce — currently the wiki only mentions "compatible with NRF24 module also" in passing.
  3. brucePins.conf parameter mapping for both chips — not documented in the wiki today.

I've built and tested this setup and published a complete design reference (wiring tables, pin map diagram, brucePins.conf values, multimeter pre-power checks, troubleshooting):

→ https://github.com/pingequalab/cardputer-adv-cc1101-nrf24-auto-switch

I'd like to contribute this to the wiki. Two questions:

  • Edit policy: is the wiki open to community edits, or should I prepare a markdown patch for a maintainer to apply?
  • Scope: would you prefer this as a new section inside the existing CC1101 page (e.g. "Cardputer ADV — dual-radio setup"), or as a separate page (e.g. "Cardputer ADV dual-radio")?

Happy to format the content however works best for the wiki. Docs are MIT / hardware diagrams CC BY-SA 4.0, so license-compatible with the project.

Thanks for Bruce — this design wouldn't exist without it.

pingequalab avatar May 11 '26 09:05 pingequalab

hey brother, you can PR changes on the Wiki here

bmorcelli avatar Jul 23 '26 13:07 bmorcelli

Thanks — PR opened: BruceDevices/Wiki#15. Three one-line fixes only: the Adv page's H1 read "Cardputer", and the "M5Stack Cardputer Adv" entries on both the CC1101 and NRF24 module pages linked to the original Cardputer page instead of the Adv one.

One correction to my original post. I had been looking at the old GitHub-hosted wiki under /firmware/wiki/CC1101, not wiki.bruce.computer. The Adv page has been on the real wiki since January, so "the wiki doesn't cover Cardputer ADV" was simply wrong — apologies for the noise.

What does still look like a gap: the Adv page documents wiring one module, but nothing states that a CC1101 and an NRF24 cannot both be attached with the stock configuration. In boards/m5stack-cardputer/m5stack-cardputer.ini, CC1101_SS_PIN and NRF24_SS_PIN both resolve to G1, and CC1101_GDO0_PIN and NRF24_CE_PIN both to G2. Together with the page's line "the wiring is the same for an NRF24", I think a reader can reasonably conclude the two can be wired in parallel, and then lose an evening to it.

I have a tested arrangement that gives each chip its own CS on the EXT 2.54-14P header and switches between them from the menu with no reboot, along with the matching brucePins.conf values — brucePins.conf doesn't appear anywhere in the wiki yet. It's drafted in the style of the existing page: pin tables, config block, verification steps, no images for now.

Where would you prefer it?

  • appended to cardputer-adv/cc1101-nrf24.md as a "both radios at once" section, or
  • a separate page

And if only half of it is worth having, the default-pin-collision warning is the half that helps people regardless of whether they ever wire two modules — happy to submit just that.

pingequalab avatar Jul 24 '26 09:07 pingequalab