I can get soft SPI working fine on an Feather M0 (uses pins 11,12,13), but wish to use the added hardwired SPI from setting up SERCOM1 (which, rather nicely also comes out on those pins). I have the code to set up the SERCOM1
This so I can talk to a SD card whilst also talking to on board BLE chip (both SPI) without worrying about chip select.
You suggest using a SdSpiBaseClass, then setting SPI_DRIVER_SELECT to 3 (happy with the latter). I have been unable to find a tutorial or example code for such a class given SPI hardware. Has this been done elsewhere? It seems a shame to have to use softspi when the Feather M0 is capable of SERCOM1
I can get soft SPI working fine on an Feather M0 (uses pins 11,12,13), but wish to use the added hardwired SPI from setting up SERCOM1 (which, rather nicely also comes out on those pins). I have the code to set up the SERCOM1
This so I can talk to a SD card whilst also talking to on board BLE chip (both SPI) without worrying about chip select.
You suggest using a SdSpiBaseClass, then setting SPI_DRIVER_SELECT to 3 (happy with the latter). I have been unable to find a tutorial or example code for such a class given SPI hardware. Has this been done elsewhere? It seems a shame to have to use softspi when the Feather M0 is capable of SERCOM1
thanks in advance