mcs7820 MosChip, mcs7820 Datasheet

no-image

mcs7820

Manufacturer Part Number
mcs7820
Description
Usb-2.0 To Two Serial Ports
Manufacturer
MosChip
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mcs7820CV-AA
Manufacturer:
SMD
Quantity:
78
Company:
Part Number:
mcs7820CV-AA
Quantity:
697
Features
General Description
The MCS7820 is a USB-2.0 to Dual-Serial Port
device. It has been developed to connect a wide
range of standard serial devices to a USB host.
The MCS7820 has a USB Device Controller
connected to two (2) individual UARTs.
Support for the following serial communication
programs is included:
HyperTerminal, PComm, Windows direct
connection, Windows dial-up connection through
modem, Networking over IrDA and Windows direct
connection over IrDA, Minicom.
MosChip Semiconductor
USB-2.0 Device Controller
On-Chip USB-2.0 PHY
On-Chip Voltage Regulators
Two 16c450/16c550 compatible UARTs
Supports SIR IrDA Mode on any/all ports
Supports RS-232, RS-485 and RS-422
Serial Ports
5, 6, 7 and 8-bit Serial Data support
Hardware and Software Flow Control
Serial Port speeds from 50 bps to 6 Mbps
Custom BAUD Rates supported through
external clock and/or by programming the
internal PLL
On-Chip 512-Byte FIFOs for upstream and
downstream data transfers for each Serial
Port
Supports Remote Wakeup and Power
Management features
Serial Port Transceiver Shut-Down
support
Two-Wire I
EEPROM read/write through USB
iSerial feature support with EEPROM
One Bi-directional multi-function GPIO
On-Chip buffers for Serial Port signals to
operate without external Transceivers over
short cable lengths
Bus-Powered Device
2
C Interface for EEPROM
♦ 3335 Kifer Rd, Santa Clara, CA 95051 ♦ Tel (408) 737-7141 ♦ Fax (408) 737-7708
Applications
Application Note
Evaluation Board
Package
Driver Support
Utility Support
MCS7820CV
Commercial Grade (0 °C to +70 °C)
Serial Attached Devices
Modems, Serial Mouse, Generic Serial
Devices
Serial-Port Server
Data Acquisition System
POS Terminal and Industrial PC
AN-7820
MCS7820-EVB
48-pin LQFP Package
Windows
(98SE / ME / 2000 / XP / 2003 Server)
Linux Kernel 2.6.5 and above
MAC 10.2 and above
Windows CE5.0
Windows Vista
Windows based EEPROM Tool
Mass Production Utility
USB-2.0 to Two Serial Ports
Ordering Information
MCS7820
48-LQFP
RoHS

Related parts for mcs7820

mcs7820 Summary of contents

Page 1

... Transceivers over short cable lengths • Bus-Powered Device General Description The MCS7820 is a USB-2.0 to Dual-Serial Port device. It has been developed to connect a wide range of standard serial devices to a USB host. The MCS7820 has a USB Device Controller connected to two (2) individual UARTs. ...

Page 2

... MCS7820 USB-2.0 to Two Serial Ports SCL EEPROM Controller DP DM XTAL OUT USB-2.0 PHY XTAL IN Clock Recovery Ext_Clock PLL Page 2 Block Diagram SDA Wake-Up Block Bulk In FIFOs USB-2.0 Device Bridge Controller Bulk Out FIFOs VSPEC_CMD_ Processor Resets BAUD Clock Generator x2 Interrupt-In ...

Page 3

... USB_XSCO 3 Vcc 4 A GND 5 A USB_RREF 6 USB_DM 7 USB_DP 8 Vcc 9 A GND 10 A Vcc 11 K TEST_MODE 12 Rev. 1.2 USB-2.0 to Two Serial Ports Pin-Out Diagram MCS7820CV MCS7820 EE_SDA 36 EE_SCL 35 RESET 34 GPIO 33 GND 32 Vcc 31 K GND 30 18A_PLL Vcc 29 18A_PLL REG02_V18 28 GND 27 5A Vcc 26 5A REG06_VCC33 25 ...

Page 4

... MCS7820 USB-2.0 to Two Serial Ports Pin Assignments Pin Name 1 GND K 2 USB_XSCI 3 USB_XSCO 4 Vcc A 5 GND A 6 USB_RREF 7 USB_DM 8 USB_DP 9 Vcc A 10 GND A 11 Vcc K 12 TEST_MODE 13 TXD_1 14 DTR_1_N 15 RTS_1_N 16 RXD_1 17 RI_1_N 18 Vcc K 19 GND K 20 Vcc 3IO 21 DSR_1_N 22 DCD_1_N 23 CTS_1_N ...

Page 5

