Reply
Highlighted
Posts: 2
Registered: ‎04-05-2015

How can i make header file on WDS?

Dear Sir,

 

I used SI4463, so I want to change frequency, baudrate etc...

I found following data on other person of  source code.

But I can't make same heder file on WDS 3.2 version.

How can i make this?

 

#define CENTER_FREQ 447867500
#define XTAL_FREQ 30000000
#define CHANNEL_SPACING 250000
#define CHANNEL_NUMBER 0
#define XTAL_CAP_BANK 0x52
#define MODULATION_TYPE "2FSK"
#define MODULATION_TYPE_VALUE 2
#define MANCHESTER_CODE "Off"
#define MANCHESTER_CODE_VALUE 0
#define DEVIATION 3500
#define DATA_RATE 1200
#define ANTENNA_DIVERSITY "Disabled"
#define ANTENNA_DIVERSITY_VALUE 0


// # WB filter 3 (BW = 46.31 kHz); NB-filter 3 (BW = 46.31 kHz)

// Modulation index: 7


// # Warning:
// # Modulation index is >=2, async demodulator is used

// Calculator svn revision 6181

// EZRadio PRO2 modem calculator output header file modem_params.h

// RF frequency is 447.99 MHz
// Mod type: 2FSK, DataRate: 1.00 ksps; FreqDev: 3.50 kHz; RX BW: 43.00 kHz

// all for TX in this section:
// DataRate: 3 API bytes; NCOMODulus: 4 bytes; FreqDev: 3 bytes, for TX
#define MODEM_DATA_RATE_2_14 0x11, 0x20, 0x0A, 0x03, 0x00, 0x03, 0xE8, 0x00, 0x2D, 0xC6, 0xC0, 0x00, 0x00, 0xF5
#define MODEM_TX_RAMP_DELAY_5 0x11, 0x20, 0x01, 0x18, 0x01
// PA ramp time control: 1 byte
#define PA_TC_5 0x11, 0x22, 0x01, 0x03, 0x1C


// all for general parameters in both TRX
#define MODEM_MOD_TYPE_7 0x11, 0x20, 0x03, 0x00, 0x02, 0x00, 0x07
#define MODEM_CLKGEN_BAND_5 0x11, 0x20, 0x01, 0x51, 0x0A
// SYNTH CONTROL GROUP: 7 API bytes, for both TRX
#define SYNTH_PFDCP_CPFF_11 0x11, 0x23, 0x07, 0x00, 0x2C, 0x0E, 0x0B, 0x04, 0x0C, 0x73, 0x03
// FREQ CONTROL GROUP: 8 API bytes, TRX
#define FREQ_CONTROL_INTE_12 0x11, 0x40, 0x08, 0x00, 0x3A, 0x0D, 0xDA, 0x74, 0x00, 0x00, 0x20, 0xFE