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

LPTIM to put my STM32L0 device in sleep for 200 ms

Hi all,I would like to use LPTIM in STM32L0 to put my device in sleep mode for 200 ms. I have used the API HAL_LPTIM_TIMEOUT_START(LPTIM_HandleTypeDef * hlptim, uint32_t Period, uint32_tTimeout), I pass 200 as value for both Period and Timeout.I use ...

DKPitc by Associate
  • 994 Views
  • 0 replies
  • 0 kudos

Determine flash page size at run-time

STM32G4 devices are split into 2 flash categories per the datasheet: Category 2 devices (STM32G43x/G44x) which have only single-bank capable flash with a capacity up to 128kB and Category 3 devices which are dual-bank capable and have up to 512kB of ...

ARoth.1 by Associate II
  • 4351 Views
  • 4 replies
  • 0 kudos

STM32H747 generate code issue with STM32Cube and Keil

I have tried to generate STM32H747I-DISCO's GPIO code.After loading flash, it can be executed normally.But after power on the MCU, the code can't be executed and the MCU can't be target with ST-link.I must pull-up boot0 and erase flash before I can r...

0693W000000WdfRQAS.png 0693W000000WdfbQAC.png 0693W000000WdflQAC.png
CChie.6 by Associate
  • 1336 Views
  • 2 replies
  • 0 kudos

Resolved! Input capture problem

Hi all!I'm trying to measure a PWM frequency signal using the input capture channel 1 of TIM3, but it won't work.i'm using NUCLEO F446RE board, here is my code:#include "stm32f4xx.h" // Device header#include "lcd_H.h"int main(void){uint16_t capt1 = 0...

LLah.1 by Associate II
  • 2544 Views
  • 5 replies
  • 1 kudos

Resolved! STM32G474 Flash wait states at 170MHz CPU clock

RM0440 Rev 3 (last version) recomend to set 4WS for 170MHz CPU clockRM0440 Rev 2 recomend to set 8WS for 170MHz CPU clockST driver library (STM32G4xx_HAL_Driver) function LL_PLL_ConfigSystemClock_HSE() set 8WS for 170Mhz clock. Which Flash WS setting...