|
@@ -48,9 +48,6 @@ divider5.divideValue = 4;
|
|
|
const divider6 = system.clockTree["PLL_CLK2X_DIV"];
|
|
|
divider6.divideValue = 4;
|
|
|
|
|
|
-const divider7 = system.clockTree["PLL_PDIV"];
|
|
|
-divider7.divideValue = 2;
|
|
|
-
|
|
|
const divider9 = system.clockTree["UDIV"];
|
|
|
divider9.divideValue = 2;
|
|
|
|
|
@@ -61,7 +58,7 @@ const gate8 = system.clockTree["MFPCLKGATE"];
|
|
|
gate8.enable = true;
|
|
|
|
|
|
const multiplier2 = system.clockTree["PLL_QDIV"];
|
|
|
-multiplier2.multiplyValue = 9;
|
|
|
+multiplier2.multiplyValue = 18;
|
|
|
|
|
|
const mux2 = system.clockTree["CANCLKMUX"];
|
|
|
mux2.inputSelect = "CANCLKMUX_PLLCLK1_OUT";
|
|
@@ -72,9 +69,13 @@ mux4.inputSelect = "EXHFMUX_XTAL";
|
|
|
const mux8 = system.clockTree["HSCLKMUX"];
|
|
|
mux8.inputSelect = "HSCLKMUX_SYSPLL2X";
|
|
|
|
|
|
+const mux12 = system.clockTree["SYSPLLMUX"];
|
|
|
+mux12.inputSelect = "zSYSPLLMUX_HFCLK";
|
|
|
+
|
|
|
const pinFunction4 = system.clockTree["HFXT"];
|
|
|
pinFunction4.inputFreq = 8;
|
|
|
pinFunction4.HFXTStartup = 40;
|
|
|
+pinFunction4.enable = true;
|
|
|
|
|
|
ADC121.$name = "ADC12_0";
|
|
|
ADC121.trigSrc = "DL_ADC12_TRIG_SRC_EVENT";
|
|
@@ -264,7 +265,6 @@ MCAN1.peripheral.rxPin.$assign = "PA13";
|
|
|
MCAN1.peripheral.txPin.$assign = "PA12";
|
|
|
MCAN1.txPinConfig.$name = "ti_driverlib_gpio_GPIOPinGeneric11";
|
|
|
MCAN1.rxPinConfig.$name = "ti_driverlib_gpio_GPIOPinGeneric12";
|
|
|
-scripting.suppress("MCAN is intended to work at the frequencies of 20, 40 or 80 Mhz\\.", MCAN1, "mcan_freq");
|
|
|
|
|
|
OPA1.cfg0OutputPin = "ENABLED";
|
|
|
OPA1.cfg0PSELChannel = "IN1_POS";
|
|
@@ -427,11 +427,14 @@ scripting.suppress("Migrating requires going through the Switch Board or Device
|
|
|
* 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.
|
|
|
*/
|
|
|
-Board.peripheral.swclkPin.$suggestSolution = "PA20";
|
|
|
-Board.peripheral.swdioPin.$suggestSolution = "PA19";
|
|
|
-COMP1.peripheral.$suggestSolution = "COMP1";
|
|
|
-GPIO1.associatedPins[1].pin.$suggestSolution = "PA9";
|
|
|
-GPIO1.associatedPins[2].pin.$suggestSolution = "PB7";
|
|
|
-GPIO1.associatedPins[4].pin.$suggestSolution = "PA31";
|
|
|
-GPIO4.associatedPins[0].pin.$suggestSolution = "PA23";
|
|
|
-GPIO5.associatedPins[1].pin.$suggestSolution = "PB6";
|
|
|
+pinFunction4.peripheral.$suggestSolution = "SYSCTL";
|
|
|
+pinFunction4.peripheral.hfxInPin.$suggestSolution = "PA5";
|
|
|
+pinFunction4.peripheral.hfxOutPin.$suggestSolution = "PA6";
|
|
|
+Board.peripheral.swclkPin.$suggestSolution = "PA20";
|
|
|
+Board.peripheral.swdioPin.$suggestSolution = "PA19";
|
|
|
+COMP1.peripheral.$suggestSolution = "COMP1";
|
|
|
+GPIO1.associatedPins[1].pin.$suggestSolution = "PA9";
|
|
|
+GPIO1.associatedPins[2].pin.$suggestSolution = "PB7";
|
|
|
+GPIO1.associatedPins[4].pin.$suggestSolution = "PA31";
|
|
|
+GPIO4.associatedPins[0].pin.$suggestSolution = "PA23";
|
|
|
+GPIO5.associatedPins[1].pin.$suggestSolution = "PB6";
|