Closed tripla-m closed 1 year ago
The presence of TCXO or XTAL is a property of your Ebyte module, not of LLCC68 chip inside it. There are other manufacturers that have an LLCC68-based module (e.g. NiceRF, RadioControlli, and maybe others)
If you can show that TCXO is not commonly used on those modules, then we can discuss changing the default.
Sorry, I hadn't thought that other modules might have a TCXO crystal. I have to stop working at night.
Thank you.
No worries, I'm fine with changing the default value, but it needs to be justified. Currently it's 1.6 because it seems that most SX16x modules use TCXO. But if that stops being the case, it can be adjusted.
Describe the bug Using the default values for the LLCC68 chip returns code error -707 when the radio module is booted up. This is caused by an incorrect TCXO value on LLCC68.h file. I've seen other users complain about this, for example here: #353
To Reproduce For reproduce the problem i used SX126x_Trasmit example with only one change Substitute this
with this
When I upload the code to the board (Arduino DUE), I read this from the serial monitor:
[SX1262] Initializing ... failed, code -707
Expected behavior If the default parameters are used
I expect everything to work correctly.
There are two ways to fix this: 1) set TCXO = 0, like this:
2) change the default tcxoVoltage value on LLCC68.h file from this (row 46, look directly
float tcxoVoltage = 1.6
):to this (
float tcxoVoltage = 0
):This modification allows you to use radio.begin(); without setting TCXO = 0
Additional info: