2025-07-28 11:04 PM
Hello all,
I'm currently working on bringing up the CMWX1ZZABZ-078 module from Murata. This module integrates an STM32L082 microcontroller connected to an SX1276 via SPI1, RESET, and DIO0–DIO3.
The datasheet for the module is available here:
https://www.murata.com/en-eu/products/connectivitymodule/lpwa/overview/lineup/type-abz-078
I'm using the STM32CubeExpansion_LRWAN_V2.1.0 package (downloaded as i-cube_lrwan.zip) from ST. Specifically, I'm working with the following project path:
...\Projects\B_L072Z_LRWAN1\Applications\LoRaWAN\LoRaWAN_End_Node\STM32CubeIDE\cmwx1zzabz_0xx
This project is designed for the B-L072Z-LRWAN1 board, which uses the STM32L072 and interfaces with the SX1276.
My goal is to port this project to the STM32L082 and bring up the LoRa module to transmit data from the end node using OTAA.
I have the following questions:
How can I replace the linker script for STM32L072 with one for STM32L082?
Are there official linker files available, or should I manually modify the existing one?
How can I use the interfaces provided in:
...\STM32CubeExpansion_LRWAN_V2.1.0\Drivers\BSP\CMWX1ZZABZ_0xx\cmwx1zzabz_0xx.c
to configure the BSP for LoRaWAN on my custom board?
Currently, lora_app.c uses b-l072z-lrwan1.c, which may not be suitable for the STM32L082-based board.
In sys_app.c, the functions Sx_Board_Bus_Init(); (line 122) and Sx_Board_IoInit(); (line 124) are called from SystemApp_Init().
Where are these functions defined? Are they part of the BSP for the SX1276 or part of the board abstraction? Could you please provide more details on what these functions initialize and how to adapt them for a custom board?
Thanks in advance for your support.
Best regards,
Prats