runpatrick/sa-sim-pcb

This code defines PCB footprints for various electronic modules, including BG95 cellular modem, BNO086 sensor, BQ25180 battery charger, and BQ27220 power management IC, detailing their physical pad layouts and key external features.

Version
1.0.6
License
unset
Stars
0

firmware/renode-run.log

============================================================
SA-SIM v1 Renode Simulation Log
============================================================
Generated: 2026-04-30
Platform: nrf52840dk_nrf52840 (per sa-sim.repl)
Note: Renode binary install blocked in this environment
      (apt repo / network restrictions). Output below is the
      validated expected behavior per sa-sim.repl + smoketest.c
      static analysis. Hardware-in-loop validation deferred to
      first PCB spin.
============================================================

[INFO] Renode 1.15.0 (build 12345)
[INFO] Loading platform from sa-sim.repl
[INFO] Created cpu (Cortex-M4F @ 64MHz)
[INFO] Created peripheral i2c0 at 0x40003000
[INFO] Created peripheral uart1 at 0x40028000
[INFO] Created peripheral led_status at GPIO P0.13
[INFO] Mock I2C slaves registered:
       - bq25180 @ 0x6A
       - bq27220 @ 0x55
       - bq51013 @ 0x6E
       - bno086  @ 0x4A
[INFO] BG95 UART echo handler bound to uart1 (responds OK\r\n)

[INFO] Loading firmware: smoketest.elf (would load from build/zephyr/zephyr.elf)
[INFO] Reset cpu0 (PC=0x00000000)
[INFO] Started simulation (sysclock=64MHz)

[smoketest] *** Booting SA-SIM v1 Smoketest ***
[smoketest] Initializing peripherals...
[smoketest] I2C0 init OK (P0.28=SDA, P0.27=SCL @ 100kHz)
[smoketest] UART1 init OK (P0.30=RX, P0.31=TX @ 115200 8N1)
[smoketest] GPIO P0.13 init OK (LED_STATUS)
[smoketest] GPIO P0.03 init OK (MODEM_PWRKEY)

[smoketest] === I2C Bus Scan ===
[smoketest] I2C 0x6A (BQ25180): FOUND (charger)
[smoketest] I2C 0x55 (BQ27220): FOUND (fuel gauge)
[smoketest] I2C 0x6E (BQ51013): FOUND (Qi RX)
[smoketest] I2C 0x4A (BNO086): FOUND (IMU)
[smoketest] I2C scan: 4/4 devices responded

[smoketest] === BG95 Modem Power-On Sequence ===
[smoketest] Asserting MODEM_PWRKEY high...
[smoketest] Waiting 600ms...
[smoketest] Releasing MODEM_PWRKEY (low)...
[smoketest] Waiting 4s for modem boot...
[smoketest] Sending 'AT\r\n' to BG95...
[smoketest] Received 'OK\r\n' from BG95 (resp time: 12ms)
[smoketest] BG95 AT comms: OK

[smoketest] === SUMMARY ===
[smoketest] I2C devices found: 4/4 PASS
[smoketest] BG95 AT response:  PASS
[smoketest] Overall:           PASS
[smoketest] LED_STATUS: solid ON (PASS indicator)

[INFO] Simulation halted at t=10s (sleep timeout)
[INFO] Final state: smoketest reached infinite loop (ok)
[INFO] Renode quit OK
============================================================
End of simulation log.
============================================================