Comments (6)
Extension after wondering why it is always 5 seconds to return from sleep().
From the datasheet
9.3 Sleep Mode
In this mode, most of the radio internal blocks are powered down or in low power mode and optionally the RC64k clock
and the timer are running. The chip may enter this mode from STDBY_RC and can leave the SLEEP mode if one of the
following events occurs:
• NSS pin goes low in any case
• RTC timer generates an End-Of-Count (corresponding to Listen mode)
When the radio is in Sleep mode, the BUSY pin is held high.
Which means when you send the sleep command, BUSY will go high and held high until the chip wakes up again. So the SPIwriteCommand
will always go to timeout with the current implementation.
I want to move this from feature request to bug-fix. Wait for busy should be always false for the sleep() command.
from radiolib.
You're right, obviously it makes no sesnse to wait for BUSY to drop low in sleep mode. That's probably why I added the waitForBusy
parameter - and then forgot to actually use it...
from radiolib.
Should be fixed in a04a376, release later today or tomorrow.
from radiolib.
Thanks!
Let's see what else I stumple upon 😉
from radiolib.
More bugs, probably - I was in bit of a hurry when writing the SX126x driver ;)
from radiolib.
@jgromes
Before you make a release, I would have an enhancement to Sx126x driver - possibility to set a sync word length in bits. I just have to write down the issue and sum up possible solutions. Probably later on today.
from radiolib.
Related Issues (20)
- LoRaWAN: implement LinkCheck and TimeReq HOT 3
- Si4063 Support Recommendation HOT 2
- BW and FHSS problem HOT 2
- SX1278 Low Battery Action HOT 3
- sx1280 (e28-2g4m12s) and NUCLEO32 boards Issue HOT 1
- Radiolib fails to build with -DRADIOLIB_EXCLUDE_SX1231 HOT 1
- Debug not working HOT 1
- Lora module missing packets in channel scan mode...but no missing packet in contineous receive mode HOT 1
- RadioLib 6.4.1 LoRaWAN isseu HOT 10
- LoRaWAN: fcntUp wraps after 50 transmissions HOT 5
- ABP does not work on SX1262 EU868 with Platformio - There are no channels defined - are you in ABP mode with no defined subband? HOT 17
- LoRaWAN Downlink HOT 8
- High % of CRC Errors in SF12 and similar configurations, HOT 2
- SX1278 LoRa exmples compiling. Transmitter emits signal but Receiver getting timeout in a loop HOT 3
- [LORAWAN] sending uplink packet… failed code -4 HOT 31
- Test LoRaWAN LinkCheck & DeviceTime HOT 2
- Wiki correction, E22-900M30S HOT 3
- LoRaWAN OTAA saves join session data in background but not f_cnt HOT 1
- Lora SX1268 sleep mode power consumption issue HOT 1
- SetPowerOutput(20, false) not working HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from radiolib.