mcs7820 MosChip, mcs7820 Datasheet - Page 20

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
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.
Serial Port Set/Get Commands
Vendor commands are the vendor specifi c USB setup commands. The purpose of the vendor commands is
to set/get the contents of the application registers. The following table provides information on the various
vendor specifi c commands.
Windex [7:0] is the register index from where data is to be read.
Brequest specifi es whether to read or write.
Wvalue specifi es the application number and data to be written (ww = data).
Note: “N” in Wvalue and Register Name columns indicate the corresponding serial port number.
Windex is the offset of the register to read/write.
Wlength is the length of the data to read/write.
0x0E = write to the application register
0x0D = read from the application register
0x01ww is the application number for Serial Port-1
0x03ww is the application number for Serial Port-2
0x09ww is the application number for EEPROM Write/Read
0x00ww is the application number provided for accessing the Control Registers which control the
UARTs. It is possible to enable higher BAUD rates, and features like auto hardware fl ow control using
the Control Registers.
Endpoint
0
1
2
3
4
5
Control Endpoint
Bulk-Out
Bulk-Out
Interrupt
Bulk-In
Bulk-In
Type
* Controlled by DCR1 bit-6
Default Functionality
Status Endpoint
Serial Port – 1
Serial Port – 1
Serial Port – 2
Serial Port – 2
Function
(USB-1.1 / USB-2.0)
Size (Bytes)
5 or 13 *
64 / 512
64 / 512
64 / 512
64 / 512
8 / 64
Rev.
1.2

Related parts for mcs7820