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

STM32H7 HAL_Delay(200); Problem

This is my first time working with STM32H7B3IIT6 MCU. I wanted to make a led blink application, but the program is HAL_Delay(); it goes into an infinite loop and doesn't exit.

0693W00000JOa2qQAD.png 0693W00000JOa27QAD.png

Resolved! LSE Drive

Hi,I have questions about LSE Drive (STM32L0).1) In RCC register are LSEDRV[1:0] bits and I am not sure if I understand it corretly.From datasheet about these bits: They are cleared by a power-on reset or an RTC reset. Once “00�? has been written, th...

JJRR by Senior
  • 1887 Views
  • 1 replies
  • 0 kudos

Resolved! SRAM2 is only partially retained

Hello dear STM32-Community,I'm using an STM32L4R and wanted to configure my data retention of SRAM2 for standbymode.I did the following changes to the linker file:/* Highest address of the user mode stack */ _estack = 0x10004000; /* end of RAM */ ...

0693W00000KbduWQAR.png
crackl1ng by Associate III
  • 1333 Views
  • 4 replies
  • 0 kudos

Resolved! CAN module in STM32F722ZE Nucleo Board.

I intend to use CAN module in STM32F722ZE Nucleo board, but I have a problem- the CAN module does not work. I tried to see the example code, but it also is not run. Anyone has the source code for CAN module in STM32F722ZE Nucleo? ( Loopback or normal...

CTran.2 by Associate II
  • 1732 Views
  • 7 replies
  • 0 kudos

Resolved! Set timer update event at a desired T seconds frequency

Hello, I want to generate an interrupt using the timer update event every T seconds at a given MCU frequency F using LL library and a basic timer with STM32L071CB.Lets say for example that:T = 5 sSystem clock frequency F = 32 MHzTimer TIM6 It look...

migmel by Senior
  • 3160 Views
  • 4 replies
  • 0 kudos

HAL_Delay counter wrap problem. in HAL_Delay current timer count is read first (tickstart = HAL_GetTick()) and the function waits till (while((HAL_GetTick() - tickstart) < wait)) the difference is equal or greater than given value. What happens if

current tick count is say 0x0fffffffff (just 15 short of an over flow) and if my delay (wait) is say 20. Running count will rollover after 15 ticks and becomes 0. The new comparison will 0-0x0fffffff. Will the delay still work? I guess not. Your valu...