Observation: When using Timer0_A3 and Timer1_A3 both driven from SMCLK it is observed that the phase relationship of the 2 output is not always constant, such as caused by a power interruption.
Purposed Solution: Use Timer0_A3 output as an input to Timer1_A3.
Problem is understanding how to do this. The Family guide 13.2.1.1 indicates " The timer clock can be sourced from ACLK, SMCLK, or externally from TAxCLK or INCLK." , as I believe it is shown in Figure 1-6 for example. I am unclear of the code to provide the internal or external connection.
For example I have working code for Timer0_A3 to drive P1.1 as follows
//setup hardware clock output to P1.1
TA0CCR0 = (16*8)-1; // PWM Period
TA0CCTL1 = OUTMOD_7; // CCR1 reset/set
TA0CCR1 = 16*4; // CCR1 PWM duty cycle
TA0CTL = TASSEL__SMCLK | MC__UP | TACLR; // SMCLK, up mode, clear TAR
Then the 2nd part is to connect the Timer0_A3 output to Timer1_A3 input and produce an interrupt based on Timer1_A3 (which does not work). I believe I am missing out on understanding the code to make the internal or external connection of the timers. If I am limited to external connection, can I control which pin? or it is perhaps limited to P1.6 as shown in Table 6-12 of the MSP430FR3422 datasheet
//setup interrupt to control the On/Off Timing
TA1CCTL0 = CCIE; // TACCR0 interrupt enabled
TA1CCR0 = (16*200)-1; //Period
TA1CTL = TASSEL__TACLK | ID__8 | MC__CONTINUOUS; // setup external input, /8
//TA1CTL = TASSEL__INCLK | ID__8 | MC__CONTINUOUS; // setup internal input, /8