R8A66171SP RENESAS [Renesas Technology Corp], R8A66171SP Datasheet

no-image

R8A66171SP

Manufacturer Part Number
R8A66171SP
Description
A2RT (ADVANCED ASYNCHRONOUS RECEIVER & TRANSMITTER)
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
R8A66171DD/SP
A
DESCRIPTION
The R8A66171 is an integrated circuit for asynchronous serial data communications. It is used in combina-
tion with an 8-bit microprocessor and is produced using the silicon gate CMOS technology. R8A66171 is
the succession product of M66230.
FEATURES
● Baud rate generator
● 4-byte FIFO data buffer for transmission and reception
● Error detection : CRC-CCITT
● Wakeup function
● Majority-voting system by sampling three points of received data
● Transmission / reception data format ( number of bits )
● Transmission speed
● Access time
● High output current
● Schmitt triggered input
● Wide operating supply voltage range (Vcc=3.0~3.6V or Vcc=4.5~5.5V)
● Wide operating temperature range
APPLICATION
Data communication control that uses microprocessor
PIN CONFIGURATION (TOP VIEW)
REJ03F269-0100 Rev.1.00 Feb.19.2008
Page 1 of 22
2
RT (ADVANCED ASYNCHRONOUS RECEIVER & TRANSMITTER)
WRITE CONTROL INPUT
READ CONTROL INPUT
Start bit
Data bit
Wakeup bit 1 or nil
Parity bit
Stop bit
COMMAND/DATA
CONTROL INPUT
DATA BUS
1 or 2
1
1 or nil
8
GND
C/D
WR
RD
D0
D1
D2
D3
D4
D5
D6
D7
ta (/RD-D) : 100ns
500Kbps (max)
I
RxD, /CTS, /RESET pins
OH
=-24mA I
10
11
12
1
2
3
4
5
6
7
8
9
(Ta=-40~85
OL
=24mA TxD, /RTS, P0, P1 pins
O
C
)
24
23
22
21
20
19
18
17
16
15
14
13
V
TxD
RxD
CTS
RTS
INT
CS
RESET
X1
X2
P0
P1
CC
INTERRUPT OUTPUT
CLOCK INPUT
CLOCK OUTPUT
TRANSMISSION DATA OUTPUT
RECEPTION DATA INPUT
CLEAR-TO-SEND INPUT
REQUEST-TO-SEND OUTPUT
CHIP SELECT INPUT
RESET INPUT
PORT OUTPUT
REJ03F0269-0100
Feb.19.2008
Rev. 1.00

Related parts for R8A66171SP

R8A66171SP Summary of contents

Page 1

R8A66171DD/ (ADVANCED ASYNCHRONOUS RECEIVER & TRANSMITTER) DESCRIPTION The R8A66171 is an integrated circuit for asynchronous serial data communications used in combina- tion with an 8-bit microprocessor and is produced using the silicon gate CMOS technology. ...

Page 2

R8A66171DD/SP FUNCTION The R8A66171 is a UART (Universal Asynchronous Receiver/Transmitter) and is used in the peripheral circuit of a MCU. The R8A66171 receives parallel data, converts into serial format, and then transmits the serial data via the TxD pin. The ...

Page 3

R8A66171DD/SP OPERATION The R8A66171 is interfaced to a system bus and provides all functions needed for data communication Decoder 4 8 C/D CS D0~D7 Fig.1 Interface between the R8A66171 and MCU system bus When using the R8A66171, it ...

Page 4

R8A66171DD/SP PIN DESCRIPTIONS Pin Name X1 Clock input X2 Clock output RESET Reset input CS Chip select input Command/Data control C/D input RD Read control input WR Write control input D0~D7 Data bus INT Interrupt output RxD Reception data input ...

Page 5

R8A66171DD/SP DISCRIPTION OF FUNCTION ● Baud rate generator The 8-bit programmable divider (baud rate generator) generates the baud rate for transmit or receive. The division rate is (n+1) with a range of n=0~255. The baud rate is calculated by the ...

Page 6

R8A66171DD/SP Example : Block length=6 DATA DATA DATA DATA Transmit data buffer(FIFO) MCU or DATA DATA Transmit data buffer(FIFO) ● Receive data buffer (FIFO) The receive data buffer (FIFO) consists of 4-bytes. The receive data buffer (FIFO) functions according to ...

Page 7

R8A66171DD/SP SUPPLEMENTARY DESCRIPTION FIFO The major purpose is not to interrupt the MCU by each character. The MCU is interrupted when: Transmit data buffer (FIFO) empty Receive data buffer (FIFO) full or packet end The MCU interruption interval is as ...

Page 8

