Skip to main content
Associate II
February 5, 2025
Question

Output Compare Register update in stm32

  • February 5, 2025
  • 2 replies
  • 761 views

I had taken TIM1 asn Master to Trigger TIM8 here below i had attached the timer configuration IMG20250205175541.jpgIMG20250205175611.jpgIMG20250205175558.jpg

Clock Frequency 480mhz ,timer clock 240mhz

Here Iam Triggering The TIM8 after 2.5us started from TIM1 both are 100khz frequency in TIM->CCR3 register iam loading the 2.5us equavalent value (600) loading in the register where in the output also it came correctly but WHERE iam Incrementing or decrementing automatically in code in the CCR register value loaded correctly but in the output it is not updating why i dont known please anyone help to solve this problem

2 replies

KnarfB
Super User
February 5, 2025

specify the chip and don't tag *every* STM32 series.

Associate II
February 5, 2025

this is stm32 h7 but i had tried in also f1,g4,h7

Andrew Neil
Super User
February 5, 2025

How to get  screenshots - rather than photographing the screen:

https://www.techrepublic.com/article/how-to-take-screenshots-in-windows-10/ 

You could also attach your .ioc file

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Associate II
February 5, 2025

I cant have access to able to attach this so taken photo