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

Hi! I use STM32L051 RTC and twice during three days at +55 deg.C I have incorrect reading of time. For a 1 minute RTC counts 3599.87 s, at next minute all works as should be - 1 min after spending 1 min. Sometimes I get 62.7 s by 1 minute. Thanks.

// in 1/32768 parts of second, 1 hour (3600*32768) max. uint32_t cRTC::getCurrentTime32768(){ volatile uint32_t time = 0; volatile uint16_t takenTime = 0; volatile uint16_t takenSSR; volatile uint16_t dummy;   //reading either RTC_SSR or RTC_TR ...

MZubk by Associate
  • 937 Views
  • 3 replies
  • 0 kudos

ADC outputs 3.5volt!

hey thereI have a STM32f030C8t6 which I wish to read 2 Analog values by it. I use ADC DMA for this. but as soon as I use commandHAL_ADC_Start_DMA(&hadc,(uint32_t *)ADC_SEN,2); //Starting ADC1I can see my ADC pins' volt are as high as 3.5volts!why is...

Ala by Senior
  • 1868 Views
  • 11 replies
  • 0 kudos

Resolved! Timer 2 clocks timer 5 in Nucleo L476RG

Hello,I would like to make timer 2 compare event in channel 1 to clock timer 5. Timer 2 compare events also sends DMA request and timer 5 is also used to output a PWM waveform. Here you can find the Init function that I wrote and the main code. At th...

Tommino by Senior
  • 802 Views
  • 1 replies
  • 0 kudos

Can't write option byte in STM32G030

We are developing a custom board with STM32G030 and we intend to update its program through its uart with system bootloader. However, I'm unable to properly configure the option byte. The HAL_FLASHEx_OBProgram always returns HAL_ERROR or HAL_TIMEOUT....

LScha.3 by Associate II
  • 1200 Views
  • 4 replies
  • 0 kudos

Resolved! STM32L011 how to reach 1uA in standby mode?

Hello. I have been getting familiar with the STM32L011F4P6 chip. I am using a 20-pin chip soldered onto a board as my test device. I am using a Nucleo-f429zi as the programming/debug device. I have made the necessary changes and am using the SWD head...

AW.3 by Associate II
  • 2052 Views
  • 6 replies
  • 0 kudos

MCU with IO bandwidth of 150Mhz or more

Hi All,He have an application that requires fast IO's switching. More specifically, we have a 16bit 200Msps parallel DAC and we are targeting to load a waveform from either flash memory or external memory and output the bits for the DAC. Using an FPG...

VVarg.1 by Associate II
  • 1232 Views
  • 4 replies
  • 0 kudos

Serial routine fails for some reason

STM32F429ZIT6 - NucleoI am doing some tests with this board, it reads Encoder input in x4 mode, generates TRGO to ITR1 slave TIM1 in One pulse mode when it reaches TIM2->CCR3 value and updates Encoder counts and number of triggers every 15 seconds on...

DPatr.2 by Associate III
  • 492 Views
  • 2 replies
  • 0 kudos

I'm following this tutorial: https://www.youtube.com/watch?v=WgsXMVZfoO8&list=PLnMKNibPkDnG9JRe2fbOOpVpWY7E4WbJ-&index=7&ab_channel=STMicroelectronics And my boar cannot conect to mi phone.

The connection green led indicator doesn't twinkle, it is alway on and I can't see the nucleo in the ST BLE Sensor app. I suppose that the problem is with the CPU 2. I was debugging the code and it nevers reaches the function APPD_EnableCPU2( ); beca...

PGarg.1 by Associate II
  • 800 Views
  • 2 replies
  • 0 kudos