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

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)
Initial Value
Initial Value
Address
Address
Access
Access
Note
Note
(3)
(4)
MCMPnk1 - Compare registers for cosine side (k = 1 to 6)
The 8-bit MCMPnk1 registers hold the values that define the PWM pulse width
for the cosine side of the connected meters.
The contents of the registers are continuously compared to the timer counter
value:
• Registers MCMP11 to MCMP41 are compared to CNT0.
• Registers MCMP51 to MCMP61 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
MCMPnk1 register contents is output to the sine side of the connected meter.
These registers can be read/written in 8-bit units.
<base> + 3
00
1.
2.
3.
MCMPnkHW - Combined compare registers (k = 1 to 6)
The 16-bit MCPMnkHW registers combine the sine and cosine registers
MCMPnk0 and MCMPnk1. Via these registers it is possible to read or write the
contents of MCMPnk0 and MCMPnk1 in a single instruction.
These registers can be read/written in 16-bit units.
<base> + 2
0000
1.
2.
3.
Preliminary User’s Manual U17566EE1V2UM00
15
H
. This register is cleared by any reset.
New data must only be written to registers MCMPnk1 if the corresponding
bit MCMPCnk.TEN = 0.
Don't write to the compare register MCMPnk1, 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.
New data must only be written to registers MCMPnk1 if the corresponding
bit MCMPCnk.TEN = 0.
Don't write to the compare register MCMPnk1, 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
14
. This register is cleared by any reset.
13
H
H
, 5
, 4
cosine DATA
6
H
H
12
, 7
, 6
H
H
, 9
, 8
11
H
H
5
, 17
, 16
10
H
H
, 19
, 18
9
H
H
cosine DATA
4
8
R/W
R/W
7
3
6
5
2
sine DATA
4
3
1
2
Chapter 21
1
0
801
0

Related parts for upd70f3422gj-gae-qs-ax