Skip to content

Waking up LLCC68 #18

@andrejtetkic

Description

@andrejtetkic

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

Image

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions