-
Notifications
You must be signed in to change notification settings - Fork 3k
Fix LoRa sx1276 Low Power sleep, now 3uA #15181
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
Conversation
@hallard, thank you for your changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lora test can not connect with DISCO_L072CZ_LRWAN1
Yeah may be delay, let us check that, it was working on murata module so same as DISCO_L072CZ_LRWAN1, that's strange your board can't connect |
1db344e
to
81e0301
Compare
69dc81a
to
ccc34b9
Compare
if (_rf_ctrls.tcxo != NC) { | ||
_tcxo = 1; | ||
// TCXO startup time | ||
ThisThread::sleep_for(5ms); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From the tests I did on a custom Murata-based board, if the sleep period is greater or equal to 9ms, the device is unable to receive a join accept.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @mickael868, this mean that 5ms looks like correct value (no magic, I took this 5ms from code of other stack).
Pay attention to SPI, SPI communication with sx1272 won't work if TCXO is not enabled. Worth mentioning this one
@jeromecoutant could you please confirm it now works with your DISCO_L072CZ_LRWAN1
?
@0xc0170 let's start CI ? |
CI started |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
Summary of changes
Replace #15180 cleaner
Fix sx1276 #227
May be same patch could be applied to #14224 (sx1272 and sx126x) but I have nothing to test
Impact of changes
Management of TCXO is now working fine
return DIO mapping of sx1276 to low power state
Migration actions required
Documentation
Pull request type
Test results
Reviewers
@0xc0170 , @jeromecoutant , @MarceloSalazar