r8a66170dd Renesas Electronics Corporation., r8a66170dd Datasheet

no-image

r8a66170dd

Manufacturer Part Number
r8a66170dd
Description
4-ch 16-bit Pwm Generator
Manufacturer
Renesas Electronics Corporation.
Datasheet
R8A66170DD/SP
4-CH 16-BIT PWM GENERATOR
DESCRIPTION
R8A66170 is a programmable 4-channel PWM generator produced using the silicon gate CMOS process.
R8A66170 can connect directly to the MPU data bus, and consists of a 16-bit prescaler and a PWM counter.
The pulse output includes three kinds of modes, allowing the independent control of each channel.
R8A66170 provides a software servo system in combination with the A-D function and the timer function of a one-chip
microcomputer. R8A66170 is a succession product of M66240.
FEATURES
• 4-channel individually controllable
• Built-in three kind of pulse output modes
• PWM repetitive frequency: 50 kHz (max.) (Mode 0, 8-bit resolution, fxin/255 at prescaler setting = 0)
• Output polarity selection possible
• External triggering possible
• The output after reset is in the high impedance state.
• Change of mode setting becomes effective after the current cycle.
• High output current : Io = ±24 mA (V
• Wide operating power voltage range (V
• Wide operating temperature range (Ta = -40~85 ºC)
APPLICATION
• Control of DC motors and stepping motors
• Control of Heater phase controllers
• Software servos for office automation equipment , and industrial equipment
PIN CONFIGURATION (TOP VIEW)
REJ03F0272-0100 Rev.1.00 Apr.01.2008
Page 1 of 20
Command/Data control input
Write control input
Chip select input
Data bus inputs
C / D
GND
WR
CS
D0
D1
D2
D3
D4
D5
D6
D7
CC
CC
= 5.0V)
= 5.0V or 3.3V single power supply)
10
11
12
1
2
3
4
5
6
7
8
9
24
23
22
21
20
19
18
17
16
15
14
13
Vcc
PWM1
TRG1
PWM2
TRG2
PWM3
TRG3
PWM4
TRG4
RESET Reset input
X1
X2
PWM output 1
Trigger input 1
PWM output 2
Trigger input 2
PWM output 3
Trigger input 3
PWM output 4
Trigger input 4
Clock input
Clock output
REJ03F0272-0100
Apr.01.2008
Rev. 1.00

Related parts for r8a66170dd

r8a66170dd Summary of contents

Page 1

... R8A66170DD/SP 4-CH 16-BIT PWM GENERATOR DESCRIPTION R8A66170 is a programmable 4-channel PWM generator produced using the silicon gate CMOS process. R8A66170 can connect directly to the MPU data bus, and consists of a 16-bit prescaler and a PWM counter. The pulse output includes three kinds of modes, allowing the independent control of each channel. ...

Page 2

... 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. ...

Page 3

... R8A66170DD/SP OPERATION Commands The information on data bus inputs D0 through D7 is treated as command when command / data control input C and is treated as data when C There are three kinds of commands. (See Figure 1.) • Command 1 selects the output mode and external trigger input of each channel and sets the output polarity of H width. • ...

Page 4

... R8A66170DD/SP Command "1" Mode selection PWM number selection enabled 00 : PWM PWM PWM PWM 4 Command "0" Enable/numerical PWM number selection control selection 00 : PWM 1 enabled 01 : PWM PWM PWM 4 Command "0" ...

Page 5

... R8A66170DD/SP First byte (Command 2) The second byte Upper byte PWM H register Lower byte PWM H register Upper byte PWM H register Lower byte PWM H register Upper byte PWM L register Lower byte ...

Page 6

... R8A66170DD/SP PWM WAVEFORM OUTPUT R8A66170 has a built-in 16-bit prescaler and a PWM counter. The duty cycle of output pulse can be freely specified by changing the values of the prescaler and the PWM counter. The output is made in one of three modes (Mode 0, Mode 1, and Mode 2). The description of these modes is given below. ...

Page 7

... R8A66170DD/SP (2) Mode1 This mode is selected by setting and command 1. Figure 10 shows the block diagram in this mode (for one channel). This mode outputs the pulse which is determined by value M of PWM register as one shot by trigger signal. The type of this output operation is determined by whether the external trigger signal or the internal trigger signal is used ...

Page 8

... R8A66170DD/SP (b) Internal trigger selected ( command 1) In this mode, the trigger signal is generated by the prescaler. Therefore, the cycle time T of output pulse is determined by the prescaler register value L. In this case, the oscillator source becomes the PWM counter clock and the output pulse width is determined by the PWM register value M ...

Page 9

... R8A66170DD/SP (3) Mode 2 This mode is selected by writing and command 1. Fig.11 shows the block diagram of this mode (for one channel). The high-level pulse value M is set to the H register of PWM in Mode 0 and 1, but in this mode, the high-level pulse value M is set to the H register of PWM and the low-level pulse value N is set to the L register of PWM. Therefore, the pulse width and cycle time T of PWM output are determined by value L of the prescaler register and values M and and L registers of PWM ...

