cancel
Showing results for 
Search instead for 
Did you mean: 

Creating BSP for Custom STM32 Board with I-CUBE-LRWAN

BSada.1
Associate

I have a custom board with STM32 microcontroller and SX1261 Radio Module. I am familiar with I-CUBE-LRWAN from ST Micro. I used the I-CUBE-LRWAN Package in a Nucleo Board and it is working fine. I understand that I need to create a new BSP if using custom board. How can I create my own BSP for the custom board including I-CUBE-LRWAN? What files should be added? Thanks

1 REPLY 1

It depends how divergent from the reference design you are.

For pin level differences on the radio there is typically a xyz_hw_conf.h file

STM32CubeExpansion_LRWAN_V1.1.1\Projects\Multi\Applications\LoRa\ProjectX\inc\mlm32l0xx_hw_conf.h

Things like UARTs, pins, IRQ and DMA, it can get a little move involved, and ST has improved it over the years.

Things I'd watch for are how the antenna/RF path is switched for Rx vs Tx, TxBoost and if the TCXO is switched via a DIO pin

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..