cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F4 Counting pulses on PA1 and PB10

Posted on February 23, 2016 at 19:02

I want to count pulses (independently) on these pins. After playing around with STM32CubeMX I think that this can be done with PA1 using it as a trigger for TIM5_CH2, but I can't see a way to do this with PB10. Any help on this would be much appreciated.

Is there a document that gives a mapping between the old APIs and the new HAL ones to help with code conversion? I find this quite time consuming.

#stm32f4 #pulse-counter
1 REPLY 1
raptorhal2
Lead
Posted on February 26, 2016 at 16:22

Go to the datasheet and see if Timer2 Channel3 is available.

Cheers, Hal