Add an example for bidirectional (3-wire) SPI communication

Open
#341 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
c
Domain
embedded-iot

Research direction

Start by reading the SSD1677 datasheet and the repository's existing SPI examples to understand the requested 3-wire exchange. Identify how the bidirectional SDA pin is controlled for commands sent by the master versus data returned by the display. Done means a runnable pico-examples example demonstrates communication with an SSD1677-style device.

Written by the indexing model from the issue text.

Description

example request

For example, communicating with an SSD1677 eink display chip. (Datasheet)

Rather than having separate in/out data pins, they instead have a single SDA bidirectional pin, which depending on the command sent, is written to by either the display or the master. (SDI and SDO in the chart are actually a single pin)

3-Wire SPI SSD1677

Dominant language
C
Stars
3.9k
Forks
1k
Avg merge
1d 16h
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

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/pico-examples

All issues in raspberrypi/pico-examples

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.