Manchester decoding

Decoding process of previously generated Manchester code.

Used software and hardware:

  • MCU: STM32F103C8
  • IDE: IAR Embedded Workbench
  • STM32CubeMx
  • HAL Driver

Encoding process is based on one Timer module (TIM2) and one GPIO for signal generating (PA3). Decoding part uses GPIO pin configured as EXTI line (PA4) and the same Timer (TIM2). A detailed description is again available on my site - post link.

Some resulting debug info: