mcs7717 MosChip, mcs7717 Datasheet

no-image

mcs7717

Manufacturer Part Number
mcs7717
Description
Three Port Usb Hub With 1 Serial, 1 Printer
Manufacturer
MosChip
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mcs7717CQ-GR
Manufacturer:
MOSCHIP
Quantity:
138
Features
General Description
The MCS7717 controller provides bridging between
the Universal Serial Bus (USB) port, an enhanced
UART, and a Parallel Printer port.
contains all the necessary logic to communicate
with the host computer via the USB Bus. It supports
Printers with hardware accelerated SPP mode.
In addition to its host interface, the MCS7717 is a
stand-alone USB Hub device which complies with
USB Specification Rev. 1.1. It integrates a serial
interface engine, hub repeater, hub controller,
transceivers and a 3.3V regulator. The MCS7717
operates in Self-Powered mode.
MCS7717 is a compound device in which a port of
the HUB is internally connected to a USB Device with
Serial and Parallel/Printer interfaces. Three other
ports of the HUB are for external connectivity.
The MCS7717 has a serial interface for external
EEPROM access, and a reduced frequency
(6 MHz) crystal oscillator.
features allows significant cost savings in system
MosChip Semiconductor
Available in 64-Pin QFP Package
USB Specification 1.1 Compliant
Single 5V Operation
On-Chip 3.3V Regulator
Single Serial Port
Single Printer Port Interface
3 Down-Stream USB 1.1 Hub Ports
Internal Power-On Reset
2KV In-Circuit ESD protection for lower
cost of external components
Custom Vendor-ID, Product-ID for USB HUB
INTERFACE, from External EEPROM
o Supports up to 920 Kbps Serial
o Supports 5, 6, 7, & 8-bit Data
o Supports 1, 1.5, & 2 Stop Bits
o Supports Even, Odd, Mark, Space
Data Rate
Widths
and None Parities
This combination of
♦ 3335 Kifer Rd, Santa Clara, CA 95051 ♦ Tel (408) 737-7141 ♦ Fax (408) 737-7708
This device
Three Port USB Hub with 1 Serial, 1 Printer
Applications
Application Note
Evaluation Board
design along with straightforward implementation
of serial, parallel printer and USB functionality into
PC peripherals.
MCS7717CQ-GR
MCS7717CQ
Commercial Grade (0° C to +70° C)
High-Speed Modems
Printer Server
Serial Networking
Printer Interface
USB Expansion
Monitoring Equipment
AN-7717
MCS7717-EVB
Ordering Information
MCS7717
64-QFP
64-QFP
Standard
RoHS

Related parts for mcs7717

mcs7717 Summary of contents

Page 1

... USB Bus. It supports Printers with hardware accelerated SPP mode. In addition to its host interface, the MCS7717 is a stand-alone USB Hub device which complies with USB Specification Rev. 1.1. It integrates a serial interface engine, hub repeater, hub controller, transceivers and a 3 ...

Page 2

... MCS7717 Three Port USB Hub with 1 Serial, 1 Printer DP USB Interface DM Serial Interface Engine USB DP 1-3 Hub DM 1-3 Interface XTAL1 PLL & Clock XTAL2 Generator TEST TSTMODE Page 2 Block Diagram Descriptor Table FIFO FIFO UART Standard Printer Port DO EE-CLK EE-CS DI TX, nRTS, nDTR RX, nCTS, nDSR ...

Page 3

... GND 3 TSTPLL 4 TSTMODE 5 GND 6 GND 3.3V 10 nUSB1OV 11 nUSB1PWR 12 RESET 13 GND 14 EE_DI 15 EE_DO 16 Rev. 1.7 MCS7717 Three Port USB Hub with 1 Serial, 1 Printer Pin-Out MCS7717CQ 48 nFAULT 47 PD1 46 nINIT 45 PD2 44 nSLCTIN 43 PD3 42 PD4 41 3.3V 40 DM1 39 DP1 38 GND 37 PD5 PD6 34 PD7 33 nACK ...

Page 4

... MCS7717 Three Port USB Hub with 1 Serial, 1 Printer Pin Assignments Pin Name Pin XTAL1 1 XTAL2 2 TSTPLL 4 TSTMODE nUSB1OV 11 nUSB1PWR 12 RESET 13 EE_DI 15 EE_DO 16 EE_CLK 17 EE_CS 18 EE_EN 19 nCD 20 DM3 22 DP3 23 Page 4 Type Crystal Oscillator input, or External Clock input pin (6 MHz). This signal input is used in conjunction with XTAL2 to form a I feedback circuit for the internal timing ...

