Repeater, room server, sensor, companion: avoid nRF52840 SPIM3 Errata 195 idle current draw
This commit is contained in:
1 parent
b5ae48e2e4
commit
2593015f4a
2 files changed
+6
No files matched your search
@@ -232,6 +232,11 @@ unnecessary idle draw that affect all nRF52 boards (not only SenseCAP Solar):
|
||||
before `Bluefruit.begin()`, which enables SoftDevice S140 (defaulting
|
||||
`NRF_POWER` to LDO). `NRF52BoardDCDC::onBootComplete()` now re-enables DC/DC
|
||||
via `sd_power_dcdc_mode_set(NRF_POWER_DCDC_ENABLE)` once SoftDevice is active.
|
||||
- **Avoid `NRF_SPIM3` (Nordic Errata 195)**: `[nrf52_base]` now sets
|
||||
`-D SPI_32MHZ_INTERFACE=1`, moving the primary `SPI` bus (used by SX1262 at
|
||||
2 MHz) from `NRF_SPIM3` to `NRF_SPIM2`. Adafruit `SPIClass::endTransaction()`
|
||||
disables `SPIM3` without the Errata 195 workaround, leaving ~1.2-2 mA idle
|
||||
draw after the first SPI transaction.
|
||||
|
||||
## Measuring this yourself — two traps
|
||||
|
||||
|
||||
Reference in new issue
Block a user