Set CMT to 13dBm and added parameter values in plain text
This commit is contained in:
parent
67055276ca
commit
defcc02204
@ -1,10 +1,97 @@
|
|||||||
|
/*
|
||||||
|
;---------------------------------------
|
||||||
|
; CMT2300A Configuration File
|
||||||
|
; Generated by CMOSTEK RFPDK 1.46
|
||||||
|
; 2023.03.17 23:16
|
||||||
|
;---------------------------------------
|
||||||
|
; Mode = Advanced
|
||||||
|
; Part Number = CMT2300A
|
||||||
|
; Frequency = 860.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_H
|
#ifndef __CMT2300A_PARAMS_H
|
||||||
#define __CMT2300A_PARAMS_H
|
#define __CMT2300A_PARAMS_H
|
||||||
|
|
||||||
#include "cmt2300a_defs.h"
|
#include "cmt2300a_defs.h"
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
/* [CMT Bank] with RSSI offset of +- 0 (and 13dBm) */
|
/* [CMT Bank] with RSSI offset of +- 0 (and Tx power double bit not set) */
|
||||||
static uint8_t g_cmt2300aCmtBank[CMT2300A_CMT_BANK_SIZE] = {
|
static uint8_t g_cmt2300aCmtBank[CMT2300A_CMT_BANK_SIZE] = {
|
||||||
0x00,
|
0x00,
|
||||||
0x66,
|
0x66,
|
||||||
@ -118,8 +205,8 @@ static uint8_t g_cmt2300aTxBank[CMT2300A_TX_BANK_SIZE] = {
|
|||||||
0x07,
|
0x07,
|
||||||
0x50,
|
0x50,
|
||||||
0x00,
|
0x00,
|
||||||
0x42,
|
0x53,
|
||||||
0x0C,
|
0x09,
|
||||||
0x3F,
|
0x3F,
|
||||||
0x7F,
|
0x7F,
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user