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