cancel
Showing results for 
Search instead for 
Did you mean: 

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

hazall
Associate III
 
1 ACCEPTED SOLUTION

Accepted Solutions
FBL
ST Employee

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 Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

2 REPLIES 2
gbm
Lead III

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
FBL
ST Employee

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 Accept as Solution on the reply which solved your issue or answered your question.