So I’ve recently gotten my SoM development materials and am encountering some confusion on how to properly wire up SPI devices. Using the schematics provided on Github I’ve wired up my custom board as shown below which clearly show the uSD card and Ethernet interface connecting to different Pins on the SoM.
However in the docs it references that both the SD and Ethernet interfaces should run of the only SPI bus and use pins D23 (which I suspect is a typo)/D8 respectively as the chip select. As I don’t have as much experience with SPI as opposed to I2C(In my previous project with a P1 I just put my separate devices on the separate buses) I don’t quite understand how to code both of these devices to run on the same bus (or if that’s possible).
Additionally I was a bit dismayed to see that WKP functionality is mapped to D8 (labeled CS everywhere else save this chart) addiding more complications to using SLEEP_MODE_DEEP as well as two SPI devices.
How do I use two SPI devices and properly wake from SLEEP_MODE_DEEP on the Gen3 SoMs all at the same time?