M66011FP MITSUBISHI | Alldatasheet
Document overview
- Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
- PDF pages: 12
Technical content
MITSUBISHI 〈DIGITAL ASSP 〉 M66011FP SERIAL BUS CONTROLLER MITSUBISHI 〈DIGITAL ASSP 〉 M66011FP SERIAL BUS CONTROLLER
DESCRIPTION
M66011 Semiconductor Integrated Circuit is a serial bus con- troller. It converts 2-byte parallel data that arrives from micro- computer into serial and outputs it to serial bus. It also converts serial data input from serial bus into parallel and out- puts it to microcomputer. The M66011 is used for the extension of microcomputer I/O ports and two-way communication with peripheral equipment connected with serial buses.
FEATURES
- Compatible with general-purpose 8-bit microprocessor bus- ses
- TTL level input (one microcomputer side)
- Interrupt output
- Schmitt input (RESET, CS, SIN)
- Low power dissipation
- Wide operating temperature range (Ta = –20 to 75˚C) APPLICATION Microcomputer I/O port extension, etc. PIN CONFIGURATION (TOP VIEW) BLOCK DIAGRAM Af 1RESET 3CS 2WR 23RD 15CLOCK INPUT 14CLOCK OUTPUT DATA BUS
20 SCLK
16 INT
19 SOUT
18 SIN
byte serial output (8 bits) Shift register for upper byte serial output (8 bits) Acknowledge bit (ACK)Read register Timing control circuit Oscillation circuit Shift register for serial input (9 bits) CLK SR L SR U CLK, LOADCLK, LOAD SHIFT CLOCK OUTPUT INTERRUPT OUTPUT OUTPUT ENABLE OUTPUT SERIAL DATA OUTPUT SERIAL DATA INPUT RESET WR CS GND VCC RD SCLK SOUT SIN OE INT Xin Xout V CC M66011FP Outline 24P2N-B RESET INPUT WRITE INPUT CHIP SELECT INPUT DATA BUS READ INPUT ADDRESS INPUT SHIFT CLOCK OUTPUT SERIAL DATA OUTPUT SERIAL DATA INPUT OUTPUT ENABLE OUTPUT INTERRUPT OUTPUT CLOCK INPUT CLOCK OUTPUT
MITSUBISHI 〈DIGITAL ASSP 〉 M66011FP SERIAL BUS CONTROLLER FUNCTION M66011 integrated circuit is a serial bus controller. It is equipped with two 8-bit shift registers used to convert parallel input data into serial for output, as well as with one 9-bit shift register used to convert serial input data into parallel for out- put. This IC receives and sends 8-bit parallel in communication with microcomputer. In communication with serial bus, it out- puts 16-bit data and receives 9-bit data. Serial data input/output uses four signal lines: shift clock out- put SCLK, serial data output SOUT, serial data input SIN and output enable output OE. Serial data is output synchronously with shift clock fall edges, while input of serial data is synchronous with shift clock rise edges. Serial communication data consists of one prefixed acknowl- edge bit and 8 data bits. PIN DESCRIPTIONS Functions “L” level: M66011 is reset to initial state. “L” level: M66011 becomes accessible. “L” level: 8-bit parallel data is input from data bus and written on M66011. “L” level: Serial-input 8-bit data or internal status data is output in parallel to data bus. Bi-directional 8-bit bus buffer. Used for communication with microcomputer (data write and read). Outputs clock to serial bus. Active (“H”) status normally. Outputs serial data to serial bus. Active (“H”) status normally. Inputs serial data from serial bus. “L” when serial data communication is executed. Active (“H”) otherwise. Outputs interrupt command signal to microcomputer when serial data communication is finished. Selects register on which data is written during write operation. Designates data to be read during read operation. Connected to ceramic resonator, generates M66011 activation clock and SCLK output clock. If clock is input from outside, use pin X in and keep pin Xout open. Connected positive supply (5V). Used for grounding (0V). Pin RESET CS WR RD D0~D7 SCLK SOUT SIN OE INT A0, A1 X in Xout VCC GND Name Reset input Chip select input Write input Read input Data bus Shift clock output Serial date output Serial data input Output enable output Interrupt output Address input Clock input Clock output Positive supply pin Grounding pin Input/Output Input Input Input Input Input/Output Output Output Input Output Output Input Input Output
MITSUBISHI 〈DIGITAL ASSP 〉 M66011FP SERIAL BUS CONTROLLER OPERATION 1. Write operation (1)Serial output data setting The M66011 has two built-in 8-bit shift registers. They are used to set serial output data. When the address setting is (A1, A0) = (0, 1), 8-bit data on data bus is written on the upper byte serial output shift reg- ister (SR U ). When the address setting is (A1, A0) = (0, 0), the data is written on the lower byte serial output shift reg- ister (SRL). In either case, data write starts when WR is on the “L” level. (2)Status register setting When the address setting is (A1, A0) = (1, 1), written data becomes the setting of status register in M66011. (Refer to the table below.) Write Operation Basic Functions (Note 1) Functions
- Interrupt output control register Data bus data CS RD WR Note 1: Figure “0” indicates “L” level, while “1” indicates “H” level. D7 D6 D5 D4 D3 D2 D1 D0 D1 Divider ratio Don’t care Don’t care “0”: Interrupt output disable (INT output is fixed to “L”.) “1”: Interrupt output enable (INT output shifts from “L” to “H” when serial communication is completed.) CS WR OE SOUT SCLK Data buses D0~D7 D0 U ~D7 U D0 L~D7 L "L" or "H" Write on SRU Write on SRL Write Operation Basic Timing (Serial Output Data Setting) D7 U ~D0 U D7 L~D0 L Note 2:
MITSUBISHI 〈DIGITAL ASSP 〉 M66011FP SERIAL BUS CONTROLLER 2. Read operation When a read access arrives, M66011 outputs data in par- allel to data bus. The data output at this moment may be serial input data, or data on internal status resister. When a read access arrives when the address setting is (A1, A0) = (1, 0), 8-bits of 9-bit serial input data, excluding the acknowledge bit, is output to data bus While RD is “L”. When a read access arrives when the address setting is (A1, A0) =(1, 1), interrupt control register, busy flag, serial- input acknowledge bit and clock dividing ratio register are output to data bus while RD is “L”. Read Operation Basic Function Functions CS RD WR Read Output Data Details (1)When (A1, A0) is (1, 0): (2)When (A1, A0) is (1, 1): D7 D6 D5 D4 D3 D2 D1 Serial input data least significant bit (DI0) Serial input data most significant bit (DI7) Data bus CS RD Data buses D0~D7 High impedance VALID Read Operation Timing High impedance D7 D6 D5 D4 D3 D2 D1 D0 D1 Divider ratio Not specified Interrupt control register data “0”: Interrupt output disable “1”: Interrupt output disable Data bus Busy flag (Refer to 3, Serial data input/output operation for details.) “0”: Access possible “1”: Serial communication in progress. Write access prohibited. Shift clock dividing ratio Acknowledge bit
MITSUBISHI 〈DIGITAL ASSP 〉 M66011FP SERIAL BUS CONTROLLER 3. Serial data input/output operation A cycle of 16-bit serial output data setting and serial data communication starts with a write access given by micro- computer to transmission shift registers in M66011. M66011 has two 8-bit shift registers, on for upper byte (SR U ), the other for lower byte (SRL). If the CS status rises from “L” to “H” after a write access is given to SRL, serial data communication is started. SRU 8-bit data and SRL, 8- bit data are output in series in this order. Output of each data starts from its most significant bit. At the CS rise edge, busy flag in M66011 is set, and OE output shifts from “H” to “L”. Shift clock SCLK and serial data SOUT are then output. At SCLK fall edges, serial output shift register executes shifting operation, and data on shift register is output in se- ries from pin SOUT. Serial input data from pin SIN is taken into input shift register at SCLK 8T thru 16T rise edges. However, data taken in at 8T rise edge is processed as ac- knowledge bit, while data taken in at 9T thru 16T rise edges are processed as data bits. After the SCLK 16T rise edge, the status of SOUT and OE shifts to “H” after one bit’s delay of SCLK, and busy flag is reset. When interrupt output is being set to enable, INT output is set. (Remarks) (1)If CS rises after write operation is executed on SR L only and not on SRU , SRU data is unstable. (2)When write operations executed on SRL, M66011 be- comes ready for start of serial communication and stands by for detection of CS rise. However, if a read access is given after data is written on SRL while CS is maintained on “L” level, this standby status is canceled. To resume se- rial communication in this case, rewrite data on SRL and raise CS. CS Serial communication period SRL write operation OE INT SCLK SOUT SIN Busy flag (in M66011) Serial Communication Timing Chart D0 15 D0 14 D0 13 D0 12 D0 11 D0 10 D0 9 D0 8 D0 7 D0 6 D0 5 D0 4 D0 3 D0 2 D0 1 D0 0 (D7U ) (D0 U ) (D7L) (D0 L) ACK DI 7 DI6 DI5 DI4 DI3 DI2 DI1 DI0 1T 2T 8T 9T 16T
MITSUBISHI 〈DIGITAL ASSP 〉 M66011FP SERIAL BUS CONTROLLER 4. Shift clock output Shift clock output pin (SCLK) outputs clock pulses gener- ated by ceramic resonator oscillation circuit connected be- tween pins X in and Xout, or divided clock pulses input via pin Xin from external clock. The dividing ratio can be se- lected from among 1/2, 1/4, 1/8 and 1/16. 5. Interrupt output When interrupt output control register is set to “1” (inter- rupt output enable), the status of this output shifts from “L” to “H” at the end of a serial communication cycle, and an interrupt command is given to microcomputer. Interrupt output “H” is reset when read accessed. When interrupt output control register is set to “0” (inter- rupt output disable), the status of this output is retained on the “L” level. 6. Conditions when reset If “L” is input to RESET, M66011 are put under the condi- tions as specified below: 7. Oscillation circuit An example of circuit connection and circuit constants are given below for the case where a ceramic resonator is used. Pin name OE, SCLK and SOUT outputs Internal busy flag Acknowledge bit register INT output Divider ratio Status Active (“H”) Reset (“L”) Set (“H”) Disable (continuous “L” output) Clock Oscillation Circuit Ceramic resonator CSA4.00 MG 040 CST4.00 MGW 040 CSA8.00 MT CSA8.00 MTW Rf (MΩ ) 1.0 1.0 1.0 1.0 Frequency (MHz) 4.0 4.0 8.0 8.0 (pF) 100 100 (built-in) (built-in) (pF) 100 100 (built-in) (built-in) Maker Murata Mfg. M66011FP R f C 2C 1 Ceramic resonator Xin Xout
MITSUBISHI 〈DIGITAL ASSP 〉 M66011FP SERIAL BUS CONTROLLER Ratings –0.5 ~ +7.0 –0.5 ~ VCC + 0.5 –0.5 ~ VCC + 0.5 500 –60 ~ 150 Symbol VCC VI VO Pd Tstg Parameter supply voltage Input voltage Output voltage Power dissipation Storage temperature ABSOLUTE MAXIMUM RATINGS RECOMMENDED OPERATIONAL CONDITIONS Symbol VCC VI VO Topr Parameter Supply voltage Input voltage Output voltage Operating temperature Limits Min. 4.5 –20 Typ. 5.0 Max. 5.5 V CC VCC Unit V V V Symbol VIH VIL VIH VIL VT+ VT– Vh VOH VOL II IOZ ICC CI/O Parameter “H” input voltage “L” input voltage “H” input voltage “L” input voltage Positive threshold voltage Negative threshold voltage Hysteresis width “H” output voltage “L” output voltage Input leak current Output leak current in off state Quiescent supply current Input/output pin capacitance ELECTRICAL CHARACTERISTICS (Ta = –20 ~ 75˚C, VCC = 5V ± 10% and GND = 0V unless otherwise noted) Max. 0.8 VCC ×0.2 2.4 0.4 ±10 ±10 200 Unit V V V V V V V V V µA µA µA pF Typ. 0.6 Min. 2.0 V CC ×0.8 0.7 VCC –0.8 LimitsTest conditions IOH =–4mA IOL =4mA VI=0~V CC VO =0~V CC VI=VCC , GND output open WR, RD, A0, A1, D0~D7 Xin RESET, CS, SIN D0~D7, SCLK, INT, SOUT, OE D0~D7 D0~D7 Note 3: Standard value measuring conditions: Ta = 25˚C and VCC =5V Unit V V V mW
MITSUBISHI 〈DIGITAL ASSP 〉 M66011FP SERIAL BUS CONTROLLER Parameter Clock cycle Clock “H” pulse width Clock “L” pulse width Clock rise time Clock fall time Read pulse width Write pulse width Chip select setup time before read Address setup time before read Chip select setup time before write Address setup time before write Data setup time before write Chip select hold time after read Address hold time after read Chip select hold time after write Address hold time after write Data hold time after write Serial data setup time Serial data hold time Internal processing time after write Chip select “H” time at serial communication start up TIMING CONDITIONS (Ta = –20 ~ 75˚C, VCC = 5V ± 10%, GND = 0V) Max. 520 5tc(φ) Unit ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns Typ. t c(φ)/2 tc(φ)/2 Min. 120 100 100 100 100 c(φ) LimitsTest conditions (1)Pulse generator (PG) characteristics: tr=tf=6ns, Zo=50Ω (2)Capacitance CL includes connection floating capacitance and probe input capacitance. Symbol tPZH(R-D) tPZL(R-D) tPHZ(R-D) tPLZ(R-D) tPLH, tPHL Open Closed Open Closed Open Closed Open Closed Open Open NOTE 4: TEST CIRCUIT Symbol tc(φ) tWH( φ) tWL( φ) tr(φ) tf(φ) tW(R) tW(W) tsu(CS-R) tsu(A-R) tsu(CS-W) tsu(A-W) tsu(D-W) th(R-CS) th(R-A) th(W-CS) th(W-A) th(W-D) tsu(SI-CK) th(CK-SI) tBUSY tWH(CS) C L 50Ω (2) R L R L Output test pointVCCInput test point OutputInput DUTP.G. (1) Symbol tPZH(R-D) tPZL(R-D) tPHZ(R-D) tPLZ(R-D) tPLH , tPHL Parameter Data output enable time after read Data output disable time after read Serial output propagation delay time SWITCHING CHARACTERISTICS (Ta = –20 ~ 75˚C, VCC = 5V ± 10%, GND = 0V) Max. Unit ns ns ns ns ns Typ. n·tc(φ) Min. tc(φ)+20 LimitsTest conditions CL=150pF RL=2K Ω (Note 4)SCLK-SOUT OE-SCLK SCLK-OE n: Divider ratio
MITSUBISHI 〈DIGITAL ASSP 〉 M66011FP SERIAL BUS CONTROLLER TIMING CHARTS tc(φ) tWL (φ)t WH (φ) 50% 90% 50% 50% 10% 90% tr(φ)t f(φ) 10% Clock timing Read operation timing Write operation timing tW(R) 1.5V 1.5V 1.5V 1.5V th(R-CS), th(R-A) tsu(CS-R), tsu(A-R) tPHZ(R-D), tPLZ(R-D) tPZH(R-D), tPZL(R-D) 1.5V 90% 10% RD CS, A0, A1 D0 ~ D7 tW(W) 1.5V 1.5V 1.5V 1.5V th(W-CS), th(W-A) tsu(CS-W), tsu(A-W) th(W-D) 1.5V WR CS, A0, A1 D0 ~ D7 tsu(D-W) 1.5V
MITSUBISHI 〈DIGITAL ASSP 〉 M66011FP SERIAL BUS CONTROLLER tBUSY 1.5V 1.5VWR tWH(CS) 1.5V 1.5VCS SR L Write access to SRL SCLK 1.5VSOUT 1.5V tPLH, tPHL 1.5V 1.5V tPHL 1.5V 1.5V tPLH OE SCLK tsu (SI-CK) 1.5VSCLK th (CK-SI) 1.5V 1.5VSIN Write operation internal processing time Serial input communication start timing Serial input operation Serial output operation
MITSUBISHI 〈DIGITAL ASSP 〉 M66011FP SERIAL BUS CONTROLLER Start Status register set SR U write SR L write CS=“L” to “H” Status read Serial input data read END Acknowledge =“0” Communication trouble (Serial communication start) (Serial communication end) Interrupt command output When INT Output Is Used YES NO Start Status register set SR U write SR L write CS=“L” to “H” Status read Serial input data read END Acknowledge =“0” Communication trouble (Serial communication) When Busy Flag Is Used YES NO Busy flag =“0” YES NO Operation Flow Chart
MITSUBISHI 〈DIGITAL ASSP 〉 M66011FP SERIAL BUS CONTROLLER APPLICATION EXAMPLE M66011 Xin Xout SYSTEM RESET RESET ADDRESS WR RD INT DATA BUS RESET CS ADDRESS DECODER WR RD INT D0~D7 OE SIN SOUT SCLK EN DO DI CLK RESET D0~D7 A0~A4 I/O-1 VCC or GND EN DO DI CLK RESET D0~D7 A0~A4 I/O-2 VCC or GND M66009 MICROCOMPUTER M66009