Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is SPI contention with the LORA module fixed in this library? #23

Closed
CanOfSocks opened this issue Jun 5, 2022 · 3 comments
Closed

Is SPI contention with the LORA module fixed in this library? #23

CanOfSocks opened this issue Jun 5, 2022 · 3 comments
Labels
conclusion: resolved Issue was resolved type: support OT: Request for help using the project

Comments

@CanOfSocks
Copy link

Hi,
I was wondering if the issues with SPI contention are still a problem for this library with the MKR WAN 1310, both for the external flash storage and other SPI devices.
I'd like to use the external flash and an SPI RFID reader, but would like to avoid resetting the lora module where possible.

Sorry if this topic isn't appropriate for this repo, but I believe you guys will give me the best answers.

Thanks

@aentinger
Copy link
Contributor

Can you elaborate on what you mean by SPI contention? Arbitration on SPI is done via chip select lines dedicated for each slave. Consequently there can be no such thing as SPI "contention"-

@CanOfSocks
Copy link
Author

Hi,
I'm referring to this issue from the MKRWAN v1 library. I haven't been able to find if it has been fixed with my searches. I'm yet to test with my MKR WAN 1310 personally, but want to get an idea if I should expect to use workarounds with future projects.

@aentinger
Copy link
Contributor

Hi,
Given that MKRWAN_v2 only uses SerialLoRa (which is the defined in ArduinoCore-samd) and the fact SerialLoRa aka Serial2 is using the same SAMD pins as the SPI connected to the SPI flash I have to say that YES, you still have to power down the modem if you want to talk to the flash :( .

@per1234 per1234 added type: support OT: Request for help using the project conclusion: resolved Issue was resolved labels Jun 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved type: support OT: Request for help using the project
Projects
None yet
Development

No branches or pull requests

3 participants