DatasheetsPDF.com

R8A66170DD Dataheets PDF



Part Number R8A66170DD
Manufacturers Renesas Technology
Logo Renesas Technology
Description 4-CH 16-BIT PWM GENERATOR
Datasheet R8A66170DD DatasheetR8A66170DD Datasheet (PDF)

R8A66170DD/SP 4-CH 16-BIT PWM GENERATOR REJ03F0272-0100 Rev. 1.00 Apr.01.2008 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 o.

  R8A66170DD   R8A66170DD


Document
R8A66170DD/SP 4-CH 16-BIT PWM GENERATOR REJ03F0272-0100 Rev. 1.00 Apr.01.2008 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 www.DataSheet4U.com • • • • • • • • • • 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 (VCC = 5.0V) Wide operating power voltage range (VCC = 5.0V or 3.3V single power supply) 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) D0 D1 D2 Data bus inputs D3 D4 D5 D6 D7 Write control input Command/Data control input Chip select input WR C/D CS GND 1 2 3 4 5 6 7 8 9 10 11 12 24 23 22 21 20 19 18 17 16 15 14 13 Vcc PWM1 TRG1 PWM2 TRG2 PWM3 TRG3 PWM4 TRG4 PWM output 1 Trigger input 1 PWM output 2 Trigger input 2 PWM output 3 Trigger input 3 PWM output 4 Trigger input 4 RESET Reset input X1 X2 Clock input Clock output REJ03F0272-0100 Rev.1.00 Apr.01.2008 Page 1 of 20 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 Vcc 24 www.DataSheet4U.com TRG Oscillator circuit 16-bit prescaler Register Selector 16-bit, 8-bit PWM counter Inverter circuit H register L register F/F Buffer X1 14 X2 13 RESET 15 WR 9 C / D 10 CS 11 D0 D1 D2 D3 D4 D5 D6 D7 1 2 3 4 5 6 7 8 PWM Data bus buffer Write control circuit another channel 12 Selector GND PIN DESCRIPTIONS Pin name RESET D0~D7 WR C/D CS X1 X2 TRG1~ TRG4 PWM1~ PWM4 Description Reset input Data bus input Write control input Command/Data control input Chip select input Clock input Clock output Trigger input PWM output I/O Input Input Input Input Input Input Output Input Output Function 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 X1 and X2, sets the frequency. To make external clock input, connect the clock source to X1 pin and leave X2 pin open. 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. REJ03F0272-0100 Rev.1.00 Apr.01.2008 Page 2 of 20 R8A66170DD/SP OPERATION Commands The information on data bus inputs D0 through D7 is treated as command when command / data control input C/D = 1, and is treated as data when C/D = 0. 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. • Command 2 specifies, on a byte basis, to which 16-bit register of the prescaler and PWM counter of each channel data is to be written. The second and subsequent bytes of command 2 write prescaler value and PWM value. Depending on the location specified by command 2, the data of the second and subsequent bytes must be written in the order shown in Figure2. • Command 3 is used to start or stop the prescalers and PWM counters operation. www.DataSheet4U.com Data input At initialization, all 16-bit of prescaler values must be written. In mode 0 or 1, the PWM values must be written to all 16-bits of H register (*1), In mode 2, the value must be written to all 16-bits of H and L registers. (*1): In mode0, at 8-bit resolution, on.


R8A66162SP R8A66170DD R8A66170SP


@ 2014 :: Datasheetspdf.com :: Semiconductors datasheet search & download site.
(Privacy Policy & Contact)