App note: Implementing a Manchester decoder using the CLC and NCO peripherals

in app notes by DP | 1 comment


Here is an application note from Microchip describing how to implement a hardware Manchester decoder using the CLC and NCO peripherals found on some of their PIC microcontrollers.

The objective of this document is to demonstrate how the NCO and CLC peripherals found on PIC16F devices can be used as a Manchester Decoder. Traditional algorithms can be firmware intensive and leave very small amount of CPU cycles to service other application needs. The following approach involves using blocks that operate independently of the CPU clock and have zero CPU utilization, allowing designers to service their applications along with data encoding and decoding.


This entry was posted in app notes and tagged , .


  1. Hans de Jong says:

    Interesting technique. Coincidently, I have been working on a MRF49XA design with a PIC16F1509 on it. Unfortunately, it seems you have to route the output of the CLC blocks manually to the MSSP part, which I have already reserved to I2C for some sensors.. So it uses quite a lot of I/O pins.

    Oh well, the PIC16F1509 costs ~1 euro, so that’s cheap enough to use it separately for a manchester encoder/decoder only.,

Leave a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Notify me of followup comments via e-mail. You can also subscribe without commenting.