8 Replies Latest reply on Oct 19, 2011 1:39 AM by gautam.das.g

    Manchester Decoder using PSoC Continuation

    gautam.das.g

      This is in continuation of the post on Manchester decoder with PSoC 3.

         

      The oscilloscope snap shot is attached below.

         

       

         

       

         

       

         

       

         

      Yellow waveform = Manchester encoded data

         

      Blue waveform = Decoded data (0x34)

         

      Pink waveform = Recovered clock.

         

       

         

      The data is sampled on the rising edge of the recovered clock. From the waveform above, it can be seen that the output obtained is 00110100 (0x34).

         

      Hence, Manchester decoder can be implemented in PSoC 3 in hardware without any intervention from the CPU. Only the PM Component is to be started in main.c at the beginning. The D Flip Flop and XOR gate are implemented in the UDB.