In the DC mode of Ethercat master station, we need to constantly modify the timer cycle.We find that changing the reloadVal value in the TIMER_TLDR register can change the timer cycle, but it will work in the next cycle.In order to change the current period of the timer, we operate on the TIMER_TCRR Register's countVal value. But we found that if we changed the value of countVal in the register, the timer would only work for a period of time and then it would stop for no reason.
We need your help to solve the following problems.
1.Can you give us a way to modify the current period of the timer, and need not stop the timer.
2.We want to know why the timer stopped after we change the countVal value of the TIMER_TCRR register frequently.