-
-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathTI_CC1352P1_LAUNCHXL_915.syscfg
60 lines (53 loc) · 2.96 KB
/
TI_CC1352P1_LAUNCHXL_915.syscfg
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
/**
* These arguments were used when this file was generated. They will be automatically applied on subsequent loads
* via the GUI or CLI. Run CLI with '--help' for additional information on how to override these arguments.
* @cliArgs --board "/ti/boards/CC1352P1_LAUNCHXL" --product "[email protected]"
* @versions {"tool":"1.15.0+2826"}
*/
/**
* Import the modules used in this configuration.
*/
const CCFG = scripting.addModule("/ti/devices/CCFG");
const ADC = scripting.addModule("/ti/drivers/ADC", {}, false);
const ADC1 = ADC.addInstance();
const RF = scripting.addModule("/ti/drivers/RF");
const RTOS = scripting.addModule("/ti/drivers/RTOS");
const UART2 = scripting.addModule("/ti/drivers/UART2", {}, false);
const UART21 = UART2.addInstance();
const easylink = scripting.addModule("/ti/easylink/easylink");
/**
* Write custom configuration values to the imported modules.
*/
CCFG.xoscCapArray = true;
CCFG.xoscCapArrayDelta = 0xC1;
CCFG.ccfgTemplate.$name = "ti_devices_CCFGTemplate0";
ADC1.$name = "ADC_0";
ADC1.adcPinInstance.$name = "CONFIG_PIN_0";
RF.$hardware = system.deviceData.board.components["SKY13317-373LF"];
UART21.$name = "UART0";
UART21.$hardware = system.deviceData.board.components.XDS110UART;
UART21.uart.txPin.$assign = "boosterpack.4";
UART21.uart.rxPin.$assign = "boosterpack.3";
easylink.EasyLink_Phy_50kbps2gfsk = true;
easylink.EasyLink_Phy_5kbpsSlLr = true;
easylink.EasyLink_Phy_200kbps2gfsk = true;
easylink.defaultPhy = "EasyLink_Phy_5kbpsSlLr";
easylink.EasyLink_Phy_Custom = false;
easylink.enableAddrFilter = false;
easylink.radioConfigEasylinkPhy50kbps2gfsk.carrierFrequency = 915.0000;
easylink.radioConfigEasylinkPhy50kbps2gfsk.codeExportConfig.$name = "ti_devices_radioconfig_code_export_param1";
easylink.radioConfigEasylinkPhy5kbpssllr.carrierFrequency = 915.0000;
easylink.radioConfigEasylinkPhy5kbpssllr.codeExportConfig.$name = "ti_devices_radioconfig_code_export_param2";
easylink.radioConfigEasylinkPhy200kbps2gfsk.carrierFrequency = 915.0000;
easylink.radioConfigEasylinkPhy200kbps2gfsk.codeExportConfig.$name = "ti_devices_radioconfig_code_export_param3";
/**
* Pinmux solution for unlocked pins/peripherals. This ensures that minor changes to the automatic solver in a future
* version of the tool will not impact the pinmux you originally saw. These lines can be completely deleted in order to
* re-solve from scratch.
*/
ADC1.adc.$suggestSolution = "ADC0";
ADC1.adc.adcPin.$suggestSolution = "boosterpack.2";
RF.rfAntennaPin0.$suggestSolution = "ball.41";
RF.rfAntennaPin1.$suggestSolution = "ball.42";
RF.rfAntennaPin2.$suggestSolution = "ball.43";
UART21.uart.$suggestSolution = "UART0";