LMiC - v1.5 porting to EFM32 and using SX1272MB2xAS Expansion board

Hi All,

I am very new to LoRa and working on LoRa connectivity option for my product. Further I am trying to port LMiC v1.5 lib to EFM32 since my products are based on EFMPG, for now I am using ZeroGecko starter kit with SX1272MB2xAS Expansion board. After porting the code, and running it on the ZeroGecko, I can see expected waveforms on SPI - MOSI, MISO, CLK, CS and also on the RST, but I can’t see any LoRa RF signal on RF spectrum analyzer. I am trying to run “Transmit” example and I see that there is no IRQ on any DIO pins.

Has anyone worked on similar setup? Requesting your help …
Thanks in advance!

Forget LMiC, it is outdated
you can use my port

I recommend LoRaMac-node instead

Thank you so much Nestorayuso!

The Dramco seems like convoluted (just my feeling :smile: ), much of the hardware init code is normally generated using Hardware Configurator in Simplicity Studio. LMiC looks pretty straight forward as compared to Dramco. But I will try to work on both - your port MiraKonta and Dramco, and see how it goes…

Thanks again!

Hi All

I could update the LoRaWan_EFM32 for my setup and the code compiles fine…

But there is no activity on the SPI pins for SX1272 :cold_sweat: The MCU GPIO ports, 2 Push buttons, 2 LEDs and SPI are initialized, PushButton ISR also fires and toggles the LED0 etc. But I found that in the debug mode, the execution does not reach to

void SX1272Init( RadioEvents_t *events )

line in sx1272.c So I guess obviously SX1272 is doing nothing. Can anyone please help me out?
I would really appreaciate prompt help…

Thanks
Silas

I also ran the following line of code in the PushButton ISR

data = SX1272Read( 0x42 );

which reads the SX1272 register and the MOSI, MISO and CLK show expected waveforms. That means SX1272 and board are all setup and working fine.

Any suggestions?
Thanks
Silas

Hi
I looked at other LoRaMac-Node implementations and found that I should move to one of that and adopt it for EFM32.
Thanks
Silas