A first chance exception of type ‘System.Exception’ occurred in Gadgeteer.SPI.dll
An unhandled exception of type ‘System.Exception’ occurred in Gadgeteer.SPI.dll
Additional information: SPI bus 0 is already reserved, cannot instantiate it again.
Been using the standard module dll, latest code download referencing the project in VS but still the same. Also using FlashFileSystem (codewarrior) isn’t working.
Socket 3 and Socket 11 both use the SPI1 bus. The WiFi RS21 uses the SPI bus in exclusive mode so no other SPI device can be used on that same bus. Socket 1 uses the SPI2 bus, so you can put the WiFi RS21 there to work around its exclusivity.
Hello
I have same problem on raptor. it is about synchronize use of Ethernet-ENC28 and flash V1.1. I can’t connect Ethernet to socket 1 since same error will be shown. Is there anyway to use both Ethernet and flash module on Raptor?
@ Ehsan Ansari - Exclusive mode only locks the same SPI bus. Socket one does not share its SPI bus so you can use exclusive devices, like the ENC28, on that socket.