Download ArcticLink Solution Platform User Manual

Transcript
QuickLogic ArcticLink Solution Platform User Manual - Rev. B
Control and Status Registers
Table 8-32: Device Mode Receive Status Debug Read/Status Read and Pop Registers: GRXSTSR/GRXSTSP
Field
31:25
Description
Reserved
Reset
Access
7’h0
Frame Number (FN)
24:21
This is the least significant 4 bits of the (micro)frame number in which the packet
is received on the USB. This field is supported only when isochronous OUT
endpoints are supported.
4’h0
RO
4’h0
RO
2’b0
RO
11’h0
RO
4’h0
RO
Packet Status (PktSts)
Indicates the status of the received packet
4’b0001: Global OUT NAK (triggers an interrupt)
20:17
4’b0010: OUT data packet received
4’b0011: OUT transfer completed (triggers an interrupt)
4’b0100: SETUP transaction completed (triggers an interrupt)
4’b0110: SETUP data packet received
Others: Reserved
Data PID (DPID)
Indicates the Data PID of the received OUT data packet
16:15
2’b00: DATA0
2’b10: DATA1
2’b01: DATA2
2’b11: MDATA
Byte Count (BCnt)
14:4
Indicates the byte count of the received data packet.
Endpoint Number (EPNum)
3:0
Indicates the endpoint number to which the current received packet belongs.
8.3.3.1.8 Receive FIFO Size Register (GRXFSIZ)
Offset: 024h
The application can program the RAM size that must be allocated to the RxFIFO.
Table 8-33: Receive FIFO Size Register: GRXFSIZ
Field
31:16
Description
Reserved
Reset
Access
16’h0
RxFIFO Depth (RxFDep)
15:0
This value is in terms of 32-bit words.
Minimum value is 16
16’h0220
RO / R_W
Maximum value is 544
8.3.3.2 Non-Periodic Transmit FIFO Size Register (GNPTXFSIZ)
Offset: 028h
© 2007 QuickLogic Corporation
www.quicklogic.com
•
• 103
•
•
•
•