Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE
// Define to pass to SysCtl_setClock(). Will configure the clock as follows:
// PLLSYSCLK = 10MHz (INT_OSC1) * 80 (IMULT) / (2 (REFDIV) * 2 (ODIV) * 1(SYSDIV))
#define DEVICE_SETCLOCK_INTOSC (SYSCTL_OSCSRC_OSC1 | SYSCTL_IMULT(80) | \
SYSCTL_REFDIV(2) | SYSCTL_ODIV(2) | \
SYSCTL_SYSDIV(1) | SYSCTL_PLL_ENABLE)
Above is a code used within a SysCtl example for the F2838x device by TI.
We are using the F2837xD series, but there does not seem to be an example for the SysCtl functions in this DSP. So I have attempted to use the above in my processor.
Unfortunately, I get the following error:
Description Resource Path Location Type unresolved symbol SYSCTL_REFDIV, first referenced in ./main.obj JMHolland_PTM6693 C/C++ Problem Description Resource Path Location Type unresolved symbol SYSCTL_ODIV, first referenced in ./main.obj JMHolland_PTM6693 C/C++ Problem
Which stops me from executing the code. I have looked in my driverlib .h file in my directory, and as expected, these functions are not there.
Can someone help with an explanation for why these functions aren't included in my driverlib folder, and possibly suggest an alternative way to implement on the F2837xD if possible. The example I am trying to port over to my device is the sysctl_ex1_missing_clock_detection example.
Best regards,
JMH
