Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • src-vorago-common src-vorago-common
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • source
  • src-vorago-commonsrc-vorago-common
  • Merge requests
  • !5

Fix SPI Send and Transmit

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Erik Zeiske requested to merge spi-fix-send-transmit into develop Feb 14, 2021
  • Overview 2
  • Commits 2
  • Changes 1

Send: The library was not waiting till the transmit is complete resulting in a second call to SPI_Send clearing the previous call.

Transmit: This call was going further and disabled the SPI interface before anything was able to transmit. This was due to the fact that the num--; was placed wrong and after putting everything into the transmit queue there was no wait to retrieve everything from the receive queue.

As the code for the poll timeout was weird and the default timeout was not set anyway. We could think about rewriting this code later though (but I think it should only be necessary if we are an SPI client)

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: spi-fix-send-transmit