cancel
Showing results for 
Search instead for 
Did you mean: 

Issue not receiving in RX2 with I-CUBE-LRWAN and Nucleo-L152RE

michaeldevid9
Associate
Posted on October 01, 2016 at 11:32

Hello,

We started development of a LoRaWAN Sensor with the I-CUBE-LRWAN software stack in combination with a NUCLEO-L152RE and SX1272MB2DAS expansion board.

I have made the following changes to the code after a clean download:

- Changed commissioning.h file to do ADP with my Lorank8 gateway 

- Disabled dutycycle in lora.c:81 

- Enabled LORAWAN_CONFIRMED_MSG

No what I expect from the code is to receive the confirm message send from the gateway in RX2. I checked with a IMST LoRaWAN node to check if the downlink message is actually send by the gateway but this node receives the downlink confirm message in RX2 without problem (This node uses a STM32L1CB MCU and runes this software: https://github.com/Lora-net/LoRaMac-node).  

But the issue is the almost unchanged I-CUBE-LRWAN software doesn�t receive anything in RX2. It does receive in RX1 fine. 

My guess is it has something to do with the L152RE MCU type.

I use Keil to compile and flash the software.

See my Loriot.io log below. As you can see the Node doesn�t receive the ACK and will retransmit for 8 times and then continue to the next sequence number. 

Thanks in advance!

Michael

Software used:

http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-expansion-software/i-cube-lrwan.html

0690X00000604vuQAA.png

#i-cube-lrwan
2 REPLIES 2
michaeldevid9
Associate
Posted on October 01, 2016 at 12:35

Looks like we solved it by changing the bitrate for RX2 to the right one. 

jnazemi9
Associate
Posted on November 17, 2016 at 17:03

Hi devid.michael.001, 

I have the same problem working with STM32L152RE in RX2. could you give me more information to solve this problem? 

Thanks in advance