R8A66171DD/SP ● Error detection (1)Parity error When a parity error occurs, D5 bit of status1 information is set. The data is send to the receive data buffer (FIFO). (2)Framing error When a framing error occurs, D3 bit of the status1 ...

Page 9

R8A66171DD/SP PROGRAMMING The command must be loaded first to the R8A66171 by the MCU before data communication. R8A66171 has 6 command registers. Data transfer is possible when commands have been loaded to these command registers after reset. The flowchart of ...

Page 10

R8A66171DD/SP COMMAND-INSTRUCTION FORMAT The commands are decoded by D7 and D6. Command1 Note 1 : Priority is given to parity enable, if parity enable and CRC enable are both "1" (D3, D2=1). ...

Page 11

R8A66171DD/SP Command4 Command5 (Address setting. The second byte when D2 bit of the command4 is set to “1”.) Command5 ( Address setting. The second byte when D2 bit of the command4 bit ...

Page 12

R8A66171DD/SP STATUS INFORMATION ・Status 1 and 2 cannot address setting from external pin. Discrimination of status used to D7 bit. ・Status 1 and 2 has read mutually. (There are not continuity read of same status.) Status1 0 CRCE PE OE ...

Page 13

R8A66171DD/SP TRANSMISSION FORMAT Transmit format Parity enabled MCU → R8A66171 Assembled data format Start bit ( 1 bit ) Transmitter output TxD mark Start bit condition ( 1 bit ) CRC enabled MCU → R8A66171 After assembly Start bit ( ...

Page 14

R8A66171DD/SP TRANSMISSION FORMAT Receive format Parity enabled Receiver input RxD mark Start bit condition ( 1 bit ) Receive format Start bit ( 1 bit ) R8A66171 → MCU CRC enabled Receiver input Start bit RxD mark ( 1 bit ...

Page 15

R8A66171DD/SP ABSOLUTE MAXIMUM RATINGS Symbol Parameter V Supply voltage CC VI Input voltage Output voltage VO Power dissipation Pd Tstg Storage temperature RECOMMENDED OPERATING CONDITIONS Symbol Parameter V Supply voltage CC GND Ground Topr Operating temperature ELECTRICAL CHARACTERISTICS 5.0V version ...

Page 16

R8A66171DD/SP TIMING REQUIREMENTS Symbol t (X1) Clock frequency C1 Clock high-level t (X1) WH1 pulse width (Except Wakeup, CRC mode) Clock low-level t (X1) WL1 pulse width t (X1) Clock frequency C2 Clock high-level t (X1) WH2 pulse width Clock ...

Page 17

R8A66171DD/SP TEST CIRCUIT Input Vcc P.G. DUT 50Ω GND TIMING DIAGRAM Input/output waveform at read data and read status RD 50% t (/R-DQ) PZL D0~D7 50% t (/R-DQ) PZH D0~D7 50% Clock Timing t WL (X1) 90% 50 ...

Page 18

R8A66171DD/SP Write control cycle (MCU→R8A66171) tsu(A-/W) 50% CS C/D 50% tsu(A-/W) WR 50% D0~D7 INT RTS, P0, P1 Read control cycle (R8A66171→MCU) tsu(A-/R) 50% CS C/D 50% tsu(A-/R) RD 50% D0~D7 REJ03F269-0100 Rev.1.00 Feb.19.2008 Page th(/W-A) 50% ...

Page 19

R8A66171DD/SP Write data cycle (MCU→R8A66171) tsu(A-/W) 50% CS tsu(A-/W) C/D 50% WR 50% D0~D7 INT Read data cycle (R8A66171→MCU) tsu(A-/R) CS 50% tsu(A-/R) C/D 50% RD 50% D0~D7 INT REJ03F269-0100 Rev.1.00 Feb.19.2008 Page th(/W-A) 50% th(/W-A) 50% ...

Page 20

R8A66171DD/SP Transmitter control and flag timing (1) Block length=1 C/D WR TXEN DATA1 CTS INT T BEMP X (Status (2) Block length=3 C/D WR DATA1 DATA2 DATA3 TXEN CTS INT T BEMP X (Status ...

Page 21

R8A66171DD/SP Receiver control and flag timing (1) Block length=1 C/D RD RXEN WR INT R BPE X (Status) OE (Status) RxD DATA1 (2) Block length=3 C RXEN INT R BPE X (Status) OE (Status) RxD DATA1 DATA2 DATA3 ...

Page 22

... R8A66171DD/SP PACKAGE OUTLINE Product Name R8A66171DD R8A66171SP 24pin SOP All trademarks and registered trademarks are the property of their respective owners. REJ03F269-0100 Rev.1.00 Feb.19.2008 Page Package RENESAS Code 24pin DIP PRDP0024AF-A PRSP0024DF-A Previous Code 24P4X-A 24P2X-B ...

Page 23

...

Related keywords