2 Replies Latest reply on Feb 17, 2013 7:02 AM by user_14586677

    rotary encoder absolute, serial manchester

    wilson.fernando

       Good afternoon, I am Colombian, I dont have good English, I hope  you understand

         

      I will comment that my project is to know how I can help.

         

       

         

      I have two rotary encoder, they send the absolute position by a frame of serial data by a Manchester code, the encoders are of 11 bits.

         

       

         

      To get the position, I decode the signal. The Manchester decoder is not the problem, the problem is the timing, and for that I get a interrup for rising edge  and falling edge  to synchronize the decoder.

         

      The delivery code encoder is shown in Figure

         

       

         

      I must get the data (15 bits) of the first frame.

         

      I do not know what idea you have to be able to help.

         

       

         

      Attached two codes

         

      One simulates the clock and then with a interrup on and off an output pin.

         

      The other has a signal input to the decoder.

         

       

         

      none works.