External event counter mode1 at timer2, channel 3 [Pb_10] is not working for STM32F401, how to configure this in aright way for STM32401Re. I have to measure frequency from function generator at 10 MHZ range.
Can we take TIMER2, Channel3 for External clock mode1 for frequency counting upto 5-10 MHZ? Board: STM32F401RE [Nucleo Board], PIN: PB_10 [Timer 2, channel3].In case, yes.. Can anybody provide me refrence or sample code?
I have been able to get frequency at PB_10 [Timer2, channel3]. with following configuration as you suggested to xoring the function: Well Support...!!!!// PB_10 -> Counter frequency input pin as Timer2 TI3 RCC->AHB1ENR |= (RCC_AHB1ENR_GPIOBEN); //...
Hi Khouloud,Thanks for your kind Information regards this. As per your suggestion, How to use XOR function for given below code: RCC->AHB1ENR |= (RCC_AHB1ENR_GPIOBEN); GPIOB->AFR[1] &= 0xfffff0ff; GPIOB->AFR[1] |= GPIO_AF1_TIM2 << 8; GPIOB->MOD...