You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How could I add this to your library without having to modify it, which is what I had to do?
Also I tested your library as you had it in the beginning for the NUCLEO-WLE55JC1 board and everything worked correctly, I also tested it with the US915 and it still worked fine.
I guess the simpliest way would be in the src\BSP\radio_board_if.c to define config between board definition:
#if !defined(LORAWAN_BOARD_HAS_TCXO)
#if defined(NUCLEO_WL55JC1)
#define LORAWAN_BOARD_HAS_TCXO 1U
#elif defined(GENERIC_WL55CCUX) /* <-- or defined the RAK3172 variant in the core? */
#define LORAWAN_BOARD_HAS_TCXO 0U
#endif
#endif
@Lizethgm
I am tryng to execute the AT/Arduino of RAK (RUI) on STM32WL55JC, but i am getting always JOIN TXD TIMEOUT...looks that the problem is some wrong RF SWITCH GPIO selected by me...
Can you give a tip ? @fpistm
Congratulations! I will test in our South Korean LoRaWAN module :)
Actually the RAK3172 Arduino support provided by RAK is only for RUI3 (RAK UI), which mean using a closed source library blob from RAK, it is not "low level" like what stm32duino is doing.
As per my understanding:
RAK3172 Evaluation Board is a breakout board of the module
RAK3172 Module is based on the STM32WLE5CC, only the RFO_HP is wired to the antenna
RAK3172-SIP is based on the STM32WLE5JC, only the RFO_HP is wired to the antenna
RAK3172LP-SIP is based on the STM32WLE5JC, only the RFO_LP is wired to the antenna
So what is your advice on the integration @fpistm ? Add custom code under ARDUINO_RAK3172_MODULE, ARDUINO_RAK3172_SIP and ARDUINO_RAK3172LP_SIP ?
Or add common definition under ARDUINO_RAK3172 and only the RF switch config under dedicated defines?
Added to the new variant request list: stm32duino/Arduino_Core_STM32#722
I close this one as when variants added to the core with dedicated RF definitions, they will be supported.
Activity
fpistm commentedon Dec 22, 2022
Hi,
I guess the simpliest way would be in the src\BSP\radio_board_if.c to define config between board definition:
For RTC, default config is not correct?
Lizethgm commentedon Dec 23, 2022
Oh, thanks, I will try to do that
No, the rtc of the RAK3172 has two distinct things which are:
hrtc.Init.AsynchPrediv = 127;
hrtc.Init.SynchPrediv = 255;
Lizethgm commentedon Jan 6, 2023
Hi
Yes it worked, I put it this way to make it work:
In
STM32LoRaWAN-main\src\BSP\radio_board_if.cIn
STM32LoRaWAN-main\src\BSP\rtc.cAdd support for RAK3172 module by assuming its board description will…
tcpipchip commentedon Feb 18, 2023
@Lizethgm
I am tryng to execute the AT/Arduino of RAK (RUI) on STM32WL55JC, but i am getting always JOIN TXD TIMEOUT...looks that the problem is some wrong RF SWITCH GPIO selected by me...
Can you give a tip ?
@fpistm
Congratulations! I will test in our South Korean LoRaWAN module :)
tcpipchip commentedon Feb 21, 2023
I did now a blog using your STM32 LoRaWAN
https://lom204-cli-wisol.blogspot.com/2023/02/o-objetivo-deste-blog-e-demonstrar-como.html
fpistm commentedon Mar 23, 2023
Hi @Lizethgm
the good way to support the RAK3172 is to add the variant to the core.
It seems there is 3 variants:
tcpipchip commentedon Mar 23, 2023
And implement low power mode
fpistm commentedon Mar 23, 2023
Part of another issue #9
fpistm commentedon Mar 24, 2023
@Lizethgm , @tcpipchip
which RAK3172 you got?
fpistm commentedon Mar 24, 2023
Note that RAK provides Arduino support:
https://github.com/RAKWireless/RAKwireless-Arduino-BSP-Index
tcpipchip commentedon Mar 24, 2023
I dont have the RAK, i have the WISOL module...
I ported the RAK Arduino Code to run on WISOL.
But...it´s compatible,
Oliv4945 commentedon Mar 24, 2023
Actually the RAK3172 Arduino support provided by RAK is only for RUI3 (RAK UI), which mean using a closed source library blob from RAK, it is not "low level" like what stm32duino is doing.
As per my understanding:
So what is your advice on the integration @fpistm ? Add custom code under
ARDUINO_RAK3172_MODULE,ARDUINO_RAK3172_SIPandARDUINO_RAK3172LP_SIP?Or add common definition under
ARDUINO_RAK3172and only the RF switch config under dedicated defines?Thanks
fpistm commentedon Mar 25, 2023
I guess adding
ARDUINO_RAK3172is the simpliest way and define correct RF definition for each sub-variant.tcpipchip commentedon Mar 25, 2023
add too the LSM110A :)

i use this parameters to work with him
fpistm commentedon Mar 27, 2023
Added to the new variant request list: stm32duino/Arduino_Core_STM32#722
I close this one as when variants added to the core with dedicated RF definitions, they will be supported.