Table 4-1 Microcontroller pin/Motor driver circuit connections
RTO0 to 5 ON/OFF control is practically taken by the macro in the microprocessor mounted on the board.
So, it is necessary to configure registers for functions employed by the macro. "Table 4-2 Functions
employed by the motor driving macro" shows the functions employed.
Table 4-2 Functions employed by the motor driving macro
Function name
16-bit free-run timer
16-bit output compare
The registers used for the 16-bit free-run timer are as shown in "Figure 4-5 Timer control registers". A
description of the registers and their setting values in the sample program are as described in "Table 4-3
Description of the timer control registers and setting values". For more information of the registers, refer
to the microcontroller hardware manual.
Timer control high-order bits
bit15
ECKE
TCCSH0
Timer control low-order bits
bit7
BFE
TCCSL0
Microcontroller
Pin name
pin number
Pin57
RTO0
Pin56
RTO1
Pin55
RTO2
Pin54
RTO3
Pin53
RTO4
Pin52
RTO5
Timer in which an up/down counter is used.
This counter is used to configure the output compare function.
Used to make comparisons with the value of the free-run timer,
and the resulting values are used to turn on/off RTO0 to 5.
bit14
bit13
IRQZF
IRQZE
bit6
bit5
STOP
MODE
Figure 4-5 Timer control registers
- 69 -
Name of the semiconductor
element connected
U-High
U-Low
V-High
V-Low
W-High
W-Low
Description
bit12
bit11
bit10
MSI2
MSI1
MSI0
bit4
bit3
bit2
SCLR
CLK3
CLK2
AN07-00180-3E
bit9
bit8
ICLR
ICRE
bit1
bit0
CLK1
CLK0