The safe bench-test firmware is built and packaged using the board’s actual 23-signal MCU mapping. I reviewed it and fixed a GNSS byte-loss problem before the final clean build. Compiled and host-tested does not mean hardware-tested: nothing has run on the physical board yet.
Included
SWD programming and RTT diagnostic commands—no USB console assumed.
Temperature, accelerometer, battery-voltage and power-status readings.
Read-only flash identification/status checks; no erase or write commands.
Buffered GNSS reception, checksum validation and stale-fix detection.
Explicit BLE advertising start/stop.
LoRa reset/status diagnostics only.
Charging remains disabled in hardware. There is no stimulation code, automatic LoRa transmission or flash erasure.
Follow the backup and APPROTECT inspection steps in the README before programming or resetting. Incorrect debug-protection settings can lock SWD access; no automatic recover or mass erase is included.
Use regulated 5.0 V, initially without a battery, and verify rails externally first. Through RTT channel 0, run:
Text
help
status
sensors
accel
vbat
flash
radio
Then opt into gnss-on and ble-start. GNSS remains powered and received continuously; gnss-on/off controls location printing only. BLE advertising is off at boot.
Build assumptions: address 0, no bootloader or SoftDevice, module 32 MHz crystal, calibrated internal low-frequency RC clock, and an 8-second watchdog. Reset pin P0.18 is not driven as GPIO. Timing and peripheral operation remain unmeasured on hardware.
Still incomplete
Controlled LoRa packet transmission is not implemented yet. The module’s oscillator-control voltage needs reliable confirmation, and regional frequency/power limits are unspecified. Destructive flash testing, precision PPS timing and BLE GATT diagnostics are also omitted from this first baseline.
Which country will you test in, and will the LoRa output connect to an antenna or a 50 Ω dummy load? I recommend a dummy load for the first transmit test.
I’ll use Canada and a 50 Ω dummy load as the test setup. I’ll check Canadian requirements and confirm the radio module’s oscillator settings, then add an explicitly armed, low-power single-packet test if those checks support it. Transmission will stay off at startup.
No firmware changed this turn. The existing v2 firmware still provides LoRa status diagnostics only—packet transmission remains unavailable.
Remaining work is to confirm the module’s oscillator settings, check Canadian radio requirements, and implement and build an explicitly armed, low-power single-packet test. Charging remains disabled.
Captured revision C0 — PRE-REVIEW status and actual connections
Read-only snapshot 23 October 2026: 84 components/56 nets; complete component properties and all 56 net memberships inspected. Below supersedes planning-only status and proposed assignments in P1, which is retained as history. Independent circuit reviewer is working in parallel; this is not a second ERC pass or build authorization. Parent reports twelve ERC findings pending; airwires expected. No simulation run, analytic screening only.
Captured: U1 MDBT50Q-1MV2 (VDD/VDDH on 3V3), U2 MAX-M10S (VCC/V_IO/V_BCKP on 3V3_GNSS), U3 E22-900M22S (3V3_LORA), U4 W25Q64JVSSIQ-TRAY, U8 LIS2DW12, U5 TMP117, U9 BQ25185, U6 TPS63802, L1 XFL4015-471MEC and U10/U11 TLV7021. RF J3/J4 U.FL; J1 S3B-PH-SM4-TB(LF)(SN) pack; J2 S2B-PH-SM4-TB(LF)(SN) PV/bench. Q3/Q4 DMG2305UX-7; Q1/Q2 2N7002KT1G; F1 0805L020YR, F2 0805L110WR; D1 SMF12A-M3-08; D2 BZT52C5V6S-7-F. Actual components do not establish full suitability. U1 manufacturer metadata incorrectly says TI: physical module is Raytac.
Actual U3 DIO2→TXEN local two-pin net, not MCU; RXEN has R21 100k pulldown. U8 CS=3V3, SA0=GND (intended I2C0x18); U5 ADD0=GND (0x48). Firmware must verify identities/address and reset/default state; GPIO wiring alone does not validate peripheral multiplexing. No firmware authored. P0.00/.01 reserved NC/internal RC LF clock; USB and NFC unused. GNSS branch includes backup, so R18 removal does NOT preserve GNSS backup state.
Charge topology directly read: 3V3→R7[DNP]→CHG_AUTH→R8 470k→CHG_PERMIT; R9 10M/C4 100nF to ground; CHG_PERMIT drives Q1 gate and is sunk by U10/U11 outputs or Q2. Q1 pulls CHG_CE_N low; R6 100k pulls it to SYS. CHG_VETO has R10 100k default high; MCU low removes veto only, never overrides hardware window. R28/R29/R30 ladder=768k/160k/75k. TS net connects J1 NTC, U9 TS, U10 minus and U11 plus. R7 DNP remains mandatory. Assumed 10k/B3435/1% cell NTC is unapproved; intended approximate 9–34°C window is unverified across bias sampling, offset, hysteresis, clamp, tolerance, startup and sensor faults. U10/U11 open-drain type verified. This is captured candidate protection, not a demonstrated fail-safe system.
Open review items: J1/J2 cold rating; Q3 voltage/clamp margin; off-board pack and NTC selection; D1 clamp waveform/F1 coordination and reverse battery behavior; U1 USB/VBUS/reference configuration, watchdog/brownout; U2 support-cap integration requirements; R18/R19 interface back-power; exact L1 saturation definition/derating; 52 generic passives; flash stock; safety-gate and power transient/thermal tests. D2 stored datasheet URL points to ISO certificate rather than valid part datasheet: correct/verify before release. U10/U11 Design Notes claiming guaranteed open/unpowered fail-safe behavior are NOT independently proven here. R1/R11 bias insulated MOSFET gates, not continuous VIN/R or VBAT/R drains; account actual leakage instead.
Architecture baseline P1 • 23 October 2026 • Planning only; no components or nets added. Status: signal architecture selected; power-safety detail gate remains open before complete schematic capture.
Scope and input precedence
Read existing feasibility-and-test-plan (00) and latest supplied attachment. Raw attachment mentions NFC/audio/stimulation; subsequent explicitly approved scope overrides those: omit all three in Rev A, no output placeholder hardware. GNSS local evaluation independent of links, BLE phone setup/offload, sub-GHz LoRa, motion/local and cell temperature/flash, rechargeable lithium plus solar interface. No schematic, PCB, enclosure, CAD or firmware authored.
Selected candidates, library feasibility and procurement
Stock observations from Flux distributor enrichment on 23 October 2026; indexed/live aggregator counts are snapshots, not reservations, authenticated supply or volume guarantees. Recheck quantity, price, suffix, lifecycle and lead time before procurement. Manufacturer names/function categories in library can be incorrect; check actual datasheet and footprint.
Alternatives examined: MDBT50Q-U1MV2 external BLE antenna (UID b49ba5ec-d022-4007-9cbe-d7d5e2318892; DigiKey 92); MAX-M10M-00B (017538c9-9b4a-44e3-9061-c26cdb1d5028; Mouser 314) requires distinct integration review. E22-900MM22S (b1972b5e-2996-4c0b-a554-d1f0e072bb48; LCSC 67) smaller option, not drop-in: pinout/TCXO/RF details not validated here. TPS631000DRLR (82bd69e8-2504-480c-ae7f-8f7a51b43bfc; LCSC 53912) alternative not yet datasheet-approved. W25Q512JVFIQ (bd3482e5-7386-4ca2-9879-4380e4bb3d56; LCSC 2906) found but oversized; do not substitute without new power/package review. No hard library absence established; exact 8-pin flash procurement is still a block-specific gap, not permission to create a generic IC.
Rejected: RFM95W-915S2: main module operating table specifies −20 to +70°C despite conflicting chip/+20-dBm section; cannot claim −40°C module rating. Evidence dsq_6ac95bbe13d78163b7ff ds12. BQ25185 first hybrid search missed; bounded fulltext retry found exact real part. No new part creation needed/authorized.
Evidence and topology constraints
MDBT50Q normal VDD accepts 1.7–3.6 V and −40 to +85°C; use normal 3V3 mode, not raw SYS/VDDH mode. It provides 48 GPIO and three 24-bit RTCs. Nominal module 15.5×10.5×2.05 mm. Evidence dsq_3a414e5139b1976f8897 ds1/ds6/ds7/ds2. nRF52840 watchdog/brownout query to https://infocenter.nordicsemi.com/pdf/nRF52840_PS_v1.7.pdf remains evidence_pending, not absent; verify before deciding no external supervisor. RTC is a counter, not independently trustworthy wall time.
MAX-M10S VCC 1.76–3.6 V; open VIO_SEL gives V_IO 2.7 V to VCC capped at 3.6 V, backup 1.65–3.6 V and −40 to +85°C. Both VCC and V_IO consume current: do not omit V_IO. Supply must deliver 100-mA startup inrush. Use common 3V3 for VCC/V_IO and initially backup; do not connect backup to raw battery. Retained backup versus total GNSS off is a measured tradeoff. Evidence dsq_78b51504e349208bbefe ds8/ds9/ds10/ds18.
E22-900M22S covers 850–930 MHz including Canada target band. −40 to +85°C, supply 1.8–3.7 V, recommended 3.3 V. 20×14×3 mm module. Module capability does not select LoRaWAN, grant Canadian certification or establish range. Keep raw SPI radio and application security to allow either MAC later.
LIS2DW12 supply 1.62–3.6 V and 50-nA typical power-down. −40 to +85°C. Do not equate power-down with wake-on-motion operation. INT2 sleep routing claim was not verified; select actual interrupt route from register evidence during capture. Evidence dsq_6e6069fee66b47c6a6a9.
TMP117 supply supports 3V3; temperature −55 to +150°C. It measures local temperature, not core animal temperature and not independently cell charge safety. Evidence dsq_7ba0bb1c6b8ea042b581.
W25Q64JVSSIQ has 64 Mbit capacity. Industrial −40 to +85°C and 3.0–3.6-V operation at highest specified clock range; select low-speed standard SPI. Evidence dsq_d1bf683e84a378d6bfe1 ds1/ds2. Library suffix -TRAY itself not defined by datasheet: verify orderable packing; physical footprint must match SS 208-mil SOIC, not arbitrary narrow SOIC.
Functional blocks and bus / pin budget
One 3V3 logic domain avoids level shifters. Provisional GPIO allocation, not final numbered pin assignment:
Table
Interface
MCU signals reserved
Count
Shared SPI radio/flash
SCK/MOSI/MISO + LoRa CS + flash CS
5
Radio control
BUSY/NRST/DIO1/RXEN; DIO2→TXEN module-local
4
GNSS UART/control
TX/RX/PPS/reset
4
I2C sensors
SCL/SDA + motion INT + temp alert optional
4
Power diagnostics
battery ADC / CE disable / STAT1 / STAT2
4
Debug/service
SWDIO/SWDCLK/reset; ground/VTref not GPIO
3
Test markers/spare
two state markers, two reserve
4
Total reservations
includes dedicated debug/reset conservatively
28
48 advertised GPIO is not permission to use every pin indiscriminately; exclude clock/NFC/USB/boot conflicts after module pin audit. No NFC antenna. Assign separate peripheral instances for shared SPI, UART and I2C in firmware configuration. Keep SPI mode/select states valid through reset and flash /WP,/HOLD pull-ups; confirm pin mapping before wiring. Reserve external 32.768-kHz crystal/clock option from module application guide for RTC drift, not invented loading values.
Radio module SPI MISO16/MOSI17/SCK18/NSS19; BUSY14, NRST15, DIO1 13, RXEN6, TXEN7, DIO2 8, ANT21. DIO2 may connect TXEN but must NOT also connect MCU I/O in that control arrangement. Set RXEN independently and enforce RX/TX interlock. Evidence dsq_101f6e61b7ffa7335e5d ds3/ds13; SX1262 driver TCXO/oscillator configuration still needs module-specific confirmation before RF bring-up.
I2C: provisional TMP117 ADD0=GND address 0x48, accelerometer selected address must be verified; TMP117 ADD0 supports GND/V+/SDA/SCL choices. GNSS UART avoids I2C address conflicts. Flash partitions proposal: 8 MiB total identity conversion, reserve 2 MiB signed firmware staging, three 64-KiB boundary slots, 4 MiB journaled history, remainder metadata/security/wear/free; actual image size/polygon count/retention still unmeasured and partition boundaries must align with erase geometry. At 44-B proposed records once/minute, 4 MiB holds ~66 days raw BEFORE overhead; not a promised retention or approved sampling rate.
Power tree and conservative interfaces
Text
PV+/PV− or mutually exclusive bench DC
-> polarity/reverse-current + transient/current protection (MPNs pending)
-> BQ25185 IN ; cell-bonded NTC -> autonomous TS
protected 1S pack P+/P− -> guarded polarity/reverse protection -> BAT
BQ25185 SYS -> removable current link -> TPS63802 -> 3V3
3V3 -> removable branches: BLE MCU | GNSS | LoRa | flash | sensors
Interface requirements, not sourced pack/panel properties: pack P+ referenced to P−, protected single Li-ion conventional 4.2-V class; electronics operating allocation 3.0–4.2 V, ≥0.5-A pulse capability at approved cold conditions. Require manufacturer charge-voltage tolerance permission, protection cutoff/recovery, approved continuous/pulse current, discharge temperatures, dimensions/mass and NTC bonding. No bare or primary cell, LTO or LiFePO4 substitution. Exact pack remains unselected.
PV+ referenced PV−: design envelope 4.5–5.5 V at charger input, ≤5.5-V cold open circuit, ≤100-mA short-circuit current, correct polarity; optional regulated 5-V bench input current-limited 100 mA and physically mutually exclusive with PV. No USB host/data/power negotiation assumed. Exact panel must demonstrate envelope across temperature/irradiance; protection drops affect weak-light harvesting. Guarded/polarized battery/PV connectors must be different or keyed and labelled; board connector/TVS/reverse-FET/fuse MPNs and thresholds remain capture prerequisites. Avoid arbitrary TVS whose clamp exceeds downstream limits. No off-board panel/cell part fabricated.
Set charger input 100 mA/4.2 V with 24-kΩ ILIM/VSET. Charge accuracy ±10% at VIN=5 V for ≥40-mA programming. Proposed ISET=7.50 kΩ 1% gives 40-mA nominal (300/R); upper screening 40×1.10/0.99=44.45 mA, below 50-mA design ceiling at cited conditions. Formula and setting factor 285/300/315 AΩ verified in source, but final resistor physical MPN and full VIN/T error analysis remain required. Do not interpret ≤50 mA as safe for any unidentified cell. Leave charge-enable default disabled and no enable jumper installed until exact pack/TS review.
SYS candidate is nominal 4.5 V for this battery setting (direct TI web source corroboration); its ±2% regulation at VIN=5 V/VBAT=3.6 V/100Ω gives 4.59 V upper screening, not a complete transient guarantee. TPS63802 recommended VIN 1.3–5.5 V; starts >1.8 V, nominal 0.47-µH effective inductor range 0.37–0.57 µH. Thus battery 3.0 V and regulated SYS 4.59 V have nominal headroom for a 3.3-V buck-boost, unlike an LDO. Regulator stated 2-A output at 3.3 V for input≥2.3 V exceeds 300-mA allocation. Full cold/current/thermal transient proof is not completed. Reference inductor XFL4015-471ME (5.4-A saturation, 7.6-mΩ DCR) is a cited candidate, not yet library/procurement validated. Specify real inductor, derated effective capacitance, compensation/feedback resistors and thermal copper from reference before capture closure.
Cold charging and independent fault policy
TS physically suspends charging including trickle on hot/cold faults. Source thresholds: cold entry 0.9575–1.0575 V, hot entry 0.105–0.125 V and current source 36.5–39.5 µA. Evidence dsq_de712fc78a3fda564458. Therefore exact NTC curve/tolerance and resistor network matter; a generic 10k substitute or board-only sensor cannot establish +5/+40°C safe charge limits. Open thermistor guaranteed inhibit was NOT established because floating TS clamp numeric guarantee unresolved. Do not claim fail-safe open detection.
Required resolution: select cell-bonded NTC and fail-safe hardware window/continuity gate to CE (or demonstrate manufacturer-guaranteed TS fault behavior), independent of MCU, power-up default disabled; account comparator/NTC tolerance, sensor detach/open/short, loss of sensor power and CE logic/back-power. Require charging only while physically sensed cell temperature is proven +5…+40°C or a narrower pack-approved range; hysteresis and tolerance may narrow it further. Digital TMP117 is monitoring only, never the sole charge gate. Power safety network cannot be captured as complete yet. Bench charging remains disabled; no −40°C charging claim.
Load budget: sourced typicals versus design allocations
All allocations below are engineering budgets at planned 3.3 V, NOT guaranteed maximum datasheet consumption. Sourced currents at 3.0 V must not silently become certified 3.3-V figures. Peak duration and duty cycle remain measurement inputs.
Table
Load
Sourced sleep/idle typical
Active source condition
3V3 design peak allocation
BLE MCU module
System ON RTC no RAM retention 1.5 µA at 3 V
TX-only 0 dBm/DC-DC 4.8 mA at 3 V, excludes all simultaneous CPU activity
Table15 at 3 V 1-Hz/25°C acquisition VCC up to 13 mA typical + VIO2.3 mA typical; tracking up to 10+2.3 mA depending constellation
100 mA startup
LoRa module
2 µA software shutdown
TX119 mA/RX6.8 mA typical, exact 3.3-V test conditions not explicit
150 mA
SPI flash
deep powerdown1 µA typ/15 µA max
50-MHz read8 mA typ/15 max; program/erase20 typ/25 max
25 mA
Accelerometer
powerdown50 nA typical, not motion-detect state
wake-on-motion operating current unresolved at selected ODR
1 mA
TMP117
shutdown0.15 µA typ/0.5 max at25°C bus inactive
conversion135 µA typ/220 max; 1-Hz/no averaging3.5 typ/5 max at25°C
1 mA
Pullups/ADC/status/spare
unresolved; no always-on LEDs
budget allowance
-
Peak allocation loads=30+100+150+25+1+1=307 mA: corrected design total is 350 mA including 43-mA housekeeping/transient margin, superseding the rounded 300-mA preliminary specification allocation. Design for simultaneous GNSS startup, radio TX, flash erase and BLE; do not depend on scheduling to avoid overload. At 3V3/350 mA/3.0-V minimum input/assumed 80% conversion efficiency, input=0.48125 A plus IQ/direct losses. Therefore minimum pack/path requirement is 0.6 A, connector/protection nominal current rating ≥0.9 A before temperature derating; these supersede preliminary 0.5-A figures. Use 1-A-rated or higher connectors subject to real datasheet/derating. Efficiency assumption is sizing model, not measured evidence. Regulator current capability comfortably exceeds allocation but reference inductor peak-current calculation and layout still mandatory.
Sleep input must sum currents directly: TPS63802 IQ11 µA typ at3.6 V/25°C/non-switching + charger4 µA typ/5 max only 0…85°C specified row + reflected electronics retention/NTC/window-gate/protection/connector leakage. Whole-tag motion-ready sleep not determined; do not total powerdown-only rows into a promised sleep number. Measured cold leakage, GNSS standby state, RAM retention and powerpath loss remain variables.
Daily battery Wh=Σ(3.3×I_state×t_state/3600/η_state)+direct powerpath/monitor energy; use state-specific measured η or battery-terminal traces, not 80% for microamp sleep. Cell capacity, acquisition/no-fix durations, TX power/airtime/retries, BLE offload time, logging/erase counts, radio receive schedule and accepted winter PV are unmeasured. No multi-year runtime result. At 5.5-V input and 100-mA current limit, worst linear input-path screening ≤0.55 W total input power, actual heat split requires reference thermal calculation and board test; do not authorize hot-enclosure operation from this bound alone. Weak solar cannot supply a 0.6-A battery peak: battery supplements or system must enter declared brownout fault.
Antennas and service
BLE module integrated chip antenna with vendor ground/edge/keepout requirements; no antenna keepout dimensions guessed. GNSS 50-ohm RF_IN integrates DC block. E22 ANT21 is 50-ohm stamp interface. Provision separate GNSS and sub-GHz controlled-impedance launches, matching/test option and coax service connections chosen from real connector datasheets during capture. Initially passive GNSS antenna avoids unbudgeted active bias; if active antenna needed, add bias/filter/current allocation after approval. Exact radiators, protection capacitance, separation/ground-plane and tissue/PV detuning are unvalidated, no range promise. Do not transmit without load or certified/legal test configuration. BLE and LoRa simultaneous emissions/exposure require host lab review.
SWD/service pads: SWDIO, SWDCLK, nRESET, GND, VTref plus UART diagnostics/state markers. Removable zero-ohm links for battery/SYS and high-load rail current measurement with bypassable low-burden instrumentation; no permanent high-value shunt that compromises cold headroom. Provide battery/SYS/3V3/charge-status test access and measure charge current with inhibited versus enabled hardware fault states.
Risk gate and disposition before commitment
Searched available inspect tool resources specifically for query_smart_friend: returned zero tools. Standard smart-friend review unavailable; it was NOT performed. No fictitious review/pass. Internal evidence-led review completed once before writing this plan:
Error corrected: RFM95 module cold rating unsuitable; changed to E22-900M22S.
Error corrected: preliminary 300-mA sum understated simultaneous allocation; 350 mA rail, 0.6-A battery/path requirement now controlling.
Warning: charger SYS must never directly feed 3V3 parts; buck-boost resolves static headroom, transient/UVLO tests pending.
Warning: library metadata incorrectly calls Raytac TI, TMP117 through-hole, other IC functions logic/AND; do not trust metadata as footprint/pin truth.
Warning: full 60-g fit, antennas, cold cell discharge, winter harvest and runtime cannot be established from IC temperature ratings.
Info: hardware raw SPI LoRa leaves MAC open; certification cannot be inherited merely from LoRa capability or BLE module.
Capture handoff gates and assigned-item status
Completed: approved-scope/prior-record read; concrete signal/radio/power topology candidates; library searches with bounded fallback; authoritative sourced operating limits and evidence handles; proposed buses, rail sizing and protected interface envelopes; specification and capture-plan records; precommit internal risk corrections and explicit external-review unavailability.
Failed/unavailable: requested query_smart_friend standard review (tool not exposed); exact flash stock verification; fully fail-safe NTC network/open-sensor guarantee and nRF watchdog/brownout evidence (indexing pending). These are not ERC errors in a circuit because no circuit exists.
Unattempted by scope: schematic capture/wires/components, enclosure/layout/routing, new parts, CAD/firmware, bench/field tests and actual certification. Overall hardware not completed.
Next safe capture can start only in independently supported signal blocks after lead approval; complete power capture must first resolve (1) cell-NTC MPN/curve and fail-safe hardware inhibit including open/short/detach, (2) battery/PV connector/reverse/overcurrent/transient MPNs and voltage-drop/current tolerance, (3) real inductor/caps/feedback reference BOM and transient/thermal proof, (4) exact stocked flash orderable suffix/footprint, (5) MCU watchdog/brownout evidence and final pin/peripheral map. Pack/PV physical selection and mechanical geometry block assembled/charging/animal validation, not research on independent signals. No owner input required to make these reversible engineering selections, but exact pack approval remains mandatory before charging.
Evidence handles for follow-on capture queries
Reuse result_id plus citation_key through query_datasheet evidence mode: regulator dsq_720e9a5d742f3369b15f ds1/ds5/ds7/ds9/ds11; GNSS dsq_78b51504e349208bbefe ds8/ds18/ds14; BLE module dsq_3a414e5139b1976f8897 ds1/ds6/ds7/ds8/ds9; E22 dsq_101f6e61b7ffa7335e5d ds1/ds5/ds6/ds3/ds13; flash dsq_d1bf683e84a378d6bfe1 ds1/ds2/ds3; accel dsq_6e6069fee66b47c6a6a9 ds6/ds7/ds11; temperature dsq_7ba0bb1c6b8ea042b581 ds1/ds5/ds8/ds12; charger dsq_c44713fb0b74968671e0 ds1/ds2/ds3, dsq_3843401b13f556a7c81f ds1/ds2 and dsq_de712fc78a3fda564458 ds3/ds6/ds9. Claims marked pending/unverified require new evidence, not these handles.
Captured revision C0 — PRE-REVIEW status and actual connections
Scope and input precedence
Selected candidates, library feasibility and procurement
Evidence and topology constraints
Functional blocks and bus / pin budget
Power tree and conservative interfaces
Cold charging and independent fault policy
Load budget: sourced typicals versus design allocations