cancel
Showing results for 
Search instead for 
Did you mean: 

SPSGRF-868 Narrow Range

Pradeep1
Associate
Posted on July 04, 2016 at 14:00

We are using SPSGRF module in one of our projects. We are not really pleased with the range of this module. So far the best range we could get was less than 1 m. We are using the P2P demo software Please see below the configuration pasted from the file spirit1_appli.h. Is it a hardware issue?  or a software misconfiguration issue? Please find the other details mentioned below,

SPI Clock Speed : 2MHz

<code>

/* Exported macro ------------------------------------------------------------*/

/*  Platform definition : Uncomment the used Shield */

#define X_NUCLEO_IDS01A4

//#define X_NUCLEO_IDS01A5

#if defined(X_NUCLEO_IDS01A4)

         #define USE_SPIRIT1_868MHz

#elif defined(X_NUCLEO_IDS01A5)

         #define USE_SPIRIT1_915MHz

#else

#error SPIRIT1 Expansion Board is undefined or unsupported

#endif

/*  Uncomment the Link Layer features to be used */

// #define USE_AUTO_ACK       

// #define USE_AUTO_ACK_PIGGYBACKING   

// #define USE_AUTO_RETRANSMISSION

#if defined(USE_AUTO_ACK)&& defined(USE_AUTO_ACK_PIGGYBACKING)&& defined(USE_AUTO_RETRANSMISSION)

#define USE_STack_PROTOCOL

   

/* LLP configuration parameters */

#define EN_AUTOACK                      S_ENABLE

#define EN_PIGGYBACKING                 S_ENABLE

#define MAX_RETRANSMISSIONS             PKT_N_RETX_2

#else

#define USE_BASIC_PROTOCOL

#endif

/*  Uncomment the system Operating mode */

//#define USE_LOW_POWER_MODE

#if defined (USE_LOW_POWER_MODE)

#define LPM_ENABLE

#define MCU_STOP_MODE

//#define MCU_SLEEP_MODE

//#define RF_STANDBY

#endif

/* Exported constants --------------------------------------------------------*/

/*  Radio configuration parameters  */

#define XTAL_OFFSET_PPM                 0

#define INFINITE_TIMEOUT                0.0

#ifdef USE_SPIRIT1_433MHz

#define BASE_FREQUENCY                  433.0e6

#endif

#ifdef USE_SPIRIT1_868MHz

#define BASE_FREQUENCY                  868.0e6

#endif

#ifdef USE_SPIRIT1_915MHz

#define BASE_FREQUENCY                  915.0e6

#endif

#define CHANNEL_SPACE                   20e3

#define CHANNEL_NUMBER                  0

#define MODULATION_SELECT               FSK

#define DATARATE                        38400

#define FREQ_DEVIATION                  20e3

#define BANDWIDTH                       100E3

#define POWER_DBM                       11.6

#define POWER_INDEX                     7

#define RECEIVE_TIMEOUT                 2000.0 /*change the value for required timeout period*/

#define RSSI_THRESHOLD                  -120

/*  Packet configuration parameters  */

#define PREAMBLE_LENGTH                 PKT_PREAMBLE_LENGTH_04BYTES

#define SYNC_LENGTH                     PKT_SYNC_LENGTH_4BYTES

#define CONFIG_SYNC_WORD                0xA55A5AA5

#define LENGTH_TYPE                     PKT_LENGTH_VAR

#define LENGTH_WIDTH                    7

#define CRC_MODE                        PKT_CRC_MODE_8BITS

#define CONTROL_LENGTH                  PKT_CONTROL_LENGTH_0BYTES

#define EN_ADDRESS                      S_ENABLE

#define EN_FEC                          S_ENABLE

#define EN_WHITENING                    S_ENABLE

/*  Addresses configuration parameters  */

#define EN_FILT_MY_ADDRESS                  S_ENABLE

#define CONFIG_MY_ADDRESS               0xFE

#define EN_FILT_MULTICAST_ADDRESS       S_ENABLE

#define OONFIG_MULTICAST_ADDRESS        0xFE

#define EN_FILT_BROADCAST_ADDRESS       S_ENABLE

#define CONFIG_BROADCAST_ADDRESS           0xFE

#define CONFIG_DESTINATION_ADDRESS      0xFF

#define EN_FILT_SOURCE_ADDRESS          S_ENABLE

#define SOURCE_ADDR_MASK                0xf0

#define SOURCE_ADDR_REF                     0x47

Waiting for your reply.

Thanks,

Pradeep Nalawade
0 REPLIES 0