forked from tbnobody/OpenDTU
-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added frequency and command definitions for the 900 MHz band (North A…
…merica)
- Loading branch information
Showing
9 changed files
with
321 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,216 @@ | ||
/* | ||
;--------------------------------------- | ||
; CMT2300A Configuration File | ||
; Generated by CMOSTEK RFPDK 1.46 | ||
; 2023.03.17 23:16 | ||
;--------------------------------------- | ||
; Mode = Advanced | ||
; Part Number = CMT2300A | ||
; Frequency = 900.000 MHz | ||
; Xtal Frequency = 26.0000 MHz | ||
; Demodulation = GFSK | ||
; AGC = On | ||
; Data Rate = 20.0 kbps | ||
; Deviation = 20.0 kHz | ||
; Tx Xtal Tol. = 20 ppm | ||
; Rx Xtal Tol. = 20 ppm | ||
; TRx Matching Network Type = 20 dBm | ||
; Tx Power = +13 dBm | ||
; Gaussian BT = 0.5 | ||
; Bandwidth = Auto-Select kHz | ||
; CDR Type = Counting | ||
; CDR DR Range = NA | ||
; AFC = On | ||
; AFC Method = Auto-Select | ||
; Data Representation = 0:F-low 1:F-high | ||
; Rx Duty-Cycle = Off | ||
; Tx Duty-Cycle = Off | ||
; Sleep Timer = Off | ||
; Sleep Time = NA | ||
; Rx Timer = Off | ||
; Rx Time T1 = NA | ||
; Rx Time T2 = NA | ||
; Rx Exit State = STBY | ||
; Tx Exit State = STBY | ||
; SLP Mode = Disable | ||
; RSSI Valid Source = PJD | ||
; PJD Window = 8 Jumps | ||
; LFOSC Calibration = On | ||
; Xtal Stable Time = 155 us | ||
; RSSI Compare TH = NA | ||
; Data Mode = Packet | ||
; Whitening = Disable | ||
; Whiten Type = NA | ||
; Whiten Seed Type = NA | ||
; Whiten Seed = NA | ||
; Manchester = Disable | ||
; Manchester Type = NA | ||
; FEC = Enable | ||
; FEC Type = x^3+x^2+1 | ||
; Tx Prefix Type = 0 | ||
; Tx Packet Number = 1 | ||
; Tx Packet Gap = 32 | ||
; Packet Type = Variable Length | ||
; Node-Length Position = First Node, then Length | ||
; Payload Bit Order = Start from msb | ||
; Preamble Rx Size = 2 | ||
; Preamble Tx Size = 30 | ||
; Preamble Value = 170 | ||
; Preamble Unit = 8-bit | ||
; Sync Size = 4-byte | ||
; Sync Value = 1296587336 | ||
; Sync Tolerance = None | ||
; Sync Manchester = Disable | ||
; Node ID Size = NA | ||
; Node ID Value = NA | ||
; Node ID Mode = None | ||
; Node ID Err Mask = Disable | ||
; Node ID Free = Disable | ||
; Payload Length = 32 | ||
; CRC Options = IBM-16 | ||
; CRC Seed = 0 crc_seed | ||
; CRC Range = Entire Payload | ||
; CRC Swap = Start from MSB | ||
; CRC Bit Invert = Normal | ||
; CRC Bit Order = Start from bit 15 | ||
; Dout Mute = Off | ||
; Dout Adjust Mode = Disable | ||
; Dout Adjust Percentage = NA | ||
; Collision Detect = Off | ||
; Collision Detect Offset = NA | ||
; RSSI Detect Mode = At PREAM_OK | ||
; RSSI Filter Setting = 32-tap | ||
; RF Performance = High | ||
; LBD Threshold = 2.4 V | ||
; RSSI Offset = 0 | ||
; RSSI Offset Sign = 0 | ||
*/ | ||
#ifndef __CMT2300A_PARAMS_900_H | ||
#define __CMT2300A_PARAMS_900_H | ||
|
||
#include "cmt2300a_defs.h" | ||
#include <stdint.h> | ||
|
||
#define CMT_BASE_FREQ_900 900000000 | ||
|
||
/* [CMT Bank] with RSSI offset of +- 0 (and Tx power double bit not set) */ | ||
static uint8_t g_cmt2300aCmtBank_900[CMT2300A_CMT_BANK_SIZE] = { | ||
0x00, | ||
0x66, | ||
0xEC, | ||
0x1C, | ||
0x70, | ||
0x80, | ||
0x14, | ||
0x08, | ||
0x11, | ||
0x02, | ||
0x02, | ||
0x00, | ||
}; | ||
|
||
/* [System Bank] */ | ||
static uint8_t g_cmt2300aSystemBank_900[CMT2300A_SYSTEM_BANK_SIZE] = { | ||
0xAE, | ||
0xE0, | ||
0x35, | ||
0x00, | ||
0x00, | ||
0xF4, | ||
0x10, | ||
0xE2, | ||
0x42, | ||
0x20, | ||
0x0C, | ||
0x81, | ||
}; | ||
|
||
/* [Frequency Bank] 900 MHz */ | ||
static uint8_t g_cmt2300aFrequencyBank_900[CMT2300A_FREQUENCY_BANK_SIZE] = { | ||
0x45, | ||
0x46, | ||
0x0A, | ||
0x84, | ||
0x45, | ||
0x3B, | ||
0xB1, | ||
0x13, | ||
}; | ||
|
||
/* [Data Rate Bank] */ | ||
static uint8_t g_cmt2300aDataRateBank_900[CMT2300A_DATA_RATE_BANK_SIZE] = { | ||
0xA6, | ||
0xC9, | ||
0x20, | ||
0x20, | ||
0xD2, | ||
0x35, | ||
0x0C, | ||
0x0B, | ||
0x9F, | ||
0x4B, | ||
0x29, | ||
0x29, | ||
0xC0, | ||
0x14, | ||
0x05, | ||
0x53, | ||
0x10, | ||
0x00, | ||
0xB4, | ||
0x00, | ||
0x00, | ||
0x01, | ||
0x00, | ||
0x00, | ||
}; | ||
|
||
/* [Baseband Bank] - EU */ | ||
static uint8_t g_cmt2300aBasebandBank_900[CMT2300A_BASEBAND_BANK_SIZE] = { | ||
0x12, | ||
0x1E, | ||
0x00, | ||
0xAA, | ||
0x06, | ||
0x00, | ||
0x00, | ||
0x00, | ||
0x00, | ||
0x48, | ||
0x5A, | ||
0x48, | ||
0x4D, | ||
0x01, | ||
0x1F, | ||
0x00, | ||
0x00, | ||
0x00, | ||
0x00, | ||
0x00, | ||
0xC3, | ||
0x00, | ||
0x00, | ||
0x60, | ||
0xFF, | ||
0x00, | ||
0x00, | ||
0x1F, | ||
0x10, | ||
}; | ||
|
||
/* [Tx Bank] 13 dBm */ | ||
static uint8_t g_cmt2300aTxBank_900[CMT2300A_TX_BANK_SIZE] = { | ||
0x70, | ||
0x4D, | ||
0x06, | ||
0x00, | ||
0x07, | ||
0x50, | ||
0x00, | ||
0x53, | ||
0x09, | ||
0x3F, | ||
0x7F, | ||
}; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.