Skip to content

SerialImpl

Sebastian edited this page Jun 18, 2019 · 2 revisions

Introduction

This page will explain the different Implementations of Serial Communications

Implementations

Timer Based Communication

Required MCU Components:

  • Timer (with count capability)
  • IO Pin read

Capabilities

  • Autobaud
  • HAL based (Hardware Independent)
  • Works with C/C++ Code

Limitations

  • This communication can fail depending on the precision of the timer

Description

This Method uses a timer of an mcu and a pin to create a serial communication protocol.

ASM Only Communication

Required MCU Components:

  • IO Pin read

Capabilities

  • Autobaud

Limitations

  • This method will not work within a (external C/C++) loop
  • This method can only be used on AVR microcontrollers

Description

This method uses only asm to implement a serial communication

Inline ASM Communication

Required MCU Components:

  • IO Pin read

Capabilities

  • Autobaud
  • Works with C/C++ Code

Limitations

  • This method can only be used on AVR microcontrollers

Description

This Method uses Inline Assembler for communication

Clone this wiki locally