Skip to content

Repository files navigation

ParallelComm Library

Non-blocking library to send/receive data through digital pins between uC or between cores on the same uC (not tested yet).

Motivation

CPU cycle hungry projects where it is not possible at all to make any CPU blocking serial calls.

In my case, an audio DSP consumes almost all of the CPU leaving only a few time available, enough to configure digital pins and transfer data to another uC connected to an Oled Display.

You can send up to 16 bits per message or split into any number of values concatenated up to 16 bits.

Dependencies

thanks to KurtE https://github.com/KurtE/UNOR4-stuff/tree/main/libraries/GIGA_digitalWriteFast

thanks to ArminJo https://github.com/ArminJo/digitalWriteFast/blob/master/digitalWriteFast.h

Features

  • UP to 16-bits Parallel Communication: Uses any bits data bus for transmitting data.
  • Pack and Unpack 2 numbers MACROS: Pack/Unpack 2 numbers to transfer in one send.
  • Pack and Unpack any numbers function: Pack/Unpack n numbers to transfer in one send.
  • Two Device Roles: Supports ONE Sender (Master) and ONE Receiver (Slave) roles.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages