Open Celliwig opened 2 months ago
Hi @Celliwig
You probably right.
Can you help test it again from the test branch? https://github.com/ehong-tl/micropySX126X/tree/test
Currently I don't have the hardware in hand for testing.
Sorry, I can't test it I'm afraid. Actually using this library as a basis for a Python implementation on a RPi (I have weird requirements in regards to handling CS lines so used this, rather than some other implementations).
Sorry about that...
In the class SX126X, 'setTCXO' is called after 'config' for both 'begin' and 'beginFSK'. 'config' runs the calibration command. The TCXO needs to be configured before calibration is run. so currently you have:
This needs to be changed to:
This led to a loss of several decibels going by the returned RSSI.