Go Down

Topic: 100ns pulses (Read 3 times) previous topic - next topic

Ronduino

I want to tap into a set of serial data that is transferred in binary pulses of 100 nanoseconds of width. Can Arduino catch this signal, or is the signal too fast? What can be recommended?

The pulses swing from +3volts to -3volts, with each half having a width of 50 nanoseconds.

Ron

Coding Badly


JB_AU


munchie

That 100ns means you have 10 million pulses per second and 20 million changes per second.  The Duo is running at 84MHz.  You can't do it with 4 clock cycles.

Coding Badly


You assume the Due would be polling.  @Ronduino has not provided a definition for "serial data" so it is too early to say if your assumption holds water.

Ronduino

If I can guarantee to capture one measurement of each pulse, then I would be satisfied. Messages are 34 bit and that's what I want to capture and then process. First step is to be able to capture the pulse, as they are very fast. I'm wanting to work toward creating a type of network analyzer to search for certain messages and then activate an LED as an indicated that a given message has come across the line. That's my overall aim.

Coding Badly

The pulses swing from +3volts to -3volts, with each half having a width of 50 nanoseconds.


Manchester encoding?

Ronduino

Yes, Manchester Encoding.

Coding Badly


If you're feeling brave, the Due processor has a "Manchester Decoder".  I have no idea what it is or how to use but it sounds promising.  A snippet from the datasheet to tease you...

Quote
36.7.3.4 Manchester Decoder
When the MAN field in US_MR register is set to 1, the Manchester decoder is enabled. The decoder performs both preamble and start frame delimiter detection. One input line is dedicated to Manchester encoded input data.


Go Up