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

no-image

upd70f3422gj-gae-qs-ax

Manufacturer Part Number
upd70f3422gj-gae-qs-ax
Description
32-bit Single-chip Microcontroller
Manufacturer
Renesas Electronics Corporation.
Datasheet
Chapter 21
800
Power save mode
preparation
Initial Value
Address
Caution
Access
Note
(2)
In register MCNTCn0, bits 3 and 6 must be 0.
In register MCNTCn1, bits 3, 6 and 7 must be 0.
Before entering any power save mode the Stepper-C/D must be shut down in
advance in order to minimize power consumption.
Apply following sequence to shut down the Stepper-C/D:
1. Stop the counter CNT1 by setting MCNTCn1.PCE = 0.
2. Stop the counter CNT0 by setting MCNTCn0.PCE = 0.
3. Disable the Stepper-C/D operation by setting MCNTCn0.CAE = 0.
Note that the MCNTCn0.PCE and MCNTCn0.CAE bits must not be cleared to
0 by a single write instruction. Perform two write instructions as shown above.
MCMPnk0 - Compare registers for sine side (k = 1 to 6)
The 8-bit MCMPnk0 registers hold the values that define the PWM pulse width
for the sine side of the connected meters.
The contents of the registers are continuously compared to the timer counter
value:
• Registers MCMP10 to MCMP40 are compared to CNT0.
• Registers MCMP50 to MCMP60 are compared to CNT1.
When the register contents match the timer counter contents, a match signal is
generated. Thus a PWM pulse with a pulse width corresponding to the
MCMPnk0 register contents is output to the sine side of the connected meter.
These registers can be read/written in 8-bit units.
<base> + 2
00
1.
2.
3.
Preliminary User’s Manual U17566EE1V2UM00
H
. This register is cleared by any reset.
New data must only be written to registers MCMPnk0 if the corresponding
bit MCMPCnk.TEN = 0.
Don't write to the compare register MCMPnk0, until the corresponding bit
MCMPCnk.TEN has been reset to 0 automatically.
To enable master-to-slave register copy upon next CNTm overflow set
MCMPCnk.TEN = 1.
7
H
, 4
6
H
, 6
H
, 8
H
5
, 16
H
Stepper Motor Controller/Driver (Stepper-C/D)
, 18
H
4
sine DATA
R/W
3
2
1
0

Related parts for upd70f3422gj-gae-qs-ax