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.

UART TX with TACCR1 and TACCTL1 and output on P1.6

Matthew R. Wilson has written a program, wich uses TACCR0 and TACCTL0 for a UART with output on pin 1.1 for only TX. But I can't understand why I can't make a UART with TACCR1 and TACCTL1 with output on pin 1.6??

Please

Per Rubak

 

  • CCR0 is different from the other CCRs. It controls the timer cycle length in UP mode. Also, the ISR for CCR0 has higher priority and doesn’t require clearing the IFG bit, so it is faster.
    I’m sure you can do it with CCR1 instead, but it will at least require some changes in the program logic. And probably result in a less precise output. SInce I don't know the program code, I can't give any details..

**Attention** This is a public forum