Extract Some Data From A Signal By Timer
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-11-19 4:33 PM
Posted on November 20, 2016 at 01:33
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?
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.data input clock from board(a) is around 20MHz.
tnx for help me
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-11-19 6:05 PM
Posted on November 20, 2016 at 03:05
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 BSRR
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-11-21 2:54 PM
Posted on November 21, 2016 at 23:54
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