cancel
Showing results for 
Search instead for 
Did you mean: 

[Nucleo-F303RE] Using comparator1 output as input to timer1, but I want to free the input pin.

ericfont
Associate II

I have a simple Nucleo-F303RE test program (attached) that receives external input for comparator 1 whose output is sent to timer 1's channel 1's input. It works. However my small frustration is that the timer configuration gui tool seems to force me to dedicate a physical pin (PC0 in screenshot below circled in red) as input to the timer:

ericfont_0-1705732404877.png


But since I'm not actually using a physical pin as input to the timer (only the comparator needs an actual physical pin), I want to be able to have that pin (PC0) available for other uses.  But the moment I click on that pin to select another option for that pin or try to disable it, the timer 1 channel 1 combo box gets set to "Disable" instead of "Input capture direct mode".  Is there a way I can avoid dedicating a pin to that timer 1 channel 1, or am I stuck with having to have one pin wasted on it?

0 REPLIES 0