jgromes / RadioLib

Universal wireless communication library for embedded devices
https://jgromes.github.io/RadioLib/
MIT License
1.59k stars 395 forks source link

LLCC68,get error : 'RADIOLIB_ERR_CHIP_NOT_FOUND,with release6.0.0 #753

Closed bjfhskj closed 1 year ago

bjfhskj commented 1 year ago

With module LLCC68, when I use 6.0.0 or 5.7.0,I get error : 'RADIOLIB_ERR_CHIP_NOT_FOUND, but 5.6.0 all is right, MCU : ESP32 Arduino IDE version:2.1.0 Code:

include

SPIClass mySpi (HSPI); SPISettings spiSettings (2000000, MSBFIRST, SPI_MODE0); SX1262 radio = new Module (15, 16, 4, 17, mySpi, spiSettings); mySpi.begin (); int state = radio.begin(868.0, 125.0, 9, 7, 0x12, 18, 8, 0, false); if (state == RADIOLIB_ERR_NONE) { //Serial.println(F("success!")); } else { //Serial.print(F("failed, code ")); Serial.println(state); ////get error -2, RADIOLIB_ERR_CHIP_NOT_FOUND while (true); }

Describe the bug A clear and concise description of what the bug is. When applicable, please include debug mode output.

To Reproduce Minimal Arduino sketch to reproduce the behavior. Please use Markdown to style the code to make it readable (see Markdown Cheatsheet).

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Additional info (please complete):

jgromes commented 1 year ago

As stated in the issue template - please include debug mode output.

jgromes commented 1 year ago

Closing due to inactivity