72.2 UDPHS Frame Number Register

Name: UDPHS_FNUM
Offset: 0x04
Reset: 0x00000000
Property: Read-only

Bit 3130292827262524 
 FNUM_ERR        
Access R 
Reset 0 
Bit 2322212019181716 
          
Access  
Reset  
Bit 15141312111098 
   FRAME_NUMBER[10:5] 
Access RRRRRR 
Reset 000000 
Bit 76543210 
 FRAME_NUMBER[4:0]MICRO_FRAME_NUM[2:0] 
Access RRRRRRRR 
Reset 00000000 

Bit 31 – FNUM_ERR Frame Number CRC Error (cleared upon USB reset)

This bit is set by hardware when a corrupted Frame Number in Start of Frame packet (or Micro SOF) is received.

This bit and the INT_SOF (or MICRO_SOF) interrupt are updated at the same time.

Bits 13:3 – FRAME_NUMBER[10:0] Frame Number as defined in the Packet Field Formats (cleared upon USB reset)

This field is provided in the last received SOF packet (see UDPHS_IEN.INT_SOF).

Bits 2:0 – MICRO_FRAME_NUM[2:0] Microframe Number (cleared upon USB reset)

Number of the received microframe (0 to 7) in one frame.This field is reset at the beginning of each new frame (1 ms).

One microframe is received each 125 microseconds (1 ms/8).