-
Notifications
You must be signed in to change notification settings - Fork 67
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
Directly program Murata module in Arduino MKRWAN1300 #57
base: master
Are you sure you want to change the base?
Conversation
The board can be transformed into a native STM32 dev board by flashing MKRWANBridge example in the D21. All pins/periperals are only wired to the D21 but a simple protocol could allow controlling them from the Murata module.
Sorry to not respond earlier. What is the value in adding MKRWAN1300 ? On this board CMWX1ZZABZ is just a slave connected via UART (RX/TX plus 2 GPIOs, plus BOOT & RESET). Would it not be wiser to port over the LoRaWAN class to ArduinoCore-samd and work on a decent protocol between the two chips ? |
The idea is to use your porting (thanks, btw) to create the new "firmware" for the ABZ (the current one is branched from ST examples and hosted at https://github.com/arduino/mkrwan1300-fw ). During this process we can decide, why not, to port the stack on D21 and abstract the interaction with the LoRa library via RPC. |
Actually for another project I am working on a system like this already. So there is some overlap. The big issue with SAMD is that there is no callback when a SCI/UART had received data (or sufficient data) from a peer. |
Got to work on this finally. Need a good source for stm32flash crossbuilds. Is there some good place to pick one up ? |
Hi Thomas, |
This PR adds "Arduino MKRWAN1300" as a native target for STML0.
MKRWANBridge.ino
sketch must be flashed only once on the SAMD microcontroller which becomes a sort of serial-to-usb converter with autoreset capabilities. I've temporarily added that example to STM32L0 library, maybe there's a better place.stm32flash
from https://github.com/facchinm/stm32flash is being used as programmer; I hope it's fine, otherwise feel free to change it 🙂