Page 10

... R8A66170DD/SP Initial state In the case of command 1, if the D1 is set as “external trigger ON” it does not output a pulse to PWM output and its status is held in the high impedance even if the operation of internal circuit is started by specifying enable condition with command 3. In this case the pulse can be output to PWM output by entering H level into TRG input in Mode 0,Mode 2 or entering H pulse into TRG input in Mode1 ...

Page 11

... R8A66170DD/SP 16-bit Prescaler Register 8 8 Fig.9 Block diagram in Mode 0 (for one channel) 16-bit Prescaler Register 8 8 Fig.10 Block diagram in Mode 1 (for one channel) 16-bit Prescaler Register 8 8 Fig.11 Block diagram in Mode 2 (for one channel) REJ03F0272-0100 Rev.1.00 Apr.01.2008 Page 16- and 8-bit ...

Page 12

... R8A66170DD/SP ABSOLUTE MAXIMUM RATINGS Symbol Parameter Vcc Power voltage V Input voltage I V Output voltage O Pd Power dissipation Tstg Storage temperature RECOMMENDED OPERATING CONDITIONS Symbol Parameter Vcc Power voltage GND Power voltage V Input voltage I V Output voltage O Topr Ambient operating temperature ELECTRICAL CHARACTERISTICS 5 ...

Page 13

... R8A66170DD/SP ELECTRICAL CHARACTERISTICS 3.3V version support specifications Symbol Parameter Positive going V T+ threshold voltage Negative going V T- threshold voltage V Hysteresis width H V "H" input voltage IH V "L" input voltage IL V "H" input voltage IH V "L" input voltage IL V "H" output voltage ...

Page 14

... R8A66170DD/SP SWITCHING CHARACTERISTICS Symbol Parameter tpZL(W-PWM) Output enable time after write (Mode0, 2, external trigger OFF) tpZH(W-PWM) tpZL(W-PWM) Output enable time after write (Mode1, external trigger OFF) tpZH(W-PWM) tpZL(T-PWM) Output enable time after trigger (Mode0, 2, external trigger ON) ...

Page 15

... R8A66170DD/SP TIMING REQUIREMENTS ( Ta=-40~85°C, Vcc=4.5~5.5V or Vcc=3.0~3.6V, unless otherwise noted) Symbol Parameter Clock cycle tc(X1) Clock "H" pulse width tWH(X1) Clock "L" pulse width tWL(X1) Clock rise time tr(X1) tf(X1) Clock fall time tsu(A-W) Address setup time before write (CS, C/D) th(W-A) Address hold time after write (CS, C/D) ...

Page 16

... R8A66170DD/SP TIMING DIAGRAM (1) MCU interface X1 CS tsu(A-W) C/D th(W-A) tsu(A- ~ D7 Data tsu(D-W)   (External trigger = OFF) Internal signal (Prescaler output) PWM 1 ~ 4 PWM 1 ~ 4   (External trigger = ON) TRG 1 ~ 4 PWM 1 ~ 4 PWM 1 ~ 4 REJ03F0272-0100 Rev.1.00 Apr.01.2008 Page (CK) ...

Page 17

... R8A66170DD/SP (2) In operation Mode 0,2 (external trigger ON, OFF) X1 50% Internal signal (Prescaler output) tpLH(X1-PWM) PWM 1 ~ 4 tpHL(X1-PWM) PWM 1 ~ 4 Mode 1 (external trigger ON) X1 Internal signal (Prescaler output) TRG 1 ~ 4 PWM 1 ~ 4 PWM 1 ~ 4 Mode 1 (external trigger OFF) X1 Internal signal (Prescaler output) PWM 1 ~ ...

Page 18

... R8A66170DD/SP (3) At reset RESET WR PWM 1 ~ 4 PWM 1 ~ 4 (4) At disable       CS WR C/D    D0 ~ D7 PWM 1 ~ 4 PWM 1 ~ 4 REJ03F0272-0100 Rev.1.00 Apr.01.2008 Page 50% 50% tw (R) trec(R-W) 50% tpLZ 10% tpHZ 90% 50% Command 3 (Disable) tpLZ tpHZ ...

Page 19

... R8A66170DD/SP TEST CIRCUIT Input Vcc DUT P.G. 50Ω GND APPLICATION EXAMPLE MCU Pulse cycle measuring Analog input ROM R8A66170 RAM Peripheral REJ03F0272-0100 Rev.1.00 Apr.01.2008 Page Vcc Output Parameter tTLH, tTHL R L=500Ω tpLH, tpHL tpLZ tpHZ SW tpZL tpZH R L=500Ω ...

Page 20

... R8A66170DD/SP PACKAGE OUTLINE Product Name Package R8A66170DD 24pin DIP R8A66170SP 24pin SOP All trademarks and registered trademarks are the property of their respective owners. REJ03F0272-0100 Rev.1.00 Apr.01.2008 Page RENESAS Code Previous Code PRDP0024AF-A 24P4X-A PRSP0024DF-A 24P2X-B ...

Page 21

...

Related keywords