Skip to main content
hazall
Associate II
January 16, 2023
Solved

Can we use Input capture and output compare property in same time ?

  • January 16, 2023
  • 2 replies
  • 963 views

..

This topic has been closed for replies.
Best answer by FBL

Hello @hazall​ ,

It is mentioned in the reference manuals, that timers include independent channels for: Input capture and Output compare.

2 replies

gbm
Lead III
January 16, 2023

You are mixing HAL and non-HAL stuff which leads to errors. I don't know what is  TIM1->DIER |= TIM_IT_Update; the name of this bit is TIM_DIER_UIE.

My STM32 stuff on github - compact USB device stack and more: https://github.com/gbm-ii/gbmUSBdevice
FBLBest answer
Technical Moderator
January 18, 2023

Hello @hazall​ ,

It is mentioned in the reference manuals, that timers include independent channels for: Input capture and Output compare.

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL