Closed sigmashig closed 1 year ago
As per the LLCC68 datasheet, device error 0x20 is "XOSC failed to start". The default configuration for LLCC68 is to use TCXO with 1.6V reference voltage. Based on the error, I would guess that either your modules do not have a TCXO, or its reference voltage is different. Either way, it is configured by setting the tcxoVoltage
argument of the begin
method.
Sure. The init string radio.begin(434.0, 125.0, 9, 7, 0x12, 10, 8, 0, false); resolve the problem. As I can see, this problem is reproduced for a lot of LLCC68 modules. Maybe it makes sense to change the default to this parameter or add it to the Readme/header/... ?
You are right that this pops up from time to time. Searching through the issues, I found a couple that were the same, so I changed the default configuration for LLCC68 to XTAL. We'll see how many people will have the opposite problem. BTW you can also do this by radio.XTAL = true;
prior to radio.begin()
.
I also added a few comments to the SX126x/LLCC68 documentation - although I would like to point out that this is already exaplined in the documentation for the -707 error code: https://jgromes.github.io/RadioLib/group__status__codes.html#gabc695a4fae689e856ae6f618e334066f
Sketch that is causing the module fail
Hardware setup I have tested several modules with chip LLCC68: E220-400M30S and RA-01SC. Both failed with the same error. Simultaneously, this script is working well with RA-02 (SX1278) with using correspondent class. So, I'm sure that I wire it correctly and SPI is working well.
ESP32-WROOM DevKit Wiring: MOSI - GPIO23 (VSPI MOSI) MISO - GPIO19 (VSPI MISO) SCK - GPIO18 (VSPI CLK) NSS - GPIO32 DIO1 - GPIO33 BUSY - GPIO25 NRST - GPIO27
Debug mode output
Additional info (please complete):