Other Parts Discussed in Thread: SYSCONFIG
I am using 'gpio_toggle_output_LP_MSPM0G3507_nortos_ticlang' project example (MSPM0 SDK 1.0.1.03, SysConfig 1.16.1, XDCtool 3.62.1.16_core).
I am trying to use SYSPLL to clock CPU with 80MHz.
When I change the clock configurationusing Clock Tree
HFXT = 40MHz, EXHFMUX = XTAL, SYSPLL.SYSPLLMUX = HFCLK, SYSPLL.PDIV = /1, SYSPLL.QDIV = X4, SYSPLL.CLK0_DIV = /2, HSCLKMUX = SYSPLL0, MDIV = /1, SYSCTLMUX = MDIV
then MCLK = 80MHz
But the example code gets stuck in below while loop in the routine DL_SYSCTL_configSYSPLL()
// wait until SYSPLL startup is stabilized
while ((DL_SYSCTL_getClockStatus() & SYSCTL_CLKSTATUS_SYSPLLGOOD_MASK) !=
DL_SYSCTL_CLK_STATUS_SYSPLL_GOOD) {
;
}
Any help will be highly appreciated.
Note: when after Clock Tree I go back to SysConfig and uncheck "Use Clock Tree", then there is "Resource conflict" for HFXIN and HFXOUT. Regardless switching from "Clock Tree" to SysConfig, seems Clock Tree and SysConfig block each other. Once used "Clock Tree" I MUST use is, else there is SysConfig error:
error: /ti/driverlib/SYSCTL peripheral.hfxInPin: Resource conflict
PA5/45 is only valid on the signal SYSCTL.HFXIN which is in use by HFXT(/ti/clockTree/pinFunction.js) peripheral.hfxInPin and is also in use by HFXT(/ti/clockTree/pinFunction.js) peripheral.hfxInPin
error: /ti/driverlib/SYSCTL peripheral.hfxOutPin: Resource conflict
PA6/46 is only valid on the signal SYSCTL.HFXOUT which is in use by HFXT(/ti/clockTree/pinFunction.js) peripheral.hfxOutPin and is also in use by HFXT(/ti/clockTree/pinFunction.js) peripheral.hfxOutPin
Thanks & Regards
Nikolai