USBHS_HSTPIPERRx

Host Pipe x Error Register

Writing a zero in a bit/field in this register clears the bit/field. Writing a one has no effect.

  0x0680 + x*0x04 [x=0..9] 32 Read/Write 0   10 x

Host Pipe x Error Register

Bit  31 30 29 28 27 26 25 24  
                   
Access                   
Reset                   
Bit  23 22 21 20 19 18 17 16  
                   
Access                   
Reset                   
Bit  15 14 13 12 11 10 9 8  
                   
Access                   
Reset                   
Bit  7 6 5 4 3 2 1 0  
    COUNTER[1:0] CRC16 TIMEOUT PID DATAPID DATATGL  
Access                   
Reset    0 0 0 0 0 0 0  

Bit 0 – DATATGL: Data Toggle Error

Data Toggle Error

ValueDescription
0

No Data Toggle error occurred since last clear of this bit.

1

This bit is automatically set when a Data Toggle error has been detected.

Bit 1 – DATAPID: Data PID Error

Data PID Error

ValueDescription
0

No Data PID error occurred since last clear of this bit.

1

This bit is automatically set when a Data PID error has been detected.

Bit 2 – PID: PID Error

PID Error

ValueDescription
0

No PID error occurred since last clear of this bit.

1

This bit is automatically set when a PID error has been detected.

Bit 3 – TIMEOUT: Time-Out Error

Time-Out Error

ValueDescription
0

No Time-Out error occurred since last clear of this bit.

1

This bit is automatically set when a Time-Out error has been detected.

Bit 4 – CRC16: CRC16 Error

CRC16 Error

ValueDescription
0

No CRC16 error occurred since last clear of this bit.

1

This bit is automatically set when a CRC16 error has been detected.

Bits 6:5 – COUNTER[1:0]: Error Counter

Error Counter

This field is incremented each time an error occurs (CRC16, TIMEOUT, PID, DATAPID or DATATGL).

This field is cleared when receiving a USB packet free of error.

When this field reaches 3 (i.e., 3 consecutive errors), this pipe is automatically frozen (USBHS_HSTPIPIMRx.PFREEZE is set).