Hi Young-kyun,
Here are the answers:
A1:
The TIM channel 0 is internally connected as the commutation event signal into the PMF module.
This signal is used to control the buffered registers/bits on the PMF module (PMFOUTC, PMFOUTB, PMFCFG2[MSK]).
This allows the user to modify the register contents, but the changes in the PMF hardware will not take place until the commutation event signal becomes active.
If this feature is wanted/needed in the application, then it must be linked to channel 0.
However, the time base may run on a different timer channel. But in the end, the output compare event must come from channel 0.
For that matter, there is a bit called FOC0, in the TIM module, register CFORC.
This bit can be used to force an output compare event on timer channel 0.
A2:
I am not sure at this point. Since OC0 is internally connected to the PMF module, pin50 might be used as RXD0. However, the question is if OC0 will affect the state of external pin. Moreover, the PWM3 is also on pin50.
The Timer and PMF module has precedence over SCI0, so if TIM channel 0 or PWM3 are used, then RXD0 can cause conflict as it is 4th function of the pin50.
I assume you want to change OC0 channel to OC2 just because you want to use RXD0.
Pin#1 is dedicated to the LINPHY module. It cannot be changed nor re-routed by configuring MODRR register.
So for standalone usage of SCI0 on external pins you must disable LINPHY0 and set [S0L0RR2:S0L0RR0]=0b110 in the MODRR register.
Hope the information above is clear and understandable.
Regards,
iggi