r8a66170dd Renesas Electronics Corporation., r8a66170dd Datasheet - Page 2

no-image

r8a66170dd

Manufacturer Part Number
r8a66170dd
Description
4-ch 16-bit Pwm Generator
Manufacturer
Renesas Electronics Corporation.
Datasheet
R8A66170DD/SP
FUNCTION
Four separate 16-bit prescalers and 16-bit PWM counters can be separately programmed by the control instruction from
the MPU.
The output is made in one of three modes (Mode 0, Mode 1, and Mode 2).
In Mode0, setting only the value of H width repeatedly outputs the set pulse width.
In Mode1, setting only the value of H width outputs one shot of the pulse width set by trigger input.
In Mode2, setting both H width and L width repeatedly outputs the set pulse width.
BLOCK DIAGRAM
PIN DESCRIPTIONS
REJ03F0272-0100 Rev.1.00 Apr.01.2008
Page 2 of 20
Pin name
RESET
D0~D7
WR
C/D
CS
X
X
TRG1~
TRG4
PWM1~
PWM4
RESET
1
2
C / D
WR
CS
D0
D1
D2
D3
D4
D5
D6
D7
X1
X2
14
13
15
10
11
9
1
2
3
4
5
6
7
8
Reset input
Data bus input
Write control input
Command/Data
control input
Chip select
input
Clock input
Clock output
Trigger input
PWM output
Description
another channel
prescaler
Input
Input
Output
Input
Output
Register
Input
Input
Input
Input
16-bit
I/O
Clears the command register and the flip-flop at “L”.
Inputs the data from MPU over the 8-bit data bus.
Writes the data on data bus to the control register or data register when its state changes
from “L” to “H” of rising edge.
The Data on data bus is regarded as a command at “H” level, and as data at “L” level.
Communication with MPU is enabled at “L” level. Any control from MPU is ignored at “H”
level.
Input and output to the built-in clock generator circuit. By providing a crystal resonator
between X
To make external clock input, connect the clock source to X
These are used when external trigger is selected in mode setting. These should be set to
“L” level when not in use.
PWM output pins. Outputs become the high-impedance state after reset is inputted or
after disable is specified by command 3.
D0 of command 1 allows the selection of output polarity.
Selector
1
and X
2
, sets the frequency.
PWM counter
16-bit, 8-bit
H register
L register
Inverter
circuit
Function
GND
Vcc
F/F
24
12
Buffer
1
pin and leave X
TRG
PWM
2
pin open.

Related parts for r8a66170dd