-
Notifications
You must be signed in to change notification settings - Fork 55
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
EV_TXCOMPLETE hardly seen when using Feather M0 #166
Comments
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. |
Add a warn message in comments for users. Similar to mcci-catena#703 and related to mcci-catena/arduino-lorawan#166
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
ASSERT( (readReg(RegOpMode) & OPMODE_MASK) == OPMODE_SLEEP );
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:
The text was updated successfully, but these errors were encountered: