cancel
Showing results for 
Search instead for 
Did you mean: 

how to capture signal at rate 3 mbit/s

cellulenumerique
Associate II
Posted on December 09, 2011 at 23:23

hi,

i have a signal to rate at 3mbit/s. The clock and signal are separate on two line.

i tried to use connect EXTI on the clock. When i have a interrupt, i read the PIN where the signal's. This solution don't work.

So, i want tu use the TIM external clock, and Input capture for read my signal. but this solution is more complicated.

have you other idea?
4 REPLIES 4
Posted on December 09, 2011 at 23:38

SPI Slave, or Synchronous USART

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
cellulenumerique
Associate II
Posted on December 10, 2011 at 10:18

My signal is continus and isn't a SPI format. is it possible to use the periph SPI for other signal type?

 if i use the synchronous USART, 

the

start bit and

stop

going to

bother me

because my

signal

will not have

the right structure

Posted on December 10, 2011 at 14:17

My signal is continus and isn't a SPI format. is it possible to use the periph SPI for other signal type?

You say you have a clock and data signal, would seem like a good fit. Perhaps you need to be more specific.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
cellulenumerique
Associate II
Posted on December 10, 2011 at 22:40

I read more the datasheet and i think your solution is good.

I will tried this solution, monday.