... Input Serial Port 3 Ring Indicator, active low. Input Serial Port 3 Data Set Ready (in serial protocol), active low. Serial Port 3 Data Carrier Detect (in serial protocol), active Input low. Input Serial Port 3 Clear To Send (in serial protocol), active low. Power Power Pin (1.8V) MCS7820 Page 5 ...

Page 6

... MCS7820 USB-2.0 to Two Serial Ports Functional Block Descriptions Internal Regulators An internal DC-DC Regulator is provided to convert 5V to 1.8V for Core Logic. An additional regulator is provided to convert the 5V input to 3.3V for I/O functions. These regulators eliminate the need for external voltage sources. USB-2.0 PHY This is the physical layer of the USB interface. The USB-2 ...

Page 7

... In 16c550 mode, the device has the following features: • RTS/CTS hardware fl ow control or DSR/DTR hardware fl ow control • Infrared IrDA format transmit and receive mode • Deeper (16-Byte) FIFOs MCS7820 USB-2.0 to Two Serial Ports FCR[ Page 7 ...

Page 8

... MCS7820 USB-2.0 to Two Serial Ports UART Register-Set and Register Descriptions The UART has 10 registers, but only three address lines to access those registers. The mapping of the registers is dependent upon the Line Control Register (LCR). LCR[7] enables the Divider Latch Registers (DLL and DLM). ...

Page 9

... Data to be received Offset: 0 Permissions: Read Only Access Condition: LCR[ Default Value: (unknown) – based on memory Bit[7] Bit[6] Rev. 1.2 USB-2.0 to Two Serial Ports Bit[5] Bit[4] Bit[3] Data to be transmitted Bit[5] Bit[4] Bit[3] Data to be received MCS7820 Bit[2] Bit[1] Bit[0] Bit[2] Bit[1] Bit[0] Page 9 ...

Page 10

... MCS7820 USB-2.0 to Two Serial Ports Interrupt Enable Register (IER): Serial channel interrupts are enabled using the Interrupt Enable Register (IER). Register: IER Description: Interrupt Enable Register Offset: 1 Permissions: Read/Write Access Condition: LCR[ Default Value: 0x0C Bit[7] Bit[6] Reserved Bit Description Rx Rdy ...

Page 11

... FIFO Mode. The bit will return to zero after clearing the FIFO. Logic 0: No change Logic 1: Flushes the content of the THR, in the same manner as FCR[1] does the RHR See Table Below FCR[7:6] 2’b00 2’b01 2’b10 2’b11 MCS7820 Bit[2] Bit[1] Bit[0] Flush Flush Enable THR RHR FIFOs Operation ...

Page 12

... MCS7820 USB-2.0 to Two Serial Ports Interrupt Status Register (ISR): The source of the highest priority pending interrupt is indicated by the contents of the Interrupt Status Register. There are fi ve sources of interrupts and four levels of priority (1 is the highest) as tabulated below: Register: ISR Description: Interrupt Status Register ...

Page 13

... Force Odd/Even Parity Parity Parity Enable LCR[1:0] 2’b00 2’b01 2’b10 2’b11 LCR[ LCR[5:3] 3’bxx0 3’b001 3’b011 3’b101 3’b111 MCS7820 Bit[2] Bit[1] Bit[0] Number of Data Stop-Bits Length Data Length 5 bits 6 bits 7 bits 8 bits Number of Data Length Stop-Bits 1 ...

Page 14

... MCS7820 USB-2.0 to Two Serial Ports Line Status Register (LSR): This register provides the status of the data transfer to CPU. Register: LSR Description: Line Status Register Offset: 5 Permissions: Read Access Condition: Default Value: 0x00 Bit[7] Bit[6] Data Tx Error Empty Bit Description 0 Data Available ...

Page 15

... Logic 1: CTS/RTS fl ow control enabled in 550 mode Logic 0: DTR/DSR fl ow control disabled in 550 mode Logic 1: DTR/DSR fl ow control enabled in 550 mode DCD Logic 0: DCD fl ow control disabled in 550 mode Logic 1: DCD fl ow control enabled in 550 mode MCS7820 USB-2.0 to Two Serial Ports Bit[2] Bit[1] Bit[0] Reserved ...

Page 16

... MCS7820 USB-2.0 to Two Serial Ports Modem Status Register (MSR): This register provides the status of the modem control lines to CPU. Register: MSR Description: Modem Status Register Offset: 6 Permissions: Read Access Condition: Default Value: 0x00 Bit[7] Bit[6] DCD RI Bit Description 0 Delta CTS 1 Delta DSR ...

Page 17

... DTR active level settings. Register: SPR Description: Scratch Pad Register Offset: 7 Permissions: Read/Write Access Condition: Default Value: 0x00 Bit[7] Bit[6] Rev. 1.2 USB-2.0 to Two Serial Ports Bit[5] Bit[4] Bit[3] Scratch Pad Register Data MCS7820 Bit[2] Bit[1] Bit[0] Page 17 ...

Page 18

... MCS7820 USB-2.0 to Two Serial Ports Divisor Latch Registers (DLL and DLM): The Divisor Latch Registers are used to program the BAUD Rate divisor. This is a value between 1 and 65535 by which the input clock is divided in order to generate serial BAUD rates. After the hardware reset, the BAUD Rate used by the transmitter and receiver is given by: BAUD Rate = Input Clock / (16 * Divisor) where divisor is given by (256 * DLM) + DLL ...

Page 19

... This mode will work without the use of the DTR signal for external transceiver control. Operation Summary RS-485 Mode Disabled RS-485 Mode Enabled, DTR Low = Tx RS-485 Mode Enabled DTR Low = Rx DTR High = Tx This is the when RS485 through driver MCS7820 USB-2.0 to Two Serial Ports Page 19 ...

Page 20

... MCS7820 USB-2.0 to Two Serial Ports Confi guration Options Two serial ports can be confi gured for operation. To program and access the serial ports via software, endpoint numbers have been assigned so that serial ports can be confi gured from the USB side. ...

Page 21

... MCS7820 USB-2.0 to Two Serial Ports Register Windex Wlength Name 0x0000 0x0001 SPN_RHR 0x0001 0x0001 SPN_IER 0x0002 0x0001 SPN_IIR 0x0003 0x0001 SPN_LCR 0x0004 ...

Page 22

... MCS7820 USB-2.0 to Two Serial Ports USB Device Descriptors Device Descriptor BLength BDescriptorType BcdUSB BcdUSB BDeviceClass BDeviceSubClass BDeviceProtocol bMaxPacketSize0 IdVendor IdVendor IdProduct IdProduct BcdDevice BcdDevice iManufacturer iProduct iSerialNumber BNumConfi gurations * Values returned Without / With the Serial EEPROM present. Page 22 Location 0 8’h12 1 8’ ...

Page 23

... USB Confi guration Descriptors USB Interface Descriptors Rev. 1.2 MCS7820 USB-2.0 to Two Serial Ports Confi guration Index Descriptor BLength 0 BDescriptorType 1 WtotalLength(L) 2 WtotalLength(M) 3 BNumInterfaces 4 BConfi gurationValue 5 IConfi guration 6 BmAttributes 7 BMaxPower 8 Confi guration Index Descriptor BLength 0 BDescriptorType 1 BInterfaceNumber 2 BAlternateSetting ...

Page 24

... MCS7820 USB-2.0 to Two Serial Ports Endpoint-1 Serial Port 1 Bulk-In Endpoint-2 Serial Port 1 Bulk-Out Endpoint-3 Serial Port 2 Bulk-In Endpoint-4 Serial Port 2 Bulk-Out Page 24 Confi guration Descriptor Index bLength bDescriptorType bEndpointAddress bmAttributes wMaxPacketSize(L) wMaxPacketSize(M) bInterval Confi guration Descriptor Index bLength bDescriptorType ...

Page 25

... Endpoint-5 Interrupt Endpoint Rev. 1.2 MCS7820 USB-2.0 to Two Serial Ports Confi guration Descriptor Index bLength bDescriptorType bEndpointAddress bmAttributes wMaxPacketSize(L) wMaxPacketSize(M) bInterval * programmable using intr_pg_fs , Data 0 8’h07 1 8’h05 2 8’h89 3 8’h03 4 8’h0A 5 8’h00 * 8’h01 / 8’h05 6 (default FS/HS) intr_pg_hs ...

Page 26

... MCS7820 USB-2.0 to Two Serial Ports EEPROM Content Layout Bytes # of Bytes [1:0] 2 [3:2] 2 [5:4] 2 [7: [23:22] 2 [71:24] 48 [113:72] 42 [129:114] 16 Page 26 Name EE Check EEPROM Present Check value = 0x9710 VID Vendor ID = 0x9710 PID Product ID = 0x7840 RN Release Number in BCD format = 0x0001 SER1_DCR0 Device Confi ...

Page 27

... EEPROM Contents for MCS7820 (Example Contents) EE_Check, VID, PID, RN, SER1_DRC0, SER1_DRC1, SER1_DRC2, Reserved (3), SER2_DRC0, SER2_DRC1, SER2_DRC2, Reserved (3), INTR_PG_FS, INTR_PG_HS, Language ID, Manufacture ID ...

Page 28

... MCS7820 USB-2.0 to Two Serial Ports Device Confi guration Bit Fields and Descriptions Bytes 8, 9, 10, 14, 15 and 16 form six 8-bit DCR Registers. These Bytes are read from the EEPROM, and loaded into the Global Device Confi guration Registers after Power-On Reset. They can be programmed by software using the following application number and register indexes as shown in the table ...

Page 29

... Downstream Data Buffer is NOT EMPTY; Otherwise Drive RTS inactive. Drive RTS inactive when Downstream Data Buffer is NOT EMPTY; Otherwise Drive RTS active. RS-232 / RS-422 / RS-485 Serial Port Mode. IrDA Mode. Reserved MCS7820 USB-2.0 to Two Serial Ports Bit[1] Bit[0] RS_ Reserved SDM Default ...

Page 30

... MCS7820 USB-2.0 to Two Serial Ports Serial Port 1 – Device Confi guration Register 1 Bit[7] Bit[6] Interrupt IN Power-Down Reserved Endpoint Status DCR1 Name Bit GPIO_I_ [1:0] 00: PMG 01: 10: 11: Tx_I_ [3:2] 00: PMG 01: 10: 11: RW_ 4 INHB 0: 1: PLL_ Power-Down 0: 5 Bypass 1: Control Interrupt Endpoint 1: Status ...

Page 31

... Remote Wakeup Mode: Engages Remote Wakeup, The device issues Disconnect Signal. Engages Remote Wakeup, The device issues Resume Signal. SHDN Polarity: Pin 12 Active Low Shut-Down Signal. Pin 12 Active High Shut-Down Signal. MCS7820 USB-2.0 to Two Serial Ports Bit[2] Bit[1] Bit[0] EWU_ EWU_ EWU_ ...

Page 32

... MCS7820 USB-2.0 to Two Serial Ports Serial Port 2 – Device Confi guration Register 0 The Confi guration Registers for this Serial Port are very similar to Serial Port 1, but have a few less confi guration options. Bit[7] Bit[6] IrDA_ Reserved Mode DCR0 ...

Page 33

... Serial output signals TxD, DTR_n and RTS_n (Default RW_INH Remote Wake Inhibit: Enable the USB Remote Wakeup function Inhibit the USB Remote Wakeup function Reserved MCS7820 USB-2.0 to Two Serial Ports Bit[2] Bit[1] Bit[0] Reserved Default Value 00 01 ...

Page 34

... MCS7820 USB-2.0 to Two Serial Ports Serial Port 2 – Device Confi guration Register 2 The Confi guration Registers for this Serial Port are very similar to Serial Port 1, but have a few less confi guration options. Bit[7] Bit[6] Reserved Reserved DCR2 Name ...

Page 35

... No serial load. I Operating current of 3.3V. No serial load. 3.3V Operating current of 1.8V. No serial load. I 1.8V Rev. 1 Parameter Min 4.5 1.62 2.97 1.71 3.14 MCS7820 USB-2.0 to Two Serial Ports -0.3 to 2.16 V -0.3 to 4.0 V -0.3 to 4.0 V -0 +70 °C -40 to +150 °C 2000 V 200 V 500 V 200 mA, 1.5 x VCC 115 °C 80 °C/W Typ Max Units 5.0 5 ...

Page 36

... MCS7820 USB-2.0 to Two Serial Ports DC Characteristics of 3.3V I/O Cells Symbol Parameter Vcc Core Power Supply K Power Supply Vcc 3IO Input Low Voltage Vi L Input High Voltage Switching Threshold Vt- Schmitt Trigger Vt+ Threshold Voltage Vo Output Low Voltage L Output High Voltage Characteristics of 5V Tolerant I/O Cells ...

Page 37

... LQFP Package Dimensions Rev. 1 MILLIMETERS SYMBOL MIN TYPICAL A1 0.05 A2 1.35 b 0.17 c 0.09 e 0.50 L 0.45 HD 8.80 D 6.80 HE 8.80 E 6.80 MCS7820 USB-2.0 to Two Serial Ports MAX 0.15 1.45 0.27 0.20 0.75 9.20 7.20 9.20 7.20 Page 37 ...

Page 38

... MCS7820 USB-2.0 to Two Serial Ports 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 adversely impact its effectiveness or safety ...

Page 39

... Revision History Changes Preliminary Release. Switched to new Page-1 Layout. Removed Preliminary Notice. Deleted Leakage Current table Updated Operating Conditions table Updated 3.3V DC Characteristics table Updated 5V DC Characteristics table MCS7820 USB-2.0 to Two Serial Ports Date 19-May-2006 30-May-2006 31-May-2006 05-Jun-2006 28-Aug-2006 16-Sept-2006 5-August-2007 Page 39 ...

Related keywords