Fehler #327
Power consumption too high
Beginn:
05.12.2022
Abgabedatum:
% erledigt:
0%
Geschätzter Aufwand:
CS Zielversion:
Beschreibung
As recognized in #326, the device draws way too much current.
With disconnected debug adapter the PCB still draws 3,5mA in standby mode.
Flash and temperature sensor have been removed without big change.
300/3,5/24=3,5
Adapter
3 x Pinsocket; Device, Multimeter, Power in
1 x mechanical switch (MM Shortcut, open)
1 x mechanical switch, (5V, 3V, Shortcut, direct)
STM32L151C6U6A hier. "DS:Link
185 μA/MHz; max 32Mhz; 5,9mA
Direct measuring without STN01
- Solder a wire to the 3V0 VDD line; see which current gets drawn.
- Same issue
Software
Thu Pullup/pull-down seems to be kept in standby.
Ok, but it would draw 60µA.
RCC_APB1PeriphClockCmd(RCC_APB1Periph_PWR, ENABLE);
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AN;
GPIO_InitStructure.GPIO_OType = GPIO_OType_PP;
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_Level_3;
GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_NOPULL;
Doesnt help.
3,5mA sounds fishy to 1K Ohm.
Nearly completely disabssembled the board. A new (partly) setup does not have this issue.
Historie
Von Maximilian Seesslen vor etwa 2 Jahren aktualisiert
- Beschreibung aktualisiert (diff)
- Zielversion wurde auf v0.2.x gesetzt