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

How should I set my ''heap'' and ''stack'' size

Posted on November 03, 2017 at 18:04After compiling the codes, my code size is:Program Size: Code=20140 RO-data=316 RW-data=540 ZI-data=2412 Based on this information, how should I set my 'heap' and 'stack' size? My first question is the 'heap' and ...

Vu.Andy by Associate III
  • 4584 Views
  • 7 replies
  • 0 kudos

ADC Vref?

Posted on May 05, 2018 at 11:02Hi,I beginner in stm32 i am using stm32l071 adc channel 9 what is vref ?vref is Vdda i am connect vdda as 2.5v this is internally connected to vref yes or not?can i enable vref by software(in code)?Sampling time variat...

Rewrite on a flash memory

Posted on May 07, 2018 at 14:33Hello, I am currently a French student placement and I program card NUCLEO-144 STM32F767ZI. I have some problems on the flash memory. I can write to the flash memory, read from the flash memory and erase a sector of th...

[STM32L0] LPTimer failing to start after a while.

Posted on May 06, 2018 at 14:36Hi all.I've run into some problems with the LPTimer and hope that maybe you can point me the right direction so I can find a fix.Some context first:-I have an RTC Alarm interrupt triggering once a second.-Inside the RT...

ADC sample rate

Posted on May 04, 2018 at 07:47Hi all,I have seven adc channels to convert using STM32F051. I set the ADC to be triggered by timer 15. I also setup DMA to put all the converted results to a memory buffer and have a Transfer complete interrupt set. H...

STM32F030 global buffer getting corrupted

Posted on May 05, 2018 at 16:50Hi All.I am using STM32F030 as my development platform. I have a RF module connected to UART2.The uart is operating at 9600, UART_RX is configured as interrupt. Things work fine, but sometimes a global buffer defined a...

Why Initial SP value do we need?

Posted on October 19, 2017 at 17:30Hi,I have some question about the relationship which is purpose of Initial SP 0x0000 and Reset 0x004 vector and Flash memory address.For example, let's assume that  I made one simple firmware and its size is 0x1000...

0690X00000608ieQAA.png 0690X00000608WpQAI.png

STM32L031x6 custom bootloader

Posted on March 27, 2018 at 16:07Hello!  I manage to write a custom boot loader in STM32L031E6 using I2C interface.  To do so, it requires the MCU to provide at least the following features:1. Reallocation of vector table2. API functions for interna...

Question about linker script

Posted on May 06, 2018 at 06:03Hello,I am trying to write a firmware upgrade and bootloader module for a hobby project of mine. I am using a STM32L4 chip.The bootloader is a customer bootloader residing in the first bank taking about 10 pages of fla...