To fix this, we need an option that allows us to turn off the call to at_Receive() in the murata module and add a function to the MKRWAN API that allow us to call this function from our application. That way, when we sleep, we will not miss the asynchronous transmission of data from the module.
Hi @Amedee I was going to try and compile the module firmware to address this issue. Do you have any pointers on how to do that? I have Eclipse installed (note, I am not familiar with Eclipse). I built the package but do not know how to create the fw.h to program the module.
Yes, I agree. Seems to me like the developers do not yet grasp the importance of low power. I think this is a good product but still quite green. Would be cool if they would integrate a WiFi module with the LoRa module like the LoPy. I do not prefer the LoPy because you reboot the device every time you sleep so there is quite a bit of latency and power wasted doing that.
The recommended stuff: Eclipse with the STM32 System Workbench.
(I have no experience with that other than tinkering with the firmware to submit my patches…).
Also be careful, your file system must be case sensitive as there are a couple of files named identically except for the case (it took me some time to realize that, git was showing the directory tree dirty just after a checkout). So Linux is not a problem, OSX needs a case sensitive parition, Windows I have no clue.
Ok, so you are using Eclipse. Good to know. I can compile the source using Eclipse. I was able to download the firmware and run it using your script. Thank you.
I also tried to build using the arm tools with Visual Studio Code. I can’t figure out though where the makefile for the AT_Slave project is. There is a makefile at the root of the mkrwan1300-fw directory and if I build that, it flashes but doesn’t run. If I descend into the AT_Slave directory, there is no makefile. There is an eclipse project file and an auto generated makefile in the Debug directory, but I think that makefile is generated by Eclipse.
Yeah…
If my memory serves well, I first tried from the command line with the Makefile, but I had no success with that, then I followed the Eclipse route and that worked well.
Also another question if for example I used a Power Bank like https://www.tp-link.com/us/products/details/cat-5524_TL-PB2600.html would it work (powering it through the micro-usb port)? I’ve seen some people complain that Power Banks tend to turn become empty after a while but has larger battery capacity so what would be the issue?
I normally play with power banks, maybe it’s a waste of power and space in real world applications, but for experimenting is ok. By the way, my best one is a credit-card sized one, that stays below a breadboard. However, specifically with the MKR WAN I am also using two AA batteries with a battery holder; not bad even with the high consumption bug.