CM6533,CM6533N,CM6533X1,CM6533DH
USB Audio Chip
Page
28
/
60
www.cmedia.com.tw
Rev.1.7
Copyright© C-Media Electronics Inc.
6.5
Vendor Command Definition
6.5.1
Vendor Command Read
Command Format:
bmRequestType
bRequest
wValue
wIndex
wLength
Data
8’h C3
8’h 02
(Command 2)
16’h -- --
(Start Address of
input Data)
16’h 00 00
16’h 00 –
(<=64 bytes)
Data
Input Data Format:
Byte 0
Data of Reg[wValue]
Byte 1
Data of Reg[ 1]
Byte 2
Data of Reg[ 2]
…
…
Byte 63
Data of Reg[ 63]
6.5.2
Vendor Command Write
Command Format:
bmRequestType
bRequest
wValue
wIndex
wLength
Data
8’h 43
8’h 01
(Command 1)
16’h -- --
(Start Address of
Output Data)
16’h 00 00
16’h 00 –
(<=64 bytes)
Data
Output Data Format:
Byte 0
Data of Reg[wValue]
Byte 1
Data of Reg[ 1]
Byte 2
Data of Reg[ 2]
…
…
Byte 63
Data of Reg[ 63]
6.5.3
USB Vendor Requests
bmRequestType
bRequest
wValue
wIndex
wLength
Data
0x43
(Vendor Other)
0x01
Register Write
Address
0x0000
Data Length
(<=64 bytes)
Data
0xC3
(Vendor Other)
0x02
Register Read
Address
0x0000
Data Length
(<=64 bytes)
Data
0x43
(Vendor Other)
0x03
Flash Write
Address
0x0000: Write only
0x0001: Auto Verify
Data Length
(<=64 bytes)
Data
0xC3
(Vendor Other)
0x04
Flash Read
Address
0x0000
Data Length
(<=64 bytes)
Data
0x43
(Vendor Other)
0x05
Flash Control
0x0000
0x0001: Chip Erase
0x0000
None
Address
0x0002: Sector
Erase
0xC3
(Vendor Other)
0x06
Flash Control -
Get Status
0x0000
0x0000
0x0001
1-byte data
0x01: Erasing
0x00: Ready