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! 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
  • 1441 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
  • 2538 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
  • 721 Views
  • 3 replies
  • 0 kudos

Resolved! STM32F4 chip select problem

Hello,I am having problems with SPI connectivity. My problem seems to be the chip select pin that is controlled using GPIO HAL libraries. Chip select is pulled low for way longer than it is supposed to and therefore I cannot read the sent data proper...

0693W00000KbZKKQA3.png
plate30 by Associate II
  • 2708 Views
  • 6 replies
  • 0 kudos