36.8.1 Control B

Name: CTRLB
Offset: 0x008
Reset: 0x0001
Property: RW

Bit 15141312111098 
     LPMHDSK[1:0]GNAKOPMODE2 
Access RWRWRWRW 
Reset 0000 
Bit 76543210 
 TSTPCKTTSTKTSTJNREPLYSPDCONF[1:0]UPRSMDETACH 
Access RWRWRWRWRWRWRW 
Reset 00000001 

Bits 11:10 – LPMHDSK[1:0] Link Power Management Handshake

These bits select the Link Power Management Handshake configuration.

ValueNameDescription
0x0NONo handshake. LPM is not supported.
0x1ACKACK
0x2NYETNYET
0x3-Reserved
ValueNameDescription
0NONo handshake. LPM is not supported
1ACKACK
2NYETNYET
3STALLSTALL

Bit 9 – GNAK Global NAK

This bit configures the operating mode of the NAK.

This bit is not synchronized.

ValueDescription
0The handshake packet reports the status of the USB transaction
1A NAK handshake is answered for each USB transaction regardless of the current endpoint memory bank status

Bit 8 – OPMODE2 Specific Operational Mode

Bit 7 – TSTPCKT Test packet mode

Bit 6 – TSTK Test mode K

Bit 5 – TSTJ Test mode J

Bit 4 – NREPLY No Reply

This bit is cleared by hardware when receiving a SETUP packet.

This bit has no effect for any other endpoint but endpoint 0.

ValueDescription
0Disable the “NO_REPLY” feature: Any transaction to endpoint 0 will be handled according to the USB2.0 standard.
1Enable the “NO_REPLY” feature: Any transaction to endpoint 0 will be ignored except SETUP.

Bits 3:2 – SPDCONF[1:0] Speed Configuration

These bits select the speed configuration.

ValueNameDescription
0x0FSFS : Full Speed
0x1LSLS : Low Speed
0x2HSHS : High Speed capable
0x3HSTMHSTM: High Speed Test Mode (force high-speed mode for test mode)

Bit 1 – UPRSM Upstream Resume

This bit is cleared when the USB receives a USB reset or once the upstream resume has been sent.

ValueDescription
0Writing a zero to this bit has no effect.
1Writing a one to this bit will generate an upstream resume to the host for a remote wakeup.

Bit 0 – DETACH Detach

ValueDescription
0The device is attached to the USB bus so that communications may occur.
1It is the default value at reset. The internal device pull-ups are disabled, removing the device from the USB bus.