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! 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
  • 2448 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
  • 2166 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
  • 3448 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
  • 4196 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...

Resolved! STM32G0 MCU as I2C Master and Slave on the same peripheral

Is it possible to use the same I2C peripheral to be used as both a master and a slave?I made use of an STM32G0 MCU and using examples from CubeMX, I got the peripheral I2C2 to work as a slave and a master separately where I am using interrupts for th...

how to count cpu cycles on M0+ chips?

Hi everyone,I am preparing a course for university and I plan to use G071RB NUCLEO board. I wish to show floating point calculation without FPU is pretty slow, so is there a way to show cpu cycle count feature from debug?Thank you!

zrs5532 by Associate II
  • 1760 Views
  • 3 replies
  • 0 kudos