Other Parts Discussed in Thread: TMS320F2800137,
Tool/software:
Hello,
I try to set up external crystal on TMS320F2800137 LaunchPad. I modify cock source define as the following code.
#define DEVICE_SETCLOCK_CFG_XTAL (SYSCTL_OSCSRC_XTAL | SYSCTL_IMULT(48) | \
SYSCTL_REFDIV(1) | SYSCTL_ODIV(4) | \
SYSCTL_SYSDIV(1) | SYSCTL_PLL_ENABLE | \
SYSCTL_DCC_BASE_0)
And Device_init() also modified as following code.
SysCtl_setClock(DEVICE_SETCLOCK_CFG_XTAL);
These modify doesn't work. The XDS110 will lost connect to MCU and code don't run.
Depend on LAUNCHXL-F2800137 Schematic (Rev. A).pdf, the LaunchPad already has crystal on board and already connect GPIO18 and 19 to crystal X1 and X2.
Should I change any where to get a normal external crystal clock?
Thanks for help