arduino / arduino/ArduinoCore-samd

SAMD SPI issues

Open
#698 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
502
Forks
740
PR merge metrics
No merged PRs in 30d

Description

Hello.

I was working with SAMD SPI and noticed the SPI bus is really slow to init/de-init. So the transfer is actually fast & up to specs, but there are long spaces in between. The code is not using interrupts:

![image](https://user-images.githubusercontent.com/10361323/225992385-bde9cf75-1835-45b6-a9a5-2f9ac90d932e.png)

Can this be fixed?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the SAMD SPI initialization and de-initialization code, then reproduce the timing shown in the issue to identify the source of the pauses between transfers. Done means reducing the initialization/de-initialization delays while preserving the reported transfer speed and verifying the behavior with a suitable SPI test.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.