3.6.5 CNFG_GetUSBParameters Command and its Response

The CNFG_GetUSBParameters command (0x89) reads the USB parameters from NVM.

This command is sent through Endpoint 0x05 (OUT). The response is read through Endpoint 0x85 (IN).

Table 3-15. CNFG_GetUSBParameters - Command
Byte IndexCommandDescription

0

0x89

Command code

Reads USB parameters from NVM
Table 3-16. CNFG_GetUSBParameters () - Response
Byte IndexResponseDescription
00x89Echo command codeReturns the command code and USB parameters from NVM
10x21AcceptedCommand is accepted
2L(wVID)VID – lower byteVendor ID
3H(wVID)VID – higher byte
4L(wPID)PID – lower byteProduct ID
5H(wPID)PID – higher byte
6

0x00

0x04

0x08

0x0C

0x01

0x05

0x09

0x0D

SrcType-RmtWakUp-EnDisSrlNumEnum:

BusPow-RWNo-SNEnNo

Bus Pow-RWYes-SNEnNo

Self Pow-RWNo-SNEnNo

SelfPow-RWYes-SNEnNo

BusPow-RWNo-SNEnYes

BusPow-RWYes-SNEnYes

SelfPow-RWNo-SNEnYes

SelfPow-RWYes-SNEnYes

Combines three settings:

Bit 3: Self-powered (1) or bus-powered (0).

Bit 2: Remote wake-up supported (1) or not (0).

Bit 0: Enumerates with a serial number (1) or without (0).

7

0x01

0x02

...

0xFA

Maximum Current: 2 mA

4 mA

...

500 mA

Indicates the maximum current the device would draw from the bus.

Maximum bus current = Parameter value x 2