Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/04/05 13:10
Read: times


 
#96506 - Decoding manchester with only capture in

The problem:

I have a manchester encoded signal - RC5. Rising edge in the middle of the bit cell for a '1', falling edge for a '0'.

I have the use of a capture input on the PCA, so I can measure the time between the edges. From this I can deduce the following:-
1 bit time high
1 bit time low
2 bit time high
2 bit time low

It's getting late at night and my brain is having trouble trying to sort out a nice, clean method of decoding the data. I would like the code to run off the capture input interrupt - therefore no delay loops or using another timer or compare channel. Sounds like a good reason to use a state machine! There must be a classical solution!

List of 16 messages in thread
TopicAuthorDate
Decoding manchester with only capture in            01/01/70 00:00      
   the non-trivial excursion            01/01/70 00:00      
      Yes!            01/01/70 00:00      
         not necessarily error            01/01/70 00:00      
   A bit more about ...            01/01/70 00:00      
      Does this helps            01/01/70 00:00      
   Its not software Jim            01/01/70 00:00      
      Who's Jim?            01/01/70 00:00      
         well...            01/01/70 00:00      
   My example code            01/01/70 00:00      
   My idea used in past on 68332 TPU            01/01/70 00:00      
      It all becomes clearer            01/01/70 00:00      
   The answer....            01/01/70 00:00      
      problem in manchester decoding using pca            01/01/70 00:00      
      problem in manchester decoding using pca            01/01/70 00:00      
      problem in manchester decoding using pca            01/01/70 00:00      

Back to Subject List