This example implements a Manchester encoder using Core Independent Peripherals.
The Manchester-encoded signal is output to PA4
- MPLAB® X IDE 6.25 or later
- ATtiny DFP 3.3.272 or later
- MPLAB® XC8 3.00 or later
- AVR/GNU C Compiler 5.4.0 or later
- ATtiny817 Xplained Pro
- Micro-USB cable (Type-A/Micro-B)
-
Connect the board to the PC.
-
Download the zip file or clone the example to get the source code.
-
Open the project in MPLAB X IDE.
-
Build the solution and program the ATtiny817.
This example has now illustrated how you can implement a Manchester Encoder using CIPs.