Skip to content

[Bug]: wio-e5 radio fails to initialize #5991

Closed
@dchokola

Description

@dchokola

Category

Hardware Compatibility

Hardware

Other

Firmware Version

2.5.20

Description

The SK1262 inside the STM32WLE5JC needs its TCXO initialized. Documentation says to set it 200 mV below Vcc.

This one-liner does the job:

--- a/src/mesh/STM32WLE5JCInterface.cpp
+++ b/src/mesh/STM32WLE5JCInterface.cpp
@@ -18,6 +18,8 @@ bool STM32WLE5JCInterface::init()
 {
     RadioLibInterface::init();
 
+    SX126xInterface::setTCXOVoltage(3.0f);
+
     lora.setRfSwitchTable(rfswitch_pins, rfswitch_table);
 
     if (power > STM32WLx_MAX_POWER) // This chip has lower power limits than some

Relevant log output

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions