Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 251352

Forum Post: RE: LAUNCHXL-F28379D: how to use a same cpu timer with different period values

$
0
0
Hi Sumit, The ConfigCpuTimer() in the C2000ware examples initializes all of the other timer configurations, along with the period. If you want to change this period during the run of your application, you could call configCPUTimer() with the new period and CPUTimer_startTimer() afterwards to adjust the period value. Can you explain more about your intended application? Which timer periods are looking to switch between and when? I would also suggest taking a look at the CPU timer register descriptions to understand which values need to be written for different periods. See the System Control and Interrupts >> System Control Registers >> CPU_TIMER_REGS Registers section of the F2837xD TRM linked here . Best Regards, Delaney

Viewing all articles
Browse latest Browse all 251352

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>