2019-04-02 10:11 AM
2019-04-02 11:56 AM
https://drive.google.com/open?id=1s6FfDQi7rhOwWhw1iOlF76DH0ag9gM3v
2019-04-02 11:26 AM
What version specifically do you want, I've got a bunch of versions mirrored, and ST doesn't look to provide a "version" option on the download button for the I-CUBE_LRWAN.ZIP
2019-04-02 11:41 AM
I want version 1.1.4 of I-CUBE_LRWAN.ZIP.
Thank you for your help
2019-04-02 11:56 AM
https://drive.google.com/open?id=1s6FfDQi7rhOwWhw1iOlF76DH0ag9gM3v
2019-04-02 12:03 PM
Thank you very much.
2019-04-02 03:54 PM
@Community member I think i'm missing somthing. I'm using a Nucleo-L073RZ and an I-NUCLEO-LRWAN1 .
I downloaded the End_Node and the At_Master projects after applying the patch of this link https://github.com/USIWP1Module/USI_I-NUCLEO-LRWAN1/tree/master/I-CUBE-LRWAN_patchs/I-CUBE-LRWAN%201.1.4 on the Nucleo-L073RZ board using Keil. But i have nothing on my Raspberry Pi gateway.
Normaly i need to send data at 868.1 MHz with SF7 to the gateway.
I dont know what to do.
2019-04-02 05:11 PM
You're going to have to add some debug headers, and instrument the code to understand the situation. You are going to want to start by confirming the radio settings and frequencies.
2019-04-03 07:07 AM
To apply the patch ( for example the End_Node project) :
1- I add this in sx1272Regs-Lora.h and sx1272Regs-Fsk.h
#define RFLR_PACONFIG_PASELECT_RFO 0x80 // Default
2- Then
#define LORAWAN_DUTYCYCLE_ON false
#define USE_SEMTECH_DEFAULT_CHANNEL_LINEUP 1
3-After that i modify void SX1272IoDeInit( void ) and void SX1272SetAntSw( uint8_t opMode )
void SX1272IoInit( void )
{
GPIO_InitTypeDef initStruct={0};
SX1272BoardInit( &BoardCallbacks );
initStruct.Mode = GPIO_MODE_IT_RISING;
initStruct.Pull = GPIO_PULLDOWN;
initStruct.Speed = GPIO_SPEED_HIGH;
HW_GPIO_Init( RADIO_DIO_0_PORT, RADIO_DIO_0_PIN, &initStruct );
HW_GPIO_Init( RADIO_DIO_1_PORT, RADIO_DIO_1_PIN, &initStruct );
HW_GPIO_Init( RADIO_DIO_2_PORT, RADIO_DIO_2_PIN, &initStruct );
HW_GPIO_Init( RADIO_DIO_3_PORT, RADIO_DIO_3_PIN, &initStruct );
/* Initialize I-NUCLEO-LRWAN1 Antenna IO */
initStruct.Mode =GPIO_MODE_OUTPUT_PP;
initStruct.Pull = GPIO_NOPULL;
initStruct.Speed = GPIO_SPEED_HIGH;
HW_GPIO_Init( RADIO_ANT_SWITCH_PORT, RADIO_ANT_SWITCH_PIN, &initStruct );
HW_GPIO_Init( RADIO_ANT2_SWITCH_PORT, RADIO_ANT2_SWITCH_PIN, &initStruct );
}
------------------
void SX1272SetAntSw( uint8_t opMode )
{
switch( opMode )
{
case RFLR_OPMODE_TRANSMITTER:
SX1272.RxTx = 1;
HW_GPIO_Write( RADIO_ANT_SWITCH_PORT, RADIO_ANT_SWITCH_PIN, 1);
HW_GPIO_Write( RADIO_ANT2_SWITCH_PORT, RADIO_ANT2_SWITCH_PIN, 0);
break;
case RFLR_OPMODE_RECEIVER:
case RFLR_OPMODE_RECEIVER_SINGLE:
case RFLR_OPMODE_CAD:
default:
SX1272.RxTx = 0;
HW_GPIO_Write( RADIO_ANT_SWITCH_PORT, RADIO_ANT_SWITCH_PIN, 0);
HW_GPIO_Write( RADIO_ANT2_SWITCH_PORT, RADIO_ANT2_SWITCH_PIN, 1);
break;
}
}
4- And finaly i modify stm32l0xx_hw_conf.h
But when i make #define USARTX_TX_PIN GPIO_PIN_2; I have this in the Terminal
OTAA
DevEui= 39-30-30-30-6E-36-93-18
AppEui= 01-01-01-01-01-01-01-01
AppKey= 2B 7E 15 16 28 AE D2 A6 AB F7 15 88 09 CF 4F 3C
VERSION: 44041140
txDone
rxDone
txDone
rxDone
txDone
And when i make #define USARTX_TX_PIN GPIO_PIN_14; I have nothing on the Terminal
In both case my gateway receive nothing.
5-And I want to ask where in the project for example End_Node or AT_Master, i can change the frequency to exactly 868.1 instead of 868
2019-09-27 01:54 AM
There were Patch 1.2.2 released recently by USI: https://github.com/USIAndyrich/USI_I-NUCLEO-LRWAN1/tree/master/I-CUBE-LRWAN_patchs/I-CUBE-LRWAN%201.2.2
2020-07-18 02:28 PM
@Community member ,
Could you please share I-CUBE-LRWAN 1.2.2?
The newest patch from USI is for 1.2.2.
BR,
Sindre