Skip to content

RADIOLIB_ERR_SPI_WRITE_FAILED (-16) #886

Discussion options

You must be logged in to vote

By default, RadioLib is quite paranoid when it comes to the SPI devices, and tries to verify SPI register writes by a subsequent read (where applicable). If the value did not change in hte expected way, it will return SPI failed error.

In your case, I would do a reset of the radio and then reconfigure the radio by calling the appropriate begin method. I don's think there's a need to reboot the node itself.

Or, if you're feeling lucky, you can disable the SPI checking.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@PureTek-Innovations
Comment options

Answer selected by PureTek-Innovations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants