Skip to main content
cellulenumerique
Associate II
December 9, 2011
Question

how to capture signal at rate 3 mbit/s

  • December 9, 2011
  • 4 replies
  • 1013 views
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?
    This topic has been closed for replies.

    4 replies

    Tesla DeLorean
    Guru
    December 9, 2011
    Posted on December 09, 2011 at 23:38

    SPI Slave, or Synchronous USART

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    cellulenumerique
    Associate II
    December 10, 2011
    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

    Tesla DeLorean
    Guru
    December 10, 2011
    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 VenmoUp vote any posts that you find helpful, it shows what's working..
    cellulenumerique
    Associate II
    December 10, 2011
    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.