메인 콘텐츠로 건너뛰기
Knowledgebase
Home
Renesas Korea

Is it Ok to use the timer pulse output itself as the reset signal?

Latest Updated:12/01/2011

Question:

The V853 real-time pulse unit is used as PWM output.
To set the desired PWM period, I want to reset the counter as soon as the count value reaches the value set in the register.
It is necessary to input the reset signal at the TCLR pin to reset the register.

Therefore, is it OK to use the timer pulse output itself as the reset signal?

Answer:

Basically, the method you mention is OK.
In addition, in a case like this, if ECLRn is set (clearance by external input is enabled) from the beginning, the timer does not start until TCLR1n is input.

Therefore, set CE1n first without setting ECLRn, start the timer, and then set ECLRn to enable external clearance.
Or set the timer output pin first as a port and as soon as a valid edge is output then change it to a timer output.
Here, TCLRn does not have to be delayed externally.

Suitable Products
V850 Family