38.7.43 Host Pipe x Configuration Register

For High-speed Bulk-out Pipe, see ”Host Pipe x Configuration Register (High-speed Bulk-out or High-speed Control Pipe)”.

Name: USBHS_HSTPIPCFGx
Offset: 0x0500 + x*0x04 [x=0..8]
Reset: 0
Property: Read/Write

Bit 3130292827262524 
 INTFRQ[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 2322212019181716 
     PEPNUM[3:0] 
Access R/WR/WR/WR/W 
Reset 0000 
Bit 15141312111098 
   PTYPE[1:0] AUTOSWPTOKEN[1:0] 
Access R/WR/WR/WR/WR/W 
Reset 00000 
Bit 76543210 
  PSIZE[2:0]PBK[1:0]ALLOC  
Access ---R/WR/WR/W 
Reset 000000 

Bits 31:24 – INTFRQ[7:0] Pipe Interrupt Request Frequency

This field contains the maximum value in milliseconds of the polling period for an Interrupt Pipe.

This value has no effect for a non-Interrupt Pipe.

This field is cleared upon sending a USB reset.

Bits 19:16 – PEPNUM[3:0] Pipe Endpoint Number

This field contains the number of the endpoint targeted by the pipe. This value is from 0 to 9.

This field is cleared upon sending a USB reset.

Bits 13:12 – PTYPE[1:0] Pipe Type

This field contains the pipe type.

This field is cleared upon sending a USB reset.

ValueNameDescription
0 CTRL

Control

1 ISO

Isochronous

2 BLK

Bulk

3 INTRPT

Interrupt

Bit 10 – AUTOSW Automatic Switch

This bit is cleared upon sending a USB reset.

ValueDescription
0

The automatic bank switching is disabled.

1

The automatic bank switching is enabled.

Bits 9:8 – PTOKEN[1:0] Pipe Token

This field contains the pipe token.

ValueNameDescription
0 SETUP SETUP
1 IN IN
2 OUT OUT
3 - Reserved

Bits 6:4 – PSIZE[2:0] Pipe Size

This field contains the size of each pipe bank.

This field is cleared upon sending a USB reset.

ValueNameDescription
0 8_BYTE

8 bytes

1 16_BYTE

16 bytes

2 32_BYTE

32 bytes

3 64_BYTE

64 bytes

4 128_BYTE

128 bytes

5 256_BYTE

256 bytes

6 512_BYTE

512 bytes

7 1024_BYTE

1024 bytes

Bits 3:2 – PBK[1:0] Pipe Banks

This field contains the number of banks for the pipe.

For control pipes, a single-bank pipe (0b00) should be selected.

This field is cleared upon sending a USB reset.

ValueNameDescription
0 1_BANK Single-bank pipe
1 2_BANK Double-bank pipe
2 3_BANK Triple-bank pipe
3 - Reserved

Bit 1 – ALLOC Pipe Memory Allocate

This bit is cleared when a USB Reset is requested.

Refer to ”DPRAM Management” for more details.

ValueDescription
0

Frees the pipe memory.

1

Allocates the pipe memory.