Cautions (16-Bit Timer/Event Counter) - NEC V850ES/SA2 UPD703201 Manual

32-bit single-chip microcontrollers
Table of Contents

Advertisement

7.1.7

Cautions (16-bit timer/event counter)

Various cautions concerning the 16-bit timer/event counter are shown below.
(1) If a conflict occurs between the reading of the CCn0 register and a capture operation when the CCn0 register
is used in capture mode, an external trigger (INTPn0) valid edge is detected and an external interrupt request
signal (INTCCn0) is generated, however, the timer value is not stored in the CCn0 register.
(2) If a conflict occurs between the reading of the CCn1 register and a capture operation when the CCn1 register
is used in capture mode, an external trigger (INTPn1) valid edge is detected and an external interrupt request
signal (INTCCn1) is generated, however, the timer value is not stored in the CCn1 register.
(3) The following bits and registers must not be rewritten during operation (TMCEn = 1).
• CSn2 to CSn0 bits of TMCn0 register
• TMCn1 register
• SESn register
(4) The TMCAEn bit of the TMCn0 register is a TMn reset signal. To use TMn, first set (1) the TMCAEn bit.
(5) The analog noise elimination time + two cycles of the input clock are required to detect the valid edge of the
external interrupt request signal (INTPn0 or INTPn1) or the external clock input (TIn). Therefore, edge
detection will not be performed normally for changes that are less than the analog noise elimination time + two
cycles of the input clock.
(6) The operation of an external interrupt request signal (INTCCn0 or INTCCn1) is automatically determined
according to the operating state of the capture/compare register. When the capture/compare register is used
for a capture operation, the external interrupt request signal is used for valid edge detection. When the
capture/compare register is used for a compare operation, the external interrupt request signal is used for an
interrupt indicating a match with the TMn register.
(7) If the ENTOn and ALVn bits are changed at the same time, a glitch (spike shaped noise) may be generated in
the TOn pin output. Either create a circuit configuration that will not malfunction even if a glitch is generated or
make sure that the ENTOn and ALVn bits are not changed at the same time.
Remark n = 0, 1
242
CHAPTER 7 TIMER/COUNTER FUNCTION
Preliminary User's Manual U15905EJ1V0UD

Advertisement

Table of Contents
loading

Table of Contents