Reviewing the datasheet clock sources noticed Fig.7-13 shows XTAL pins X1, X2 and Launch pad schematic GPIO18 could be sent to booster header, not by default.
Then I see SDK-FOC motor SW configured GPIO-18 as an input but after MOSC was configured.
Should SW configure GPIO18 for use as X2 pin, GPIO_18_XCLKOUT or remove below configuration? What kind of mayhem does GPIO18 being configured cause when X2 is the XTAL or resonator input?
// GPIO18->Reserve (N/A for GPIO)
GPIO_setMasterCore(18, GPIO_CORE_CPU1);
GPIO_setPinConfig(GPIO_18_GPIO18); //GPIO_18_XCLKOUT
GPIO_setDirectionMode(18, GPIO_DIR_MODE_IN);
GPIO_setPadConfig(18, GPIO_PIN_TYPE_STD);