You are here

Manchester Decoder using PSoC Continuation | Cypress Semiconductor

Manchester Decoder using PSoC Continuation

Summary: 8 Replies, Latest post by Gautam Das on 19 Oct 2011 01:39 AM PDT
Verified Answers: 0
Last post
Log in to post new comments.
dasg's picture
Cypress Employee
730 posts

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.

dasg's picture
Cypress Employee
730 posts

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.

dasg's picture
Cypress Employee
730 posts
dasg's picture
Cypress Employee
730 posts
dasg's picture
Cypress Employee
730 posts

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.

Chetan's picture
User
16 posts

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

dasg's picture
Cypress Employee
730 posts

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.

dasg's picture
Cypress Employee
730 posts
dasg's picture
Cypress Employee
730 posts

PSoC Creator 1.0 can be found at the following link

 

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

Log in to post new comments.