0.2.0: USB-C and the header share a port, and a real 9704 on the Stamp-C3

The 9704's USB-C goes through an FTDI chip to the modem's UART, on the
same lines as the header. With the cable plugged in, that chip drives
the modem's RX: a board on the header hears the modem but cannot reach
it, and the computer on USB gets no answer either. Unplug the USB-C and
power the 9704 from the header. The README says so beside the overlay
example, and docs/CLOUDLOOP.md lists it under "When begin fails".

The M5Stamp-C3 is the first microcontroller to run against a real 9704:
TX and RX only, the modem powered from the Stamp's 5 V pin. begin, info
and signal all answer, with nothing dropped. docs/boards/stamp_c3.md
has the power section and what has run.

no-control-pins.overlay takes P_EN, I_EN and I_BTD out of any board's
overlay at build time, for a modem on four wires. The modem node is
labelled rb9704 in every overlay so it can.

The module, the sample and the Python tools are 0.2.0.
This commit is contained in:
scottp committed 2026-10-25 16:02:45 +11:00
1 parent d08364ce58
commit 4f5834a467
16 files changed
+97 -22

No files matched your search

+8 -1
View File
@@ -18,7 +18,11 @@ have not been tried yet.
- **Its USB-C port.** An FTDI FT234XD (USB id `0403:6015`) bridges it to
the modem's UART, and the port also powers the board. It needs a port
that supplies 500 mA at 4.0 to 5.3 V; an unpowered hub is not supported.
The supercapacitor takes about 40 s to charge from USB. LEDs: red PWR is
The supercapacitor takes about 40 s to charge from USB. The FTDI is on
the same UART lines as the 10-way header, so with USB-C plugged in a
microcontroller on the header can hear the modem but not reach it; a
board on the header powers the 9704 from the header, with USB-C
unplugged (`boards/stamp_c3.md`). LEDs: red PWR is
input voltage present, green RDY is the modem powered and booted, blue
XMT is transmitting.
- **The library.** Ground Control's C library (MIT) is what this
@@ -184,6 +188,9 @@ version, SIM, operational state). In order of likelihood:
blocks it. The `--udev` rule stops the first.
- **Not in `dialout`.** `install.sh` checks; `sudo usermod -aG dialout
$USER` and log in again.
- **USB-C and the header at once.** A board on the header with the
USB-C cable plugged in: the FTDI drives the modem's RX, and neither side
gets an answer. Unplug one.
- **Not booted.** No green RDY: the port gives too little current (a hub,
a front-panel port), or the supercapacitor is still charging.
- **Something odd.** `rb9704 jspr --setup 'GET hwInfo {}'