Search the Community
Showing results for tags 'MSP430DriverLibTIMER_A'.
Hello, I am trying to determine the frequency of the TIMER_A with a given Capture/Control Register 0 (CCR0) value 0. My understanding is that the frequency is (SMCLK)* (1/CLOCKSOURCE_DIVIDER)*(1/Number of Cycles) My configuration: Clock source is SMCLK. SMCLK frequency is 8MHz (1), CCR0 value is 50000 decimal (0xC350). TIMER_A is set in continuous mode (TIMER_A_CONTINUOUS_MODE) "timer_a_ex2_continous ModeOperationWithCCR-Interrupt"Src: MSP430ware/Libraries/Driver Library/MSP430F5xx_6xx/Example Projects/TIMER_A The only change I made is this: replaced TIMER_A_CLOCKSOURCE_DIVIDER_1