Skip to main content
robert239955_stm1_stmicro_com
Visitor II
February 23, 2016
Question

STM32F4 Counting pulses on PA1 and PB10

  • February 23, 2016
  • 1 reply
  • 614 views
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
This topic has been closed for replies.

1 reply

raptorhal2
Lead
February 26, 2016
Posted on February 26, 2016 at 16:22

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

Cheers, Hal