2024-02-15 09:42 PM
I use a RAK3172 module for a 434 MHz LoRa APRS application but I don´t get a SubGHz interrupt during transmission. The output from my code is the following:
APRS Demo
Application version: V1.3.0
Radio version: V1.3.0
Radio settings
LoRa Bandwidth: 125 kHz
LoRa Spreading factor: 12
LoRa Frequency: 433775000
Device reset...
Initialization successful!
Go
I tested the code before on an STM32WL Nucleo and there it runs fine. So I think there is some issue with the port to the RAK platform.
I add the link to the GitHub repository so you can checkout the complete codebase because ZIP files aren´t allowed.
https://github.com/Kampi/LoRa-GPS-Tracker/tree/1.1_Dev
Thanks for your support!
Solved! Go to Solution.
2024-04-15 02:41 AM
Hi @STTwo-32
I already found a solution. It looked like the pinout for the RF switch was wrong. After fixing it everything works smoothly.
2024-02-15 10:52 PM
Hello @Kampi
As the problem is on a module that use the STM32WL but it is designed by a third party.
So, it will be better to ask this question on his forum since everything works fine with the STM32WL.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-02-16 03:57 AM - edited 2024-02-16 03:58 AM
Hi @STTwo-32
I don´t think it´s a hardware issue because I don´t get a Tx complete interrupt from the SubGHz radio, so the callback isn´t called. So it´s an issue with the STM32WLE.
2024-02-16 04:01 AM
You may have to ensure that you have correctly migrated your project to the STM32WLE MCU. Refer to the MCUs datasheets and reference manuals.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-02-16 10:39 AM
Hi,
I have imported my reference project again into a STM32WLE project and I made sure that the reference project is working on my Nucleo. However the project doesn´t work on the STM32WLE. The function "OnTxDone" in "subghz_phy_app.c" isn´t called.
On which point does it make sense for starting the search?
2024-04-15 02:33 AM
Hello @Kampi
What I suggest you is to Debug the Code and visualize the Radio signals on an oscilloscope or Logic analyzer. I think you can find the issue.
Note that the Nucleo-WL55jc1 is using a dual core MCU and the STM32WLE is a single core.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-04-15 02:41 AM
Hi @STTwo-32
I already found a solution. It looked like the pinout for the RF switch was wrong. After fixing it everything works smoothly.