M-V850E-IA4 Renesas Electronics America, M-V850E-IA4 Datasheet - Page 462

no-image

M-V850E-IA4

Manufacturer Part Number
M-V850E-IA4
Description
KIT EVAL V850E IA4 UPD70F3186
Manufacturer
Renesas Electronics America
Datasheets

Specifications of M-V850E-IA4

Lead Free Status / RoHS Status
Lead free / RoHS Compliant
460
(1) Anytime rewriting mode
Operating clock
Note After the register (TQnCCR0, TQnCCR2, TQnCCR3, TQnOPT1, TPnCCR0, or TPnCCR1) has been
Rewriting during period <1> (rewriting during counting up)
Rewriting during period <2> (rewriting during counting down)
If the newly rewritten value is greater than the value of the 16-bit counter, there is no problem because it will
match the value of the 16-bit counter. If the new value is less than the value of the 16-bit counter, it will not
match the value of the counter. As a result, the 16-bit counter overflows and continues counting up from
0000H until it matches the register value again, and the correct PWM waveform is not output.
A match with the value of the 16-bit counter is ignored during counting down. Therefore, the rewritten period
value is reflected starting from counting up in the next cycle as a match point.
CCR0 buffer
This mode is set when the TQnOPT0.TQnCMS bit is 1. The setting of the TQnOPT2.TQnRDE bit is ignored.
In this mode, the value written to each register with a transfer function is immediately transferred to an internal
buffer register and compared with the value of the counter. If a register with transfer function is rewritten in this
mode after the count value of the 16-bit counter matches the value of the TQnCCRm register, the rewritten
value is not reflected because the next match is ignored after the first match has occurred. If the register is
rewritten during counting up, the new register value becomes valid after the counter has started counting
down.
(a) Rewriting TQnCCR0 register
TQnCCR0
register
register
written, the written value is transferred to an internal buffer register after four clocks of the operating
clock. However, the value of only the TQnCCR1 register is transferred after 5 more clocks.
(f
Even if the TQnCCR0 register is rewritten in the anytime rewriting mode, the new value may not be
reflected in some cases.
XX
/2)
b
b
counter
16-bit
Figure 10-22. Example of Rewriting TQnCCR0 Register
Figure 10-21. Timing of Reflecting Rewritten Value
CHAPTER 10 MOTOR CONTROL FUNCTION
a
<1>
User’s Manual U16543EJ4V0UD
<2>
<1>
Note
a
<2>

Related parts for M-V850E-IA4