upd70f3422gj-gae-qs-ax Renesas Electronics Corporation., upd70f3422gj-gae-qs-ax Datasheet - Page 799

no-image

upd70f3422gj-gae-qs-ax

Manufacturer Part Number
upd70f3422gj-gae-qs-ax
Description
32-bit Single-chip Microcontroller
Manufacturer
Renesas Electronics Corporation.
Datasheet
Stepper Motor Controller/Driver (Stepper-C/D)
a)
Bit position
2 to 0
Bit CAE refers only to register MCNTCn0. In register MCNTCn1, this bit is set to 0.
7
5
4
Initial Value
Table 21-3
Address
Access
SMCL[2:0]
Bit name
CAE
FULL
PCE
(1)
a
MCNTCn0, MCNTCn1 - Timer mode control registers
The 8-bit MCNTCnm registers control the operation of the free running up
counters CNTm.
These registers can be read/written in 8-bit or 1-bit units.
MCNTCn0: <base>
MCNTCn1: <base> + 14
00
a)
b)
MCNTCnm register contents
Preliminary User’s Manual U17566EE1V2UM00
CAE
H
R/W
Function
Stepper Motor Controller/Driver control
This bit switches both Stepper Motor Controller/Driver 0 and Stepper Motor
Controller/Driver 1.
Sets the count range of the timer counter
The initial start value is 00
and PWM cycle time, see also “Duty Factor“ on page 804.
Timer operation control
Sets the timer count clock for the timer counter
. This register is cleared by any reset.
0: Stepper Motor Controller/Driver operation is disabled.
1: Stepper Motor Controller/Driver operation is enabled.
0: count range from 01
1: count range from 00
0: Timer counteris stopped.
1: Timer counter is enabled.
7
Bit CAE refers only to register MCNTCn0. In register MCNTCn1, this bit is set to 0.
In register MCNTCn0, this bit is read only (R)
SMCL2
b
a
0
0
0
0
1
1
1
1
R
6
0
SMCL1
0
0
1
1
0
0
1
1
FULL
R/W
5
H
H
H
SMCL0
H
to FF
to FF
in both cases. For the impact of this bit on duty factor
0
1
0
1
0
1
0
1
H
H
PCE
R/W
4
Selected timer count clock
SPCLK1
SPCLK1 / 2
SPCLK1 / 4
SPCLK1 / 8
SPCLK1 / 16
SPCLK1 / 32
SPCLK1 / 64
SPCLK1 / 128
R
3
0
SMCL2
R/W
2
SMCL1
R/W
1
Chapter 21
SMCL0
R/W
0
799

Related parts for upd70f3422gj-gae-qs-ax