arduino-libraries / MKRWAN

An Arduino library for sending and receiving data using LoRaWAN protocol and LoRa® radios.
https://www.arduino.cc
GNU Lesser General Public License v3.0
88 stars 60 forks source link

External SPI bus freezes when LoRa is enabled MKRWAN 1310 - NOT same issue as Flash contention #101

Open terryzar opened 3 years ago

terryzar commented 3 years ago

I have an SPI device connected to the header pins MISO, MOSI and SCK with CS using pin A5. This works fine until I enable the LoRa interface.

So when I transmit data via LoRa and come back to read my SPI device it fails. The LoRa interface also fails. I can run only one or the other, but not exchange between the 2. I do not understand this as these are completely different sets of pins being used on the SAMD.

I had to move my SPI device to alternate pins and use software SPI in order to get this to work. I now need to add an SD card and having issues with software SPI on that....