Method Of Using - NEC V850ES/DJ2 User Manual

32-bit system in package microcontroller
Table of Contents

Advertisement

7.4 Method of Using

MCNTm
OVF
SMn1
SMn2
"L"
SMn3
SMn4
"L"
TENn
(1) ~ (4)
(1)
Setting SM pin to output mode by Port mode register assigned to SMn1 to SMn4 output
(2)
Input clock is supplied to the macro by setting CAE = "1"
(3)
Set compare register MCMPn0, MCMPn1
(4)
Set TENn = "1" and ADBn0/1, DIRn0/1 bits by setting compare mode control register MCMPCn.
(5)
Set PCE0/1 = "1", the counting operation/timing (with the specified counting selection) starts.
(6)
Ensure that TENn = "0" (rewriting period longer than count period until overflow)
(7)
Rewrite compare register MCMPn0, MCMPn1.
(8)
Set TENn = "1" (ADBn1, ADBn0, DIRn1, DIRn0 can be written at the same time if necessary).
Chapter 7 Meter Controller Driver
Figure 7-11: Using of the SM
MCMPn0 setting value
FFH
MCMPn0/MCMPn1,
(5)
ADBn0/ADBn1,
DIRn0/DIRn1 transfer
Preliminary User's Manual U17763EE1V1UD00
MCMPn1 setting value
(6) ~ (8)
MCMPn0/MCMPn1,
ADBn0/ADBn1,
DIRn0/DIRn1 transfer
125

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents