AnsweredAssumed Answered

Is it possible to use Timer 3 in input capture mode on channel 1 and output compare mode on channel 3 simultaneously on STM32F103?

Question asked by gregson.peter on Oct 27, 2017
Latest reply on Nov 2, 2017 by gregson.peter



I am using STM32CubeMX to configure the STM32F103C8T.  I want to use Timer 3 in two modes at the same time.  I want Timer 3 channel 1 in input capture direct mode and Timer 3 channel 3 in output compare channel 3 mode.  I know that the prescaler and period vlues will be the same for both timers.  That is not a problem.  I have tried with two timers, each with one of the modes and with identical prescaler and period values, and this seems to work.  However, when I try to use both modes, one in each of channels 1 and 3 on Timer 3, it doesn't seem to work. 


Is it possible to do this?  I have been wrestling with it, reading considerable literature, seeking examples, reading Mastering the STM32, etc. without success.  


A simple "yes" or "no" answer would be very helpful.


Best regards,