Projects STRLCPY CatSniffer Commits 512389f6
🤬
  • Syscfg Template

    The .syscfg contains the settings of the DIO of the CatSniffer.
  • Loading...
  • Manu de la Torre committed 2 years ago
    512389f6
    1 parent bafc1ede
  • ■ ■ ■ ■ ■ ■
    firmware/CCS_syscfg_cc1352/CatSniffer.syscfg
     1 +/**
     2 + * These arguments were used when this file was generated. They will be automatically applied on subsequent loads
     3 + * via the GUI or CLI. Run CLI with '--help' for additional information on how to override these arguments.
     4 + * @cliArgs --board "/ti/boards/CC1352P1_LAUNCHXL" --rtos "tirtos" --product "[email protected]"
     5 + * @versions {"tool":"1.12.0+2406"}
     6 + */
     7 + 
     8 +/**
     9 + * Import the modules used in this configuration.
     10 + */
     11 +const CCFG = scripting.addModule("/ti/devices/CCFG");
     12 +const rfdesign = scripting.addModule("/ti/devices/radioconfig/rfdesign");
     13 +const Board = scripting.addModule("/ti/drivers/Board");
     14 +const GPIO = scripting.addModule("/ti/drivers/GPIO");
     15 +const GPIO1 = GPIO.addInstance();
     16 +const GPIO2 = GPIO.addInstance();
     17 +const Power = scripting.addModule("/ti/drivers/Power");
     18 +const RF = scripting.addModule("/ti/drivers/RF");
     19 +const Timer = scripting.addModule("/ti/drivers/Timer", {}, false);
     20 +const Timer1 = Timer.addInstance();
     21 +const UART2 = scripting.addModule("/ti/drivers/UART2", {}, false);
     22 +const UART21 = UART2.addInstance();
     23 + 
     24 +/**
     25 + * Write custom configuration values to the imported modules.
     26 + */
     27 +CCFG.enableBootloader = true;
     28 +CCFG.enableBootloaderBackdoor = true;
     29 +CCFG.dioBootloaderBackdoor = 15;
     30 +CCFG.levelBootloaderBackdoor = "Active low";
     31 +CCFG.forceVddr = true;
     32 +CCFG.xoscCapArray = true;
     33 +CCFG.xoscCapArrayDelta = 0xC1;
     34 +CCFG.ccfgTemplate.$name = "ti_devices_CCFG_CCFGCC26XXTemplate0";
     35 + 
     36 +rfdesign.pa20 = "fb24g";
     37 + 
     38 +GPIO1.mode = "Output";
     39 +GPIO1.$name = "CONFIG_GPIO_LED_0";
     40 +GPIO1.gpioPin.$assignAllowConflicts = "boosterpack.6";
     41 +scripting.suppress("Resource conflict,@@@.+?@@@ is also in use by @@@.+?@@@", GPIO1, "gpioPin");
     42 + 
     43 +GPIO2.$name = "CONFIG_GPIO_RLED";
     44 +GPIO2.mode = "Output";
     45 +GPIO2.gpioPin.$assignAllowConflicts = "boosterpack.6";
     46 +scripting.suppress("Resource conflict,@@@.+?@@@ is also in use by @@@.+?@@@", GPIO2, "gpioPin");
     47 + 
     48 +RF.$hardware = system.deviceData.board.components["SKY13317-373LF"];
     49 + 
     50 +Timer1.$name = "CONFIG_TIMER_0";
     51 +Timer1.timerType = "32 Bits";
     52 +Timer1.timerInstance.$name = "CONFIG_GPTIMER_0";
     53 + 
     54 +UART21.$name = "CONFIG_UART2_0";
     55 +UART21.$hardware = system.deviceData.board.components.XDS110UART;
     56 + 
     57 +/**
     58 + * Pinmux solution for unlocked pins/peripherals. This ensures that minor changes to the automatic solver in a future
     59 + * version of the tool will not impact the pinmux you originally saw. These lines can be completely deleted in order to
     60 + * re-solve from scratch.
     61 + */
     62 +RF.rfAntennaPin0.$suggestSolution = "ball.41";
     63 +RF.rfAntennaPin1.$suggestSolution = "ball.42";
     64 +RF.rfAntennaPin2.$suggestSolution = "ball.43";
     65 +Timer1.timerInstance.timer.$suggestSolution = "GPTM0";
     66 +UART21.uart.$suggestSolution = "UART0";
     67 +UART21.uart.txPin.$suggestSolution = "boosterpack.4";
     68 +UART21.uart.rxPin.$suggestSolution = "boosterpack.3";
     69 + 
  • ■ ■ ■ ■ ■ ■
    firmware/CCS_syscfg_cc1352/README.md
     1 +# CATSNIFFER Syscfg template for CCS
     2 + 
     3 +## Prerequisites
     4 +- CCS version: The packet sniffer firmware has been tested with CCS 11.2
     5 +- [SimpleLink CC13X2 and CC26x2 SDK 6.10.00.29](https://www.ti.com/tool/download/SIMPLELINK-CC13XX-CC26XX-SDK/6.10.00.29)
     6 + 
     7 +## Instructions
     8 +- Open CCS
     9 +- Using the Resource Explorer follow the path:
     10 + "Software"_ "SimpleLink CC13xx CC26xx SDK - 6.10.00.29" _ "CC1352P-2 LaunchPad" _ "TI Drivers" _ "empty" _ "TI-RTOS" _ "CCS Compiler" _ "empty"
     11 + and import the example.
     12 +- Inside the "empty_CC1352P_2_LAUNCHXL_tirtos_ccs" files, delete the "empty.syscfg" file and replace with "catsniffer.syscfg"
     13 +- Compile
     14 + 
Please wait...
Page is in error, reload to recover