0.3.0: provisioning and messages to Cloudloop work, and P_EN is active low

The M5Stamp-C3 under open sky, driven over WiFi from its shell, found
the modem provisioned with topics 244 and 313 to 317 and sent two
messages on topic 244, 16 and 17 bytes. Each was with the network 6 to
10 s after the modem took it, and both arrived in Cloudloop whole.
docs/CLOUDLOOP.md, "What has run", records how Cloudloop shows one: the
same bytes in Base64 and in hex.

P_EN is the RockBLOCK's supercapacitor charge enable, header pin 6, and
it is active low. The sample's overlays had it GPIO_ACTIVE_HIGH, so every
begin switched the charger off: the modem ran down and went silent 2 to
5 minutes later, four times indoors and out. The overlays, the README
and the binding now say GPIO_ACTIVE_LOW. With P_EN wired again on the
new firmware the modem stayed up past every earlier drop and sent the
second message.

The control pins follow Ground Control's start-up and shutdown
sequence. I_EN starts and stops the modem and is what makes the pins
present (CONFIG_RB9704_POWER follows iridium-enable-gpios); P_EN and
I_BTD are optional beside it. Shutdown drives I_EN low and waits for
I_BTD to go low before anything else, as start-up waits for it to go
high, so I_EN never moves back before I_BTD has followed. P_EN is driven
only while the modem runs and released to an input while it is off.

docs/boards/stamp_c3.md has the header's pin numbers, V_IN+ against
V_BATT, and P_EN as the cause of the drops. The module, the sample and
the Python tools are 0.3.0.
This commit is contained in:
scottp committed 2026-10-25 22:48:11 +11:00
1 parent 0cda7335d6
commit a70e933b71
17 files changed
+265 -140

No files matched your search

+26 -1
View File
@@ -1,6 +1,31 @@
# Changes
## Unreleased
## 0.3.0, 2026-10-25
- Provisioning and MO messages to Cloudloop work: the M5Stamp-C3 under
open sky, provisioned with topics 244 and 313 to 317, sent two
messages on topic 244 from its shell over WiFi, 16 and 17 bytes, and
both arrived in Cloudloop whole. The second ran on the reworked
control pins below, with P_EN wired and active low, and the modem
stayed up past every earlier drop. `docs/CLOUDLOOP.md`, "What has
run", records how Cloudloop shows a message.
- P_EN is active low. On the RockBLOCK it is the supercapacitor charge
enable ("Cap Charge Enable Signal (ACTIVE LOW)", header pin 6), and the
sample's overlays had it `GPIO_ACTIVE_HIGH`, so every `begin` switched
the charger off: the modem ran down and went silent 2 to 5 minutes
later, as it did on the M5Stamp-C3 indoors and out. The overlays, the
README and the binding now say `GPIO_ACTIVE_LOW`, and the module drives
P_EN only while the modem runs, releasing it to an input while it is
off, where the board's pull-down keeps the charger on.
- The control pins follow Ground Control's start-up and shutdown
sequence. I_EN starts and stops the modem, and is what makes the pins
present (`CONFIG_RB9704_POWER` follows `iridium-enable-gpios`); P_EN
and I_BTD are optional beside it. Shutdown drives I_EN low and waits
for I_BTD to go low before anything else, as start-up waits for it to
go high, so I_EN never moves back before I_BTD has followed, which the
page warns may damage the module. Before, `power off` dropped the pins
and returned at once.
- The modem's UART is listened to from boot, not only while the library
is open. With the power pins wired, `rb9704 power on` or a modem left