Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FL-3348] Software SPI #3861

Open
wants to merge 15 commits into
base: dev
Choose a base branch
from
Open

Conversation

portasynthinca3
Copy link
Member

@portasynthinca3 portasynthinca3 commented Aug 29, 2024

What's new

  • Software SPI library (master mode only)
  • SPI testing app (spi_test)

Verification

  • Connect a logic analyzer or an oscilloscope to pins PA7 (MOSI), PB3 (SCK) and PA4 (CS)
  • Bridge pins PA6 (MISO) and PA7 (MOSI) together
  • Launch the spi_test app
  • Select "Software TRX"
  • Verify that the signal looks good
  • Verify that the logs say sent 55 AA, received 55 AA

Waveforms

Hardware SPI:
hardspi

Software SPI (far away, CS transitions visible):
softspi_far

Software SPI (up close, no CS transitions visible):
softspi_close

Checklist (For Reviewer)

  • PR has description of feature/bug or link to Confluence/Jira task
  • Description contains actions to verify feature/bugfix
  • I've built this code, uploaded it to the device and verified feature/bugfix

Copy link

github-actions bot commented Aug 29, 2024

Compiled f7 firmware for commit b0573ef5:

@portasynthinca3 portasynthinca3 marked this pull request as ready for review August 29, 2024 14:20
@portasynthinca3 portasynthinca3 force-pushed the portasynthinca3/3348-softspi branch from 4ea7a00 to 85a1d42 Compare September 6, 2024 14:05
lib/softio/softio_spi.h Show resolved Hide resolved
@skotopes skotopes marked this pull request as draft September 12, 2024 16:24
@portasynthinca3 portasynthinca3 marked this pull request as ready for review September 20, 2024 13:18
lib/softio/softio_spi.c Show resolved Hide resolved
@skotopes skotopes marked this pull request as draft October 14, 2024 13:57
@skotopes
Copy link
Member

undraft when ready

@portasynthinca3 portasynthinca3 marked this pull request as ready for review October 14, 2024 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants