Manchester Decoder using PSoC Continuation

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

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.

0 Likes
8 Replies
Anonymous
Not applicable

Yellow waveform = Manchester encoded data

   

Blue waveform = Decoded data (0x34)

   

Pink waveform = Recovered clock.

   

 

   

   

 

   

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.

0 Likes
Anonymous
Not applicable
0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable
0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

The project which illustrates an example for Manchester encoder and decoder is attached.

   

 

   

The snapshot of the waveform is also attached along with this comment.

   

 

   

Yellow waveform = Manchester encoded data

   

Blue waveform = Decoded data (0x34)

   

Pink waveform = Recovered clock.

   

 

   

In this method, the decoder is implemented in hardware without any need for software intervention.

0 Likes
Anonymous
Not applicable

and kindly resend your manchester encoder file again it is showing errors while opening "requested value 'PRODUCTION was not found" 

0 Likes
Anonymous
Not applicable

Hi Chetan,

   

 

   

I am reattaching the project.

   

 

   

Looking at the error message, I think you were unable to open it because you were using an old version of PSoC Creator.

   

 

   

While creating this project, I used PSoC Creator Version 1.0

   

The device selected is CY8C3866AXI-040 "Production". Please update to Creator 1.0 if you are using older Beta version.

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable
0 Likes
Anonymous
Not applicable

PSoC Creator 1.0 can be found at the following link

   

 

   

http://www.cypress.com/?id=2494

0 Likes