Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

SPI implementation #53

Open
DanielSSilva opened this issue Apr 13, 2020 · 2 comments
Open

SPI implementation #53

DanielSSilva opened this issue Apr 13, 2020 · 2 comments

Comments

@DanielSSilva
Copy link
Contributor

I'm opening this issue so that we can discuss the implementation of the SPI interface. I'm not familiar with this interface, but from my understanding (and from what I'm seeing on the dotnet repo), this seems that the SPI device could be created once and used many times, whereas with current implementation, each time we are sending that through SPI, we are creating a new device and then disposing it.
Would it make sense to have a similar approach to what we have on I2C ? Something like

Get- SPIDevice -BusId 0 -Frequency 2400 ...
@DanielSSilva
Copy link
Contributor Author

Not only that, but it seems that there are some bindings (which we might or might not end up using) that require the SPI device as a parameter

@anmenaga
Copy link
Contributor

It is probably a good idea to make cmdlet interface for SPI similar to what we have for I2C.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants