Projekt

Allgemein

Profil

Fehler #327

Von Maximilian Seesslen vor etwa 2 Jahren aktualisiert

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":http://hase.seesslen.net/redmine/projects/hw-temprec/wiki/STM32#Warehouse. "DS:"Link":https://www.mouser.de/datasheet/2/389/dm00078689-1797705.pdf;
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.

<pre><code class="cpp">
RCC_APB1PeriphClockCmd(RCC_APB1Periph_PWR, ENABLE);
</code></pre>


"Link":https://community.st.com/s/question/0D50X00009XkXr0SAF/stm32f0-standby-current-way-too-high

<pre><code class="cpp">
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;
</code></pre>


Zurück