Martin Boissonneault
666949fae4
rak4631: let the serial GPS switch the WB_IO2 rail (opt-in)
...
On a RAK19007 the RAK12501's supply is 3V3_S, switched by WB_IO2, so
gps off, periodic mode and shutdown left it powered. Pass WB_IO2 to the
NMEA driver as peripheralPower under GPS_RAIL_POWER_CONTROL, set by the
new RAK_4631_repeater_gps_power env. It is opt-in because the rail feeds
every slot module, and refused with ETHERNET_ENABLED (RAK13800).
The RAK12500 (I2C) driver keeps switching its own power pin, so this
only applies on the NMEA path.
RefCountedDigitalPin now sets OUTPUT on claim and release: WB_IO2 left
as an input (as probeRak12500() leaves it after a failed probe) keeps
3V3_S in its last state, so writing the latch alone did not cut it.
Measured with a KM003C, battery and panel out: gps off 40.5 -> 12.4 mA,
shutdown 29.7 -> 1.30 mA.
2026-11-08 08:47:35 -04:00
..
2026-07-28 03:45:02 +12:00
2026-11-08 08:47:34 -04:00
2026-11-08 08:47:34 -04:00
2026-11-08 08:47:34 -04:00
2026-09-15 22:59:09 +02:00
2026-05-01 14:47:07 +10:00
2026-05-01 14:47:07 +10:00
2026-09-23 15:04:51 +12:00
2026-07-28 03:45:02 +12:00
2026-07-05 23:47:27 +07:00
2026-11-08 08:47:34 -04:00
2026-11-08 08:47:34 -04:00
2026-11-08 08:47:34 -04:00
2026-11-08 08:47:34 -04:00
2026-11-08 08:47:34 -04:00
2026-07-28 03:45:02 +12:00
2026-11-08 08:47:34 -04:00
2026-11-08 08:47:34 -04:00
2026-11-08 08:47:34 -04:00
2026-09-08 22:54:50 +12:00
2026-11-08 08:47:34 -04:00
2026-11-08 08:47:34 -04:00
2026-11-08 08:47:34 -04:00
2026-10-15 09:57:31 +02:00
2026-07-28 03:45:02 +12:00
2026-07-28 03:45:02 +12:00
2026-07-28 03:45:02 +12:00
2026-11-08 08:47:34 -04:00
2026-07-28 03:45:02 +12:00
2026-07-28 03:45:02 +12:00
2026-11-08 08:47:34 -04:00
2026-11-08 08:47:34 -04:00
2026-11-08 08:47:34 -04:00
2026-11-08 08:47:34 -04:00
2026-11-08 08:47:34 -04:00
2026-11-08 08:47:34 -04:00
2026-11-08 08:47:34 -04:00
2026-11-08 08:47:34 -04:00
2026-11-08 08:47:34 -04:00
2026-08-09 14:17:18 +02:00
2026-05-01 14:47:07 +10:00
2026-09-08 22:54:50 +12:00
2026-08-01 22:20:20 -07:00
2026-08-13 00:15:34 +10:00
2026-11-08 08:47:34 -04:00
2026-11-08 08:47:34 -04:00
2026-10-06 18:50:15 +02:00
2026-11-08 08:47:34 -04:00
2026-11-08 08:47:34 -04:00
2026-11-08 08:47:34 -04:00
2026-11-08 08:47:34 -04:00
2026-11-08 08:47:34 -04:00
2026-09-08 22:54:50 +12:00
2026-09-08 22:54:50 +12:00
2026-11-08 08:47:34 -04:00
2026-07-28 03:45:02 +12:00
2026-11-08 08:47:34 -04:00
2026-11-08 08:47:34 -04:00
2026-11-08 08:47:35 -04:00
2026-09-26 14:07:28 +02:00
2026-11-08 08:47:34 -04:00
2026-09-08 22:54:50 +12:00
2026-11-08 08:47:34 -04:00
2026-11-08 08:47:34 -04:00
2026-11-08 08:47:34 -04:00
2026-11-08 08:47:34 -04:00
2026-11-08 08:47:34 -04:00
2026-07-06 12:04:42 -04:00
2026-11-08 08:47:34 -04:00
2026-09-08 22:54:50 +12:00
2026-11-08 08:47:34 -04:00
2026-11-08 08:47:34 -04:00
2026-11-08 08:47:34 -04:00
2026-11-08 08:47:34 -04:00
2026-11-08 08:47:34 -04:00
2026-11-08 08:47:34 -04:00
2026-11-08 08:47:34 -04:00
2026-07-28 03:45:02 +12:00
2026-10-11 20:51:18 -07:00
2026-08-24 01:50:22 +10:00
2026-05-01 14:47:07 +10:00
2026-07-28 03:45:02 +12:00
2026-07-28 03:45:02 +12:00
2026-11-08 08:47:34 -04:00
2026-11-08 08:47:34 -04:00
2026-04-28 15:09:25 +02:00
2026-11-08 08:47:34 -04:00
2026-05-16 09:30:49 +07:00
2026-09-15 22:59:09 +02:00
2026-08-24 01:50:22 +10:00
2026-10-15 09:57:31 +02:00
2026-10-15 09:57:31 +02:00