Skip to content

Commit

Permalink
drivers: spi: Add support for half-duplex (3-wire) SPI
Browse files Browse the repository at this point in the history
Add support for half-duplex (3-wire) SPI operation using the Raspberry
Pi Pico PIO.  To allow control of the size of the driver, including
half-duplex support is optional, under the control of Kconfig options.

The original PIO source code is also included as a reference.

Corrected 3-wire tx/rx counts.

Enable half-duplex code based on DTS configuration

Replace runtime checks with static BUILD_ASSERT()

Remove too-fussy Kconfig options

Removed PIO source per review request

Signed-off-by: Steve Boylan <[email protected]>
  • Loading branch information
ThreeEights authored and carlescufi committed Apr 18, 2024
1 parent b394664 commit 5b72665
Show file tree
Hide file tree
Showing 2 changed files with 588 additions and 107 deletions.
Loading

0 comments on commit 5b72665

Please sign in to comment.