Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Bug]: high-power mode broken in v1.5.0 release

Aperta
#107 2 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@MKISTM ci sta già lavorando.

Dal 26/3/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

bug internal bug tracker lorawan projects wireless
Bug Summary

High-power mode can not be used in v1.5.0 release (examples and sx126x driver)

Detailed Description

Steps to reproduce on a NUCLEO-WL55JC board

  1. Open the LoRaWAN_End_Node_LBM application example from STM32CubeWL v1.5.0 release
  2. Explicitely modify the BSP driver so that high-power mode is used by default (make function BSP_RADIO_GetTxConfig return RADIO_CONF_RFO_HP rather than RADIO_CONF_RFO_LP_HP)
  3. Hook an oscilloscope or logic probe on PC4 (RF_SW_CTRL1). The signal shall go LOW when high-power mode is selected:
Image
  1. Debug the example and confirm that in ral_sx126x_bsp_get_tx_cfg function paSelect is set to RFO_HP and that configured output_params power are indeed the highest (high-power mode)
  2. PC4 never goes LOW during TX

Cause

No surprise PC4 never goes LOW: in sx126x.c file, function sx126x_set_ant_switch, paSelect is hardcoded to RFO_LP. If changed to RFO_HP, PC4 will go LOW during TX as it should.

Side note

How come in the LoRaWAN v1.5.0 examples, one cannot explicitely configure the TX power level?

Expected Behavior

PC4 should go LOW during TX phase when high-power mode is used

Actual Behavior

PC4 never goes LOW during TX phase (no high-power mode achieved)

Environment

NUCLEO-WL55JC1, STM32CubeWL v1.5.0, STM32CubeIDE v2.1.1

Severity

Major

Lingua principale
C
Stelle
167
Fork
83
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di STMicroelectronics/STM32CubeWL

Tutte le issue di STMicroelectronics/STM32CubeWL

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.