Closed d-a-v closed 3 years ago
Is DIO1 connected to D6? The Feather M0 doesn't do this by default.
Well, it was not and when it is, it works very well !
I was falsely convinced that it was not needed on the M0 because of the same issue for the 32u4, which is quite visible on search engines (and this recently received a commit in your examples). I never saw similar comments about the M0. I will submit a pull request then, thanks very much !
So is the solution to this issue soldering a wire from DIO1 to D6? Or is it a pin map setup change?
Answering my own question: https://blog.werktag.io/posts/adafruit-feather-m0-lora-on-ttn/
I am using the provided example
ttn_abp.ino
(CFG_eu868
) from the git head version of this library, modified with this configuration:It works fine with the AVR,
TX_COMPLETE
comes 2 secs afterTX_START
(see logs below).With the Feather M0 I get this:
and
TX_COMPLETE
very hardly or never comes. However, what has to be noted is that the packet is sent, and correctly received (I'm using TTN for testing). But the state machine stay stuck in the state "not complete".Also, I sometimes get failures when the sketch is booting:
which is
Am I the only one having such failures with the Feather M0 ? (as a side note, I also have similar issues with the Feather 32u4)
This is the same exact sketch with the goo'old AVR which never fails: