This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I'm in the process of migrating code from the TMS320F28035 MCU to the newer TMS320F280039C MCU, both from Texas Instruments. In the original MCU, CPU Timer Definitions (e.g., 'mSec0_5", "mSec1", etc.- See Image below) based on a 60MHz system clock were present in the "PeripheralHeaderIncludes.h" file. However, in the newer MCU's corresponding file, "f28003x_device.h", these definitions are missing. I've also checked "f28003x_cputimer.h" with no luck. Can anyone guide me on where these CPU Timer Definitions might be defined in the TMS320F280039C MCU's DriverLib, or how I should approach defining these timer intervals for the new MCU?
"PeripheralHeaderIncludes.h" located in the directory "C:\ti\controlSUITE\development_kits\~SupportFiles\F2803x_headers" of controlSUITE
"f28003x_device.h" located in the directory "C:\ti\c2000\C2000Ware_4_03_00_00\device_support\f28003x\headers\include" in C2000Ware
Hi,
Those constants will be different based on the system frequency configured. I would recommend you try the driverlib example available in C2000ware\driverlib\f28003x\examples\timer_ex1_cputimers.c
which calculates the required period value based on the sys clk configured.
Regards,
Veena