I have a program based on the local_ota example from simplelink_cc32xx_sdk_5_20_00_06.
I am now using simplelink_cc32xx_sdk_5_30_00_08 and CCS 11
When I added 4 new switches to the software, only 1 got operational. Running an old program on the same hardware the buttons work. There must be an conflict somewhere that I cannot find.
GPIO12, GPIO13 & GPIO15 (pin 3,4,6) works,
GPIO5, GPIO6 & GPIO7 (pin 60,61,62)) does not
This is the syscfg file:
/**
* 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 --device "CC3220SF" --package "Default" --part "Default" --rtos "tirtos" --product "simplelink_cc32xx_sdk@5.30.00.08"
* @versions {"tool":"1.10.0+2163"}
*/
/**
* Import the modules used in this configuration.
*/
const DriverLib = scripting.addModule("/ti/devices/DriverLib");
const Display = scripting.addModule("/ti/display/Display");
const Display1 = Display.addInstance();
const ADC = scripting.addModule("/ti/drivers/ADC", {}, false);
const ADC1 = ADC.addInstance();
const Board = scripting.addModule("/ti/drivers/Board");
const Crypto = scripting.addModule("/ti/drivers/Crypto");
const Crypto1 = Crypto.addInstance();
const DMA = scripting.addModule("/ti/drivers/DMA");
const GPIO = scripting.addModule("/ti/drivers/GPIO");
const GPIO1 = GPIO.addInstance();
const GPIO2 = GPIO.addInstance();
const GPIO3 = GPIO.addInstance();
const GPIO4 = GPIO.addInstance();
const GPIO5 = GPIO.addInstance();
const GPIO6 = GPIO.addInstance();
const GPIO7 = GPIO.addInstance();
const GPIO8 = GPIO.addInstance();
const GPIO9 = GPIO.addInstance();
const PWM = scripting.addModule("/ti/drivers/PWM", {}, false);
const PWM1 = PWM.addInstance();
const Power = scripting.addModule("/ti/drivers/Power");
const SPI = scripting.addModule("/ti/drivers/SPI");
const Timer = scripting.addModule("/ti/drivers/Timer");
const Timer1 = Timer.addInstance();
const Timer2 = Timer.addInstance();
const Timer3 = Timer.addInstance();
const Watchdog = scripting.addModule("/ti/drivers/Watchdog");
const Watchdog1 = Watchdog.addInstance();
const SimpleLinkWifi = scripting.addModule("/ti/drivers/net/wifi/SimpleLinkWifi");
const JSON = scripting.addModule("/ti/utils/JSON");
/**
* Write custom configuration values to the imported modules.
*/
Display1.$name = "CONFIG_Display_0";
Display1.useUART2 = false;
Display1.uart.$name = "CONFIG_UART_0";
Display1.uart.useDMA = true;
Display1.uart.uart.$assign = "UART0";
Display1.uart.uart.txPin.$assign = "ball.55";
Display1.uart.uart.rxPin.$assign = "ball.57";
Display1.uart.uart.txDmaChannel.$assign = "UDMA_CH9";
Display1.uart.uart.rxDmaChannel.$assign = "UDMA_CH8";
ADC1.$name = "CONFIG_ADC_0";
ADC1.adc.adcPin.$assign = "ball.58";
Crypto1.$name = "CONFIG_Crypto_0";
GPIO1.mode = "Output";
GPIO1.$name = "CONFIG_GPIO_LED_0";
GPIO1.outputStrength = "Low";
GPIO1.gpioPin.$assign = "ball.21";
GPIO2.$name = "CONFIG_GPIO_LED_1";
GPIO2.mode = "Output";
GPIO2.outputStrength = "High";
GPIO2.gpioPin.$assign = "ball.1";
GPIO3.$name = "CONFIG_GPIO_LED_2";
GPIO3.mode = "Output";
GPIO3.outputStrength = "High";
GPIO3.gpioPin.$assign = "ball.2";
GPIO4.$name = "CONFIG_GPIO_BUTTON_1";
GPIO4.pull = "Pull Down";
GPIO4.gpioPin.$assign = "ball.3";
GPIO5.$name = "CONFIG_GPIO_BUTTON_2";
GPIO5.pull = "Pull Down";
GPIO5.gpioPin.$assign = "ball.4";
GPIO6.$name = "CONFIG_GPIO_BUTTON_3";
GPIO6.pull = "Pull Down";
GPIO6.gpioPin.$assign = "ball.60";
GPIO7.$name = "CONFIG_GPIO_BUTTON_4";
GPIO7.pull = "Pull Down";
GPIO7.gpioPin.$assign = "ball.6";
GPIO8.$name = "CONFIG_GPIO_BUTTON_5";
GPIO8.pull = "Pull Down";
GPIO8.gpioPin.$assign = "ball.61";
GPIO9.$name = "CONFIG_GPIO_BUTTON_6";
GPIO9.pull = "Pull Down";
GPIO9.gpioPin.$assign = "ball.62";
PWM1.$name = "CONFIG_PWM_0";
PWM1.timer.$assign = "Timer2";
PWM1.timer.pwmPin.$assign = "ball.64";
Power.ioRetentionShutdown = ["GRP_1"];
Power.parkPins.$name = "ti_drivers_power_PowerCC32XXPins0";
Timer1.$name = "CONFIG_TIMER_0";
Timer1.timerType = "32 Bits";
Timer1.timer.$assign = "Timer0";
Timer2.$name = "CONFIG_TIMER_1";
Timer2.timer.$assign = "Timer1";
Timer3.$name = "CONFIG_TIMER_2";
Timer3.timer.$assign = "Timer1";
Watchdog1.$name = "CONFIG_WATCHDOG_0";
Watchdog1.watchdog.$assign = "WATCHDOG0";
/**
* 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";