2016-11-19 04:33 PM
Hi Guys
i have a board(a) and this board send some async data with clock to my stm32f4 device.in this data transferred by board(a) have some dummy clock and i want reject this dummy clock.i want to capture input clock by timer and count clock and make a signal like signal3 on above picture.signal3 will connect to a buffer chip OE (Output Enable) pin to accept real data & real clock and reject extra dummy clock.how can i do this by timer?data input clock from board(a) is around 20MHz.
tnx for help me2016-11-19 06:05 PM
20 MHz is on the high side, might be better addressed with logic than a general purpose timer.
Perhaps you can use the timer in external clock mode, and the output channel in PWM mode, rising edge with CCRx and falling edge with Update. Or perhaps Toggle mode? Or external clock mode driving TIM, driving DMA, to GPIO BSRR2016-11-21 02:54 PM
hi
tnxcould describe more pls?i want use this 20MHz clock as timer clock source.so which timer mode could make a signal like signal3 in picture and how?tnx for your replay