piolib: please add bidirectional communication

Open
#115 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
c
Domain
embedded-iot

Research direction

Start by examining piolib's SPI interface and how it currently handles transmission and reception. Define the bidirectional API requirements for equal and unequal amounts of data, then verify that full-duplex SPI use cases are covered.

Written by the indexing model from the issue text.

Description

For instance, to implement full duplex SPI, a "simultaneous read and write" API is needed. While duplex SPI guarantees the same number of xmit and recv data, it is probably desirable in general for diffrerent amounts of data to be sent/received.

Dominant language
C
Stars
346
Forks
98
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from raspberrypi/utils

All issues in raspberrypi/utils

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.