Tool/software:
Have a new F280025c/DRV8323RS PCB design, patterned after a LaunchXLf280025C/DRV8323RS test setup.
the LaunchXLF280025CrevA uses a XTAL, and I need to change to the OSC2 clock. Using CC12.7.1 and Universal Motor Control Lab 4.0....driving a 15A sensorless foc induction motor. Labs 1-4 run fine. Only one GPIO change to new PCB and disabled unused items.
when loading the standalone F280025C the debugger shows that the clk always goes through case SYSCTL_OSCSRC_XTAL:in SysCtl_selectOscSource(uint32_t oscSource), Of course it ends in an endless loop because the new PCB has no XTAL.
do you have an example regarding launchXL->standalone clk change to OSC2?? Hal.h has an extern function "extern void HAL_setupClks(HAL_Handle handle); but doesn't exist anywhere that I've found.
I would appreciate help.
I've reviewed one older 2E2 showing a device.h change dor DEVICE_SETCLOCK_CFG but that didn't change the iscsoure case jump to ...XTAL instead of ...OSC2 in SysCtl_selectOscSource().
I've also set, in device.h, USE_PLL_SRC_INTOSC which appears to have a different DEVICE_SETCLOCK_CFG setup. Confusing multiple place because I'm new to this code.
thank you
Al Lehman