Page 5

... Parallel printer port Data bit 5. I/O Downstream USB Port-1 differential Data Plus (D+) I/O Downstream USB Port-1 differential Data Minus (D-) I/O Parallel printer port Data bit 4. I/O Parallel printer port Data bit 3. Peripheral/Printer Select (open-drain). I/O Selects the peripheral/printer when it is set low. I/O Parallel printer port Data bit 2. MCS7717 Description Page 5 ...

Page 6

... MCS7717 Three Port USB Hub with 1 Serial, 1 Printer Pin Name Pin nINIT 46 PD1 47 nFAULT 48 PD0 50 nAUTOFDX 51 nSTROBE 52 DP2 54 DM2 55 nCTS 56 nDTR 57 nRI 58 nUSB2OV 60 nUSB2PWR 61 VOUT 62 3,6,7,14, GND 27,38,49,59 3.3V 10,21,41,53, Note: All names with “n” prefix are active low. Page 6 Type Initialize the peripheral/printer (open drain). ...

Page 7

... Hub Status Change (interrupt) endpoint. Link Status Indication Indication of a good USB connection is provided by an LED directly connected via an external 330Ω resistor (using nUSBnPWR), see pin listing. Rev. 1.7 MCS7717 Three Port USB Hub with 1 Serial, 1 Printer Page 7 ...

Page 8

... MCS7717 Three Port USB Hub with 1 Serial, 1 Printer Host Requests All standard USB requests from the host are handled via Control Endpoint-0. The Control Endpoint can handle a maximum of 8 Bytes per transfer. This table shows the supported standard USB requests. Note: the USB data transmission order is Least Significant Bit (LSB) first. In the following tables Multi-Byte variables are displayed least significant Byte first ...

Page 9

