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.
Tool/software: TI C/C++ Compiler
TA0R = 0;
TA0CCR0 = 0;
TA0CCTL0 = CCIE;
TA0CTL = TACLR | MC_2 | TASSEL_1;
TA0CCR0 = 0; what is the timmer speed
Hi Satish,
Do you have more information on your application? What are you trying to do and what are you trying to solve?
-Chris
that means it gives interrupt in every 2 seconds?????
if my interrupt is enable.....
You can calculate the interrupt timing using the following process listed from Lab 6a on Page (6-65) of the MSP Design Workshop
Calculate Timer Rate Period:
Input Clock (Type)
Input Clock Frequency = running at the frequency ____ Hz
Timer Clock Frequency = Input Clock Frequency / Timer Clock divider
Timer Rate Period = (Timer Clock Period) * Counts for timer to rollover
Using Bruce's same logic as above in regards to your code example:
Input Clock: ACLK
Input Clock Frequency = 32KHz
Timer Clock Frequency = 32 / 1
Timer Rate = (1/32KHz) * (65536) = 2 seconds
To learn more about timers in the MSP430FR6736, visit Chapter 17 in the MSP430x5xx and MSP430x6xx Family User's Guide
-Chris
**Attention** This is a public forum