To connect P1.5 to the timer, you need to set bit 5 in P1SEL. The F2013 has only a single timer (Timer_A 0), with two CCRs. When you're using CCR0 for the clock output, you need to use CCR1 to capture the input event; TA0CCTL1 can be connected to either P1.2 (CCI1A) or P1.6 (CCI1B).
↧