dotnet / dotnet/iot

Explanation about SPI speed

Open
#1,407 12 comments 0 reactions 0 assignees View on GitHub
api-suggestion documentation Priority:2 up-for-grabs
Dominant language
C#
Stars
2.4k
Forks
630
Avg merge
11d 3h
Merged PRs (30d)
2

Description

Hello , I started to using yours library. I am impressed with how many things I have achieved on my Raspberry PI with this library. I created a device which comunicate with sensor throught SPI. But there is one isue which I can't solve. It's about SPI speed, while I am using class **SoftwareSpi** I am achiving sample rate around 40k samples/s. When I am trying to use your class **SpiDevice** which from my understanding is destined to use hardware SPI my sample rate is around 20k samples/s. Can you explain me what its caused by? From the definition hardware SPI should be faster than software. It's there any solution to achive faster SPI speed while using
hardware SPI ? Can you give more detail's about SPI speed in the documentation's. Thanks for your's answer.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.