-
Notifications
You must be signed in to change notification settings - Fork 0
SerialImpl
Sebastian edited this page Jun 18, 2019
·
2 revisions
This page will explain the different Implementations of Serial Communications
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.
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
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