STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Hardfault in __libc_init_array with STM32L072

Hi,I'm working on a STM32L072 project, with an environment composed of arm-none-eabi-gcc compiler version 10-2020-q4, make and Eclipse IDE.I'm having trouble with a hardfault occuring in libc_init_array function call in startup file. Using disassemb...

0693W000006Hx7xQAC.png 0693W000006HxLGQA0.png
OCout.1 by Associate II
  • 6724 Views
  • 6 replies
  • 0 kudos

STM32F103 Reduce VBAT Current

My datasheet (STM32F103VC) states the Vbat current draw is 1.4uA. Is there a way to reduce this? I only need the backup domain for RTC/LSE. I know there are many backup registers as well. Could I turn these off to reduce current draw?

nmamore by Associate II
  • 1230 Views
  • 4 replies
  • 0 kudos

Hello. I modified the .ld file with the aim to include another .ld file using INCLUDE "..\Mem_aux\MEM_0.ld", but at the beginning it's works, but when I modified the second file the changes didn't modify the memory layout.

There are any way to each time that I build the project, the changes made at the second linker script will be done? The main linker script is STM32F746ZGTX_FLASH.ld, and the other is called MEM_0.ld, and it's in another folder inside the project. Tha...

RExpo.1 by Associate
  • 1183 Views
  • 3 replies
  • 0 kudos

STM32H7 · Coding within HAL ISR inserts delay

Hello, all. First of all, thank you for taking your time for reading this and helping me out.I am using STM32H743ZI Nucleo board, preparing the project for a power electronics application. Before any control algorithm I'm checking that the Interrupt ...

0693W00000CzcQ7QAJ.png 0693W00000CzcRFQAZ.png
Yvo by Associate II
  • 732 Views
  • 3 replies
  • 0 kudos

Resolved! Do GPIO pins configured as digital inputs latch incoming data?

I've looked in many places and haven't found a definitive answer yet. The reference manual simply states that reading the GPIO port input register returns the value of the associated pins. Does that mean that an external device has to be driving th...

John W. by Associate II
  • 1144 Views
  • 3 replies
  • 0 kudos

STM32L031, VREFINT error depending on prior channel voltage.

I am using a STM32L031 on a Nucleo board to sample analog inputs and VREFINT. When I sample the VREFINT voltage after another channel I observe some error that changes depending on the voltage on that previous channel. I assuming that charge is being...

DJack.8 by Associate II
  • 852 Views
  • 3 replies
  • 0 kudos

Resolved! Does it exist any SPL library for stm32f7 or not? and how can I switch to stm32f7 without using HAL library?

I have a project on stm32f4 with SPL library(standard peripheral library), so I want to switch to stm32f7 mcu and now i want to know is there any SPL library for stm32f7. i couldn't switch to hal library so is stm has any life time code for it or not...

HMogh by Associate
  • 821 Views
  • 2 replies
  • 0 kudos