Skip to main content
Associate II
May 28, 2024
Solved

LoRaWAN communication by I-CUBE-LRWAN

  • May 28, 2024
  • 2 replies
  • 2699 views

Hello all,

I am currently working on the different combinations of LoRa Wan and found out that I-Cube-LRWAN software expansion(https://www.st.com/en/embedded-software/i-cube-lrwan.html). For the stm32l476rg, I used the sx1262dvk1das and sx1276mb1mas and it's working fine as well connected to the gateway. Now I want to use the same software expansion I-Cube-LRWAN with the nucleo-f746 as base board and sx1262. But I am not getting any reference how to achieve it.  As I don't find any "mx " in I-Cube-LRWAN projects, I am unable to do create and port to new project it's showing many errors.

My queries were-

1. How to port I-Cube-LRWAN software expansion from nucleo-l4 series to nucleo-f7 series?

2. How to use I-Cube-LRWAN with new project?

3. Why there is no cube-mx for the examples?

I have been trying many examples and trying to find the solutions, but I am unable to get the solution.

Thanks & Regards,

Krithika. P

This topic has been closed for replies.
Best answer by STTwo-32

Hello @Krithika 

1- There is no specific guide on how to do that. but it should be easy. You have to migrate the interfaces and make them compatible with what is available on your new HW. Also, take care of the internal settings (that should be almost the same).

2- You have to create a new project and add the I-Cube-lrwan to this project (manually since that is not possible using the CubeMX) so you can call his functions inside your projects.

3- Some of our Cube packages where elaborated time before the integration of CubeMX. So, there examples are not using the MX implementation. 

Best Regards.

STTwo-32

2 replies

Tesla DeLorean
Guru
May 28, 2024

Probably few examples as Semtech's library has it's own unique expectations which don't fit well with CubeMX / HAL model. ie RTC time-base, Low Power

Review the current code and how you integrate that with code/functionality you want to add.

Going to need coding and porting skills.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
KrithikaAuthor
Associate II
May 29, 2024

Thank you for the response Tesla, I will learn and port as required.

STTwo-32
STTwo-32Best answer
ST Technical Moderator
May 28, 2024

Hello @Krithika 

1- There is no specific guide on how to do that. but it should be easy. You have to migrate the interfaces and make them compatible with what is available on your new HW. Also, take care of the internal settings (that should be almost the same).

2- You have to create a new project and add the I-Cube-lrwan to this project (manually since that is not possible using the CubeMX) so you can call his functions inside your projects.

3- Some of our Cube packages where elaborated time before the integration of CubeMX. So, there examples are not using the MX implementation. 

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.
KrithikaAuthor
Associate II
May 29, 2024

Thank you for the response, I will try to port and implement the library.