SPI error on RAK3172 (STM32WLx) #1475
Unanswered
mikechristiansen
asked this question in
Q&A
Replies: 1 comment 2 replies
-
In the code you linked, I don't see any TCXO setup. Also, it is definitely much better to include the TCXO voltage in the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, not sure if this is a bug or not so I started a discussion instead.
When running the example transmit code, I get a -707 SPI error on radio.begin.
This is the serial output.
[STM32WL] Initializing ... RLB_DBG:
RadioLib Info
Version: "7.1.2.0"
Platform: "Arduino STM32 (official)"
Compiled: "Apr 2 2025" "21:09:19"
RLB_DBG: -707 at .pio/libdeps/custom_rak3172/RadioLib/src/Module.cpp:279
RLB_DBG: Found SX126x: RADIOLIB_SX126X_REG_VERSION_STRING:
RLB_DBG: 00000320: 53 58 31 32 36 31 20 54 4b 46 20 31 41 31 31 00 SX1261 TKF 1A11.
RLB_DBG:
RLB_DBG: M SX126x
RLB_DBG: -707 at .pio/libdeps/custom_rak3172/RadioLib/src/Module.cpp:279
success!
success!
[STM32WL] Transmitting packet ... RLB_DBG: Timeout in 993 ms
success!
[STM32WL] Datarate: 618.56 bps
[STM32WL] Transmitting packet ... RLB_DBG: Timeout in 993 ms
success!
[STM32WL] Datarate: 618.56 bps
Code here - Modified baud rate and switch table from here
RadioLib/examples/STM32WLx/STM32WLx_Transmit_Blocking/STM32WLx_Transmit_Blocking.ino
Line 4 in ec78500
`
Im looking into these debugs as I get only a very weak LORA packet from my FANET weather project, initially suspecting the RF switch, then I found I have the -707 SPI error. https://github.com/mikechristiansen/WS-RAK3172l-fanet/blob/main/src/main.cpp
I have confirmed my TCXO settings, and if I change them I get several more -707 errors and the module wont start.
Appreciate any help!
Regards, Mike.
Beta Was this translation helpful? Give feedback.
All reactions