-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Hello!
It appears that the current version of this library is unable to wake up LLCC68 (Ra-01SC) from sleep.
In the datasheet, it is mentioned that the BUSY pin is held HIGH while in sleep, but the current implementation for wakeup will call the GetStatus function, and that waits for the BUSY pin to be LOW before continuing.
Because of this, calling wakeup will just make the code get stuck waiting forever.
It is a simple fix though, it is just necessary to pull the NSS pin to LOW for a short while
This worked for me:
void SX126x::Wakeup(void) { digitalWrite(SX126x_SPI_SELECT, LOW); delay(1); digitalWrite(SX126x_SPI_SELECT, HIGH); }
I am not sure how this was overlooked in #7 as it is closely related
Metadata
Metadata
Assignees
Labels
No labels