View Single Post
Old 15 August 2022, 18:56   #81
Niklas
Registered User
 
Join Date: Apr 2018
Location: Stockholm / Sweden
Posts: 129
Quote:
Originally Posted by Mathesar View Post
I have implemented the spi part as a resource for now (but only very simple, the resource just presents a semaphore, the actual SPI code is in the SD/network driver) but I think a device would make more sense.
Such a device would then need to support functions to set polarity / clockphase, speed, etc, etc. It would also need proper fallback in case some hardware doesn't support all the features (like my hardware )
This sounds very interesting! Are you on any of the Amiga/retro Discord servers? I find it's much quicker to have interactive discussions there. Anyone interested could join the discussion and we should be able to hash out an API in not too long time (possibly based on what you already have).

I'm on the Discord server mentioned on this page, https://eab.abime.net/showthread.php?t=85960, my username there is the same as here.
Niklas is offline  
 
Page generated in 0.05806 seconds with 10 queries