-
Notifications
You must be signed in to change notification settings - Fork 2
/
ti_radio_config.h
68 lines (52 loc) · 2.15 KB
/
ti_radio_config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/*
* ======== ti_radio_config.h ========
* Configured RadioConfig module definitions
*
* DO NOT EDIT - This file is generated for the CC1312R1F3RGZ
* by the SysConfig tool.
*
* Radio Config module version : 1.10
* SmartRF Studio data version : 2.22.0
*/
#ifndef _TI_RADIO_CONFIG_H_
#define _TI_RADIO_CONFIG_H_
#include <ti/devices/DeviceFamily.h>
#include DeviceFamily_constructPath(driverlib/rf_mailbox.h)
#include DeviceFamily_constructPath(driverlib/rf_common_cmd.h)
#include DeviceFamily_constructPath(driverlib/rf_prop_cmd.h)
#include <ti/drivers/rf/RF.h>
/* SmartRF Studio version that the RF data is fetched from */
#define SMARTRF_STUDIO_VERSION "2.22.0"
// *********************************************************************************
// RF Frontend configuration
// *********************************************************************************
// RF design based on: LAUNCHXL-CC1312R1 (CC1352EM-XD7793-XD24)
#define LAUNCHXL_CC1312R1
// RF frontend configuration
#define FRONTEND_SUB1G_DIFF_RF
#define FRONTEND_SUB1G_EXT_BIAS
// Supported frequency bands
#define SUPPORT_FREQBAND_868
// TX power table size definitions
#define TXPOWERTABLE_868_PA13_SIZE 20 // 868 MHz, 13 dBm
// TX power tables
extern RF_TxPowerTable_Entry txPowerTable_868_pa13[]; // 868 MHz, 13 dBm
//*********************************************************************************
// RF Setting: SimpleLink Long Range, 5 kbps (20 ksps), 5 kHz Deviation, 2-GFSK, 34 kHz RX Bandwidth, FEC = 1:2, DSSS = 1:2
//
// PHY: slr5kbps2gfsk
// Setting file: setting_tc480.json
//*********************************************************************************
// PA table usage
#define RF_PROP_TX_POWER_TABLE_SIZE_SL_LR TXPOWERTABLE_868_PA13_SIZE
#define PROP_RF_txPowerTable_sl_lr txPowerTable_868_pa13
// TI-RTOS RF Mode object
extern RF_Mode RF_prop_sl_lr;
// RF Core API commands
extern rfc_CMD_PROP_RADIO_DIV_SETUP_t RF_cmdPropRadioDivSetup_sl_lr;
extern rfc_CMD_FS_t RF_cmdFs_sl_lr;
extern rfc_CMD_PROP_TX_t RF_cmdPropTx_sl_lr;
extern rfc_CMD_PROP_RX_ADV_t RF_cmdPropRxAdv_sl_lr;
// RF Core API overrides
extern uint32_t pOverrides_sl_lr[];
#endif // _TI_RADIO_CONFIG_H_