... USB Specification Rev-1.1 2 10, Vendor Class Vendor Class Packet Size = 8 Bytes 10,97 the MosChip Vendor-ID (9710) 2 17,77 the MCS7717 Product-ID 2 00,01 the silicon revision (1. manufacturer string product string serial number string one configuration 1 01 Configuration Descriptors Size Value (Bytes) ...

Page 10

... MCS7717 Three Port USB Hub with 1 Serial, 1 Printer Endpoint Descriptions There are five end points apart from the Control Endpoint Endpoint Type 0 Control Endpoint 1 Bulk-In 2 Bulk-Out 3 Bulk-In 4 Bulk-Out 5 Interrupt Offset (Bytes) Endpoint 0 Descriptor #1 1 Bulk-In 2 (Parallel Port Offset (Bytes) Endpoint ...

Page 11

... Size Value Field Name (Bytes) (hex) bLength 1 bDescriptorType 1 bEndpointAddress 1 bmAddress 1 wMaxPacketSize 2 20,00 bInterval 1 MCS7717 Comments Descriptor Length = 7 Bytes 07 Type = ENDPOINT 05 83 Endpoint-3, direction Bulk Endpoint Packet Size = 64 Bytes 01 Polling Interval (1mS) Comments Descriptor Length = 7 Bytes 07 Type = ENDPOINT 05 04 Endpoint-4, direction: OUT ...

Page 12

... MCS7717 Three Port USB Hub with 1 Serial, 1 Printer Offset (Bytes) 0 Endpoint 1 Descriptor #5 2 Status Endpoint Status Endpoint: The Status Endpoint returns 4 Bytes every 1 millisecond. These four Bytes are status information of the Parallel Printer port and the Serial port. • Byte-1: Interrupt Identification Register of the Serial port (IIR) • ...

Page 13

... MCS7717 0x0001 PP_DPR 0x0001 PP_DSR 0x0001 PP_DCR 0x0001 PP_C_FIFO 0x0001 PP_CONF_A 0x0001 PP_CONF_B 0x0001 PP_ECR 0x0000 PP_DPR 0x0000 ...

Page 14

... MCS7717 Three Port USB Hub with 1 Serial, 1 Printer Vendor Specific Command Parameters Brequest: specifies whether to Read or Write 0x0E = write to the application register. 0x0D = read from the application register. Wvalue: Specifies the Application Number. 0x0100 is the application number for the Parallel Printer port ...

Page 15

... Suspends Port 3 not used 4 Resets and Enables Port 8 Power-Up Port 9 not used 10 not used 11 not used 12 not used 13 not used 14 not used MCS7717 wLength Byte 6, 7 Data (hex) Hub Descriptor Length Length,00 (in Bytes) 00,00 none 00,00 none 00,00 none Hub-Status and Status-Change 04,00 field 04,00 Port Status ...

Page 16

... MCS7717 Three Port USB Hub with 1 Serial, 1 Printer HUB Descriptors The MCS7717 Hub Controller supports these standard USB Descriptors: • Device • Configuration • Interface • Endpoint • Hub Offset Field Name (Bytes) 0 bLength 1 bDescriptorType 2 bcdUSB 4 bDeviceClass 5 bDeviceSubClass 6 bDeviceProtocol 7 bMaxPacketSize0 8 idVendor ...

Page 17

... The MCS7717 has external analog over current detection circuit for monitoring downstream port lines. MCS7717 reports an over current condition to the host and turns off the power to the faulty port. The host must reset the condition flag. Pins nUSBnOV are used for individual port over current detection. ...

Page 18

... MCS7717 Three Port USB Hub with 1 Serial, 1 Printer UART Register Set: The UART has 10 registers. Mapping is dependent on the Line Control Register (LCR). Register Offset R/W Bit[7] Bit[6] Name THR 0 W RHR 0 R IER 1 R/W RHR FCR 2 W Trigger Level FIFOs ISR 2 R Enabled ...

Page 19

... Logic 1 = Enable the Receiver Status Interrupt (Normal Mode) Logic 0 = Disable the Modem Status Interrupt Logic 1 = Enable the Modem Status Interrupt Logic 0 = Disable Sleep-Mode Logic 1 = Enable Sleep-Mode (the internal clock of the channel is switched off) Reserved Reserved Reserved MCS7717 Bit[2] Bit[1] Bit[0] Rx Stat THRE RxRdy Interrupt Interrupt ...

Page 20

... MCS7717 Three Port USB Hub with 1 Serial, 1 Printer FIFO Control Register: The FCR controls the UART behavior in various modes. Register: FCR Description: FIFO Control Register Offset: 010 Permissions: Write Bit[7] Bit[6] RHR Trigger Level Bit Name Enable 0 FIFO Mode Flush 1 RHR ...

Page 21

... No interrupt pending Receiver Status Error or address bit detected in 9-bit mode Receiver Data Available Receiver Time Out Transmitter THR Empty Modem Status Change Bit[5] Bit[4] Bit[3] Interrupt Priority (Enhanced Mode) MCS7717 ISR[5:0] 6’b000001 6’b000110 6’b000100 6’b001100 6’b000010 6’b000000 Bit[2] Bit[1] Bit[0] Interrupt Priority ...

Page 22

... MCS7717 Three Port USB Hub with 1 Serial, 1 Printer Line Control Register: The LCR specifies the data format that is common to both transmitter and receiver. Register: LCR Description: Line Control Register Offset: 011 Permissions: Read/Write Access Condition: LCR[7] =0 Bit[7] Bit[6] Tx DLE Break LCR[1:0]: Determines the data length of serial characters ...

Page 23

... Logic 0 = Either there are no receiver data errors in the FIFO was cleared by earlier read of LSR Logic least one parity error, framing error or break indication in the FIFO. MCS7717 Bit[2] Bit[1] Bit[0] Parity Overrun ...

Page 24

... MCS7717 Three Port USB Hub with 1 Serial, 1 Printer Modem Control Register: Register: MCR Description: Modem Control Register Offset: 100 Permissions: Read/Write Bit[7] Bit[6] CTS/RTS Unused Flow Control Bit Name 0 DTR 1 RTS 2 Out1 3 Out2 Internal 4 Loop Back Enable CTS/RTS 5 flow control 6 Unused ...

Page 25

... Bit[3] DSR CTS Delta DCD Description MSR was read MSR was read last time the MSR was read MSR was read Bit[5] Bit[4] Bit[3] Scratch Pad Register MCS7717 Bit[2] Bit[1] Bit[0] Trailing Delta DSR Delta CTS Edge RI Bit[2] Bit[1] Bit[0] Page 25 ...

Page 26

... MCS7717 Three Port USB Hub with 1 Serial, 1 Printer Divisor Latch Registers: The divisor latch registers (DLL & DLM) 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 a hardware Reset, the Baud Rate used by the transmitter & ...

Page 27

... BIT-3 BIT MCS7717 BIT-1 BIT Page 27 ...

Page 28

... MCS7717 Three Port USB Hub with 1 Serial, 1 Printer Parallel Printer Port Register Descriptions Data Register The Data Register is cleared at initialization by RESET. During a write operation, the contents of this register are buffered and output onto the PD7-PD0 ports. During a read operation PD7-PD0 ports are buffered and output to the host CPU ...

Page 29

... This bit is not inverted however order to start the Initialization process, this bit must be set LOW. Rev. 1.7 Three Port USB Hub with 1 Serial, 1 Printer Bit[5] Bit[4] Bit[3] DIR Unused SLCTIN Description printer after each line is printed. MCS7717 Bit[2] Bit[1] Bit[0] nINIT AUTOFD STROBE Page 29 ...

Page 30

... MCS7717 Three Port USB Hub with 1 Serial, 1 Printer Extended Control Register (ECR) This register controls the Parallel Port mode selection operation. Register: PP_ECR Description: Parallel Printer Port Extended Control Register Offset: 0x0A Permissions: Read/Write Access Condition: Application Number = 0x0100 Bit[7] Bit[6] ...

Page 31

... In this mode, Bytes written to the FIFO are transmitted automatically using the SPP/Centronics standard protocol. Rev. 1.7 Three Port USB Hub with 1 Serial, 1 Printer Pin Data Bit BUSY Bit-7 PE Bit-6 SLCT Bit-5 nFAULT Bit-4 BUSY Bit-3 PE Bit-2 SLCT Bit-1 nFAULT Bit-0 Bit Order for Nibble Mode MCS7717 Page 31 ...

Page 32

... MCS7717 Three Port USB Hub with 1 Serial, 1 Printer Vendor Specific Command Registers: There are three vendor specific registers which are used to tune the behavior and performance of the UART and Parallel Port. They are as follows • SP_REG • PP_REG • SP_CONTROL_REG SP_REGISTER: This register is used for internal debugging of UDC controller & ...

Page 33

... Bit[5] Bit[4] Bit[3] clk_freq_select pp_bi_clear pp_bo_clear Reserved Description clk_freq_select: Changes the clock fed to the Parallel Printer port as shown in the table below. Option 3’b000 3’b001 3’b010 3’b011 3’b100 MCS7717 Bit[2] Bit[1] Bit[0] udc_loop Input Clock Frequency 12 MHz 6 MHz 3 MHz 1.5 MHz 0.75 MHz Page 33 ...

Page 34

... MCS7717 Three Port USB Hub with 1 Serial, 1 Printer SP_CONTROL_REGISTER: The Control register is used for controlling the Auto RTS/CTS flow control of the Serial Port. Register: SP_CONTROL_REG Description: Control Register for Serial Port Offset: 0x08 Permissions: Read/Write Access Condition: Application Number = 0x0000 Bit[7] ...

Page 35

... EEPROM Contents for MCS7717: EEPROM Default Address HEX Locations Values With reference to the above Table: The first bytes i.e. byte 0 and byte 1 represent the Vendor ID (9710). Byte 2 and byte 3 represents the Product ID (7717) Note: Customization of VID, PID through external EEPROM is applicable to generic USB HUB interface only. ...

Page 36

... Condition Min = 50pF 10 50pF 10 MCS7717 6 Volts -0 +0.3 CC -60° +150° C 4.5 to 5.5 Volts 0 to 5.5 Volts 0° +70° C 0° +115° C Typical Max Unit 3.3 3 Typical Max Unit - 0 ...

Page 37

... MCS7717 Three Port USB Hub with 1 Serial, 1 Printer c L 64-Pin QFP Package Dimensions Page SYMBOL MILLIMETERS MIN TYP A1 0.05 A2 1.35 b 0.17 c 0.09 e 0.50 L 0.45 HD 11.75 D 9.90 HE 11. INCHES MAX MIN TYP MAX 0.15 0.002 0.006 1.45 0.053 0.057 0.27 0.007 ...

Page 38

... 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.7 Three Port USB Hub with 1 Serial, 1 Printer IMPORTANT NOTICE MCS7717 Page 37 ...

Page 39

... MCS7717 Three Port USB Hub with 1 Serial, 1 Printer Revision 1.0 1.1 Datasheet updated for Serial and Printer port related details 1.2 1.3 1.4 Changed from Bus-Powered to Self-Powered 1.5 1.6 Corrected Electrical Characteristics and Pin Descriptions 1.7 EEPROM Content details added / modified. Page 38 Revision History Changes Preliminary Release Revised Data sheet ...

Related keywords