-
Notifications
You must be signed in to change notification settings - Fork 387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No tx on Seeed Studio E5 module (STM32WLE5xxxx) #798
Comments
Stupidly easy fix. setOutputPower() values below 15 generate no output on this module. Values of 15-22 work as expected. |
This is an interesting corner case, maybe the Also, right now you will not be able to set power lower than 15 dBm, even though the HP amplifier can actually go as low as -9 dBm. |
just my 2 cents it’s may be because E5 has no LP path just HP RAK 3172 had same issue until they released the LP version scratched my head a lot on this one I made some PR on mbed to get things to work |
IMPORTANT: Check the wiki
Before submitting new issue, please check the Wiki and the API documentation. You might find a solution to your issue there.
Describe the bug
Using any of the supplied Lora TX examples for the Nucleo WL55 board with the rfswitch_pins[] array configured for PA4,PA5,PA5 allows the application to build and run on the target with no error messages returned by the driver but no RF is output from the SX126x. (Confirmed with R&S spectrum analyser in case it appeared at an unexpected frequency).
To Reproduce
Insert this code block into example sketches, select E5 module from official STM32duino v2.6.0 board list.
// Setup for E5 module
static const uint32_t rfswitch_pins[] = {PA4, PA5, PA5};
static const Module::RfSwitchMode_t rfswitch_table[] = {
{STM32WLx::MODE_IDLE, {LOW, LOW, LOW}},
{STM32WLx::MODE_RX, {HIGH, LOW, LOW}},
{STM32WLx::MODE_TX_LP, {LOW, HIGH, HIGH}}, // No LP mode just HP
{STM32WLx::MODE_TX_HP, {LOW, HIGH, HIGH}},
END_OF_MODE_TABLE,
};
Expected behavior
RF output from SX126x module as per radiolib supplied example files.
Additional info (please complete):
Hardware works with my RIOT OS code and LoraWAN examples within Arduino 2.1.1
The text was updated successfully, but these errors were encountered: