MCS7780 USB 1.1 to IrDA Port Features * USB Specification 1.1 Compliant. * Supports all USB Standard Commands. * Full Compliance to IrDA 1.4 * WHQL Certified * Low-Power CMOS Design * Powered from USB port * Single 12 MHz Crystal * IrDA Data Rates from 2.4 Kbps to 115.2 Kbps in SIR mode * Supports MIR (Medium IR) at 1.152 Mbps * Supports FIR (Fast IR) mode with Data Rate of 4 Mbps * Uses Standard IrDA Transceivers * LED Driver capable of 650 mA @ 5V, 25% Duty Cycle * Low-Profile 28-Pin SSOP Package Applications * High-Speed IrDA Communications * Cell Phone Interface Cable Application Note * AN-7780 Evaluation Board * MCS7780-EVB "IrReady Qualified" in Demo Adapters Customer boards require IrDA qualification General Description The MCS7780 controller provides bridging between the Universal Serial Bus (USB) input and an IrDA wireless data communication port. This device contains all the necessary logic to communicate with the host computer via the USB Bus. Ordering Information Commercial Grade (0 C to +70 C) MCS7780CS 28-SSOP Standard MCS7780CS-GR 28-SSOP RoHS The MCS7780 operates in Bus-Powered mode, and uses a reduced frequency (12MHz) crystal oscillator. This combination of features allows significant cost savings in system design along with straight forward implementation of IrDA port functionality into PC peripherals using the host's USB port. MosChip Semiconductor 3335 Kifer Rd, Santa Clara, CA 95051 Tel (408) 737-7141 Fax (408) 737-7708 MCS7780 USB 1.1 to IrDA Port Block Diagram DP DM USB Interface Serial Interface Engine XTAL1 XTAL2 Page PLL & Clock Generator Descriptor Table FIFO FIFO IrDa Digital Interface TX, TX Diode SD/MODE RX Fast RX Slow Rev. 1.2 MCS7780 USB 1.1 to IrDA Port 28-Pin SSOP Package 1 28 N.C. TXDIODE 2 27 N.C. N.C. 3 26 XTAL2 N.C. 4 25 XTAL1 RXFAST 5 24 DGND TX 6 RXSLOW 7 SD/MODE 8 DGND 9 3.3V 10 AGND 11 DM 12 Rev. 1.2 MCS7780CS TXDIODEG 23 nRESET 22 N.C. 21 N.C. 20 N.C. 19 N.C. 18 3.3VA 17 DP N.C. 13 16 N.C. N.C. 14 15 N.C. Page MCS7780 USB 1.1 to IrDA Port Pin Descriptions Pin Name Pin Type Description TXDIODEG 1 PWR Optional LED Driver Output GND TXDIODE 2 O Optional Transmit LED Driver Output RXFAST 5 I Receive Data from IR module (Fast) TX 6 O Transmit Data output to IR module RXSLOW 7 I Receive Data from IR module (Slow) SD/MODE 8 O Mode Control to IR module DM 12 I/O USB Interface differential Data Negative DP 17 I/O USB Interface differential Data Positive nRESET 23 I Master Reset, (active low) XTAL1 25 I 12 MHz Crystal/Clock Input XTAL2 26 O 12 MHz Crystal/Clock Output 3.3VA 18 PWR USB Transceiver Power Supply 3.3V 10 PWR Digital Power Supply AGND 11 PWR USB Transceiver Power Supply Ground DGND 9, 24 PWR Digital Power Supply Ground Page Rev. 1.2 MCS7780 USB 1.1 to IrDA Port Functional Description The MCS7780 consists of two major functional blocks, the USB controller, and the digital IR transceiver. The USB controller provides Control, Bulk-In, and Bulk-Out endpoints to the USB host. The digital IR transceiver consists of transmit and receive interfaces that connect to an analog IR front end. Digital IR Transceiver The Digital IR Transceiver is responsible for driving the transmit diode and receiving the digital input from an analog IR front end. The primary components are the transmit modulator, the receive demodulator, the FIFO, the analog transmit section, and the register array. This USB/lrDA Bridge Controller has full interface capability to connect between a USB Bus, and an IrDA compatible infrared transceiver device. By programming the registers in the register array, the device's operation is determined. Various registers are used to specify operations such as the modulation scheme, the Baud rate, the current frame size in the FIFO, the RX input selection, etc. USB Interface The USB Device Controller implements a USB protocol engine. It has one configuration with a single interface. Two Bulk endpoints with maximum packet size of 64 Bytes are used for data transfers. The MCS7780 uses Vendor Specific commands for IR configuration and control. Two vendor specific requests ("Write Word" & "Read Word") are defined for this purpose. The vendor specific requests are piped through the Control endpoint. "Write Word" is a 2 phase transaction which can be used to write a single 16-bit register. The setup phase of this command supplies both the index and data value to be written into the register. There is no data phase in this transfer. In steady state transmit operation, the USB controller is filling the FIFO with data while the Digital IR Transceiver is emptying it via the transmit modulator. In steady state receive operation, the USB controller is emptying the FIFO while the RX demodulator is filling the FIFO. IR FRAMING Framing involves adding wrappers around the payload received from NDIS to make a valid IR frame. MCS7780 uses a custom framing style to achieve low gate count. The hardware and software together play a role in making of SIR, MIR, and FIR frames. The "Read Word" request is used to read the register contents of the MCS7780. It allows reading one 16bit register at a time. The setup phase specifies the register address to be read and the data is returned in the data phase. Rev. 1.2 Page MCS7780 USB 1.1 to IrDA Port Mode Register: offset 0x00 Name Bit Access Default FIR 0* R/W 0 SIR 1* R/W 0 BBTG 2 R/W 1 ASK 3* Reserved PARITY 4* R/W 0 RATE [7:5] * R/W 1 PLLPWD 8 R/W 1 DRIVER 9 R/W 0 DTD 10 R/W 1 DIR 11 R/W 0 SIPEN 12 R/W 1 SENDSIP 13 R/W 0 CHGDIR 14 R 1 RESET 15 R/W 1 Description 1 = Puts the device in Fast Infrared mode (4MHz). 0 = Device uses SIR/MIR mode based on Baud Rate register. 1 = The SIR pulse width of 1.6 uS is used. 0 = The SIR pulse used is 3/16th of bit time. 1 = Enables back to back transmission with no inter packet gap. Invalid in SIR mode. Reserved 1 = Odd parity to be used by ASK. 0 = Even parity is used Baud Rate selector. (See Table Below) 1 = Enable power down feature of the PLL 0 = power down feature of the PLL disabled. 1 = Upon initialization. 0 = Upon reset. The Device Driver sets this bit as the first step of initialization to enable further access to the register set. 1 = Device determines the transfer direction automatically. 0 = The direction is controlled by software by writing a 1 (TX) or 0 (RX) in DIR bit of this register 1 = Transmit 0 = Receive This bit is valid only when DTD = 0. Software should check the CHGDIR bit before writing to this bit. 1 = Enables automatic hardware generation of SIP pulse. 0 = Disables the auto SIP generation. Software must generate it through Vendor Specific commands. On detecting a transition from low to high on this bit, the device generates a SIP. 1 = Software is allowed to change the transfer direction by writing to DIR bit. 0 = Direction change is not allowed. Software polls until this bit goes high before changing direction. 0 = Resets the bridge and IR TOP modules. This bit is self clearing. * IR needs to be reset when this bit is changed. Baud Rate 0 1 2 3 4 5 6 7 Page Frequency Selected 2.4 Kbps 9.6 Kbps 19.2 Kbps 38.4 Kbps 57.6 Kbps 115.2 Kbps 0.576 Mbps 1.152 Mbps Rev. 1.2 MCS7780 USB 1.1 to IrDA Port Framing Register: offset 0x01 Name Bit Access Default Description The number of STAs to be used STAL IPG [7:0] [15:8] R/W R/W 0x00 0x00 * Bit-7 = 1, The 6 LSBs indicate the number of STAs to be used. * Bit-7 = 0, Uses the values hard coded in the design. Inter-packet gap Specified in terms of number of bit times (MIR) or chip time (FIR). * Bit-15 = 1, The 6 LSBs indicate the inter-packet gap to be used. * Bit-15 = 0, Uses the values hard coded in the design. * IR needs to be reset when this bit is changed. Rev. 1.2 Page MCS7780 USB 1.1 to IrDA Port XCVR Register: offset 0x02 Name Bit Access Default Description MODE0 0 R/W 0 Used to configure the transceiver. The usage varies with the transceiver make and is reflected in the transceiver truth table. STFIR 1 R/W 0 Used to configure the transceiver. The usage varies with the transceiver make and is reflected in the transceiver truth table. XCVR 2 R/W 0 1 = Puts the transceiver in Configuration Mode. 0 = Puts the transceiver in Data Transfer Mode. RXFAST 3 R/W 0 1 = Causes the device to use RXFAST as the input pin for receive from transceiver. 0 = Causes the device to use RXSLOW as the receive signal. TXCUR [6:4] R/W 0 Sets the current control bits of the pad that drives TX-LED. This controls the current supplied to TX-LED. MODE1 7 R/W 0 Used to configure the transceiver. The usage varies with the transceiver make and is reflected in the transceiver truth table. SMODE0 8 R/W 1 Value of MODE0 to be configured to put it into shut down. Varies with transceiver make. SMODE1 9 R/W 0 Value of MODE1 to be configured to put it in shut down. Varies with transceiver make. INVTX 10 R/W 0 1 = inverts the data bits being fed into transceiver for transmit. 0 = the transmit line works as active high signal. INVRX 11 R/W EEDATA [15:12] R Page 1 = RXD line from transceiver is treated as an active low signal 0 = RXD line from transceiver is treated as an active high signal. 0 Loaded from the EEPROM. Rev. 1.2 MCS7780 USB 1.1 to IrDA Port The table below shows the usage of XCVR Register for various Transceivers. Vendor Code Vishay TDFU6614 Dynamic Configuration MODE0 MODE1 STC_FIR Latched From 0 1->0 0 0 TXD Vishay TDFU6102 0 1->0 0 0 TXD SHARP GP2W100YP 1 1->0 0 1 TXD Agilent 3602/3600 2 Can switch pins dynamically. There is no latching mechanism SIP Resister: offset 0x03 Name Bit Access Default Description SIPON [6:0] R/W 0x4C Specifies pulse width of the SIP in terms of number of 48 MHz clocks. SIPOFF [15:7] R/W 0x154 The SIP low time. Specified as of number of 48 MHz clocks. Default Description MINRXPW Register: offset 0x04 Name Bit Access Minimum pulse width of the signal to be received. MNRXW Rev. 1.2 [15:0] R/W 0x00 0 = Device uses the hard coded values. X = non zero Device uses the value specified from this register. Page MCS7780 USB 1.1 to IrDA Port TXPW Register: offset 0x05 Name Bit Access Default Description Pulse width of the signal transmitted. TXPW [15:0] R/W 0x00 0 = device uses the hard coded values X = non zero value, device uses the value specified from this register. Access Default Description 0x0A Timeout specified in intervals of 50mS. Used in SIR mode to abort a receive if idle for long period specified by this register. RFIFO2 Register: offset 0x06 Name TIMEOT Bit [7:0] R/W N => N*50 mS timeout. TRSHD [14:8] R/W 0x40 CLRFF 15 R/W 0 FIFO Threshold 1 = Clear FIFO pointers 0 = FIFO pointers not cleared This bit is self clearing RESV Register: offset 0x07 Name Bit Access Default IRINTX 0 R 0 1 = Indicates that transmit is in progress 0 = Indicates that transmit is not in progress IRINRX 1 R 0 1 = Indicates that the receive is in progress 0 = Indicates that receive is not in progress RESV [15:2] R/W 0x0A Page 10 Description Reserved Rev. 1.2 MCS7780 USB 1.1 to IrDA Port Absolute Maximum Ratings Supply Voltage 3.8 Volts Voltage at any pin GND - 0.3 to Vcc + 0.3 Operating Temperature -45 C to +90 C Storage Temperature -65 C to +150 C Package Dissipation 500 mW ESD 2000 Volts Latch up 220 mA DC Electrical Specifications Temp = 0 C to +70 C, Vcc = 3.3V 10% unless otherwise specified. Symbol Parameter Min Max Unit Vcc Supply Voltage 3.0 3.6 V VclkL Clock input low level -0.5 0.6 V External VclkH Clock input high level 2.4 Vcc V External ViL Input low level 1.08 V CMOS ViH Input high level V CMOS VoL Output low level V IoL = 4 mA VoH Output high level 1.85 V IoH = 4 mA IiL Input leakage current -10 +10 A Icc Operating current 12 19 mA Cp Input pin Capacitance 5 pF 2.1 0.4 Condition AC Electrical Specifications Temp = 0 C to +70 C, Vcc = 3.3V 10% unless otherwise specified. Symbol Parameter Min Max Unit Condition CLKA USB clock frequency 12 12 MHz 50PPM Rev. 1.2 Page 11 MCS7780 USB 1.1 to IrDA Port 28 1 e 0.22 TYP D 15 14 E1 E A2 A1 c L MIN MILLIMETERS TYP MAX A1 0.05 0.21 0.020 0.08 A2 1.65 1.80 0.650 0.708 SYMBOL 28-Pin SSOP Package Dimensions Page 12 C MIN INCHES TYP MAX 0.25 e 0.65 D 10.00 E 7.4 E1 5.2 L 0.55 0.026 10.4 7.8 4.09 2.05 2.12 8.2 5.4 0.75 3.93 0.95 Rev. 1.2 MCS7780 USB 1.1 to IrDA Port IMPORTANT NOTICE MosChip Semiconductor Technology, LTD products are not authorized for use as critical components in life support devices or systems. Life support devices are applications that may involve potential risks of death, personal injury or severe property or environmental damages. These critical components are semiconductor products whose failure to perform can be reasonably expected to cause the failure of the life support systems or device, or to adversely impact its effectiveness or safety. The use of MosChip Semiconductor Technology LTD's products in such devices or systems is done so fully at the customer risk and liability. As in all designs and applications it is recommended that the customer apply sufficient safeguards and guard bands in both the design and operating parameters. MosChip Semiconductor Technology LTD assumes no liability for customer's applications assistance or for any customer's product design(s) that use MosChip Semiconductor Technology, LTD's products. MosChip Semiconductor Technology, LTD warrants the performance of its products to the current specifications in effect at the time of sale per MosChip Semiconductor Technology, LTD standard limited warranty. MosChip Semiconductor Technology, LTD imposes testing and quality control processes that it deems necessary to support this warranty. The customer should be aware that not all parameters are 100% tested for each device. Sufficient testing is done to ensure product reliability in accordance with MosChip Semiconductor Technology LTD's warranty. MosChip Semiconductor Technology, LTD believes the information in this document to be accurate and reliable but assumes no responsibility for any errors or omissions that may have occurred in its generation or printing. The information contained herein is subject to change without notice and no responsibility is assumed by MosChip Semiconductor Technology, LTD to update or keep current the information contained in this document, nor for its use or for infringement of patent or other rights of third parties. MosChip Semiconductor Technology, LTD does not warrant or represent that any license, either expressed or implied, is granted to the user. Rev. 1.2 Page 13 MCS7780 USB 1.1 to IrDA Port Revision History Revision Changes Date 1.0 Corrections Feb-2004 1.1 Corrected Package Dimensions 9-Dec-2005 1.2 Corrected Internal Register Details 3-Jan-2006 Page 14 Rev. 1.2