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.
Hi all,
Is there any way to clock the Timer_A from Comparator_A+? MSP430F2132.
There is plenty of documentation how to capture/compare using the CCI1B but i cannot find if it is possible to clock the Timer_A from Comparator_A+?
Could/should you go via P1.0 and connect CAOUT to TACLK or?
Many thanks
/M
Edit. what i would like to do is to use the comparator and clock the timer/counter. The counter should toggle an output each time it counts to a certain value. This hopefully 'by itself' without any interaction of the main loop. Important is to have as low variation of the timing from the comparator input to toggle of the output.
The datasheet shows that there are three alternative sources to clock the Timer (TACLK, ACLK, or SMCLK). Thus if you connect CAOUT to TACLK, it could be used to clock the Timer.
You could then use the count up mode (up to CCR0) and toggle the TA0 pins (P1.1, P1.5, or P2.2) every CCR0+1 counts.
**Attention** This is a public forum