GRXSTSP

nRF54LM20A | nRF54LM20B Datasheet

Address offset: 0x020

Receive Status Read/Pop Register

A read to the Receive Status Read and Pop register returns the contents of the top of the Receive FIFO and additionally pops the top data entry out of the RxFIFO. The receive status contents must be interpreted differently in Host and Device modes. The core ignores the receive status pop/read when the receive FIFO is empty and returns a value of 32'h0000_0000. The application must only pop the Receive Status FIFO when the Receive FIFO Non-Empty bit of the Core Interrupt register (GINTSTS.RxFLvl) is asserted. Note: - Use of these fields vary based on whether the core is functioning as a host or a device. - Do not read this register's reset value before configuring the core because the read value is 'X' in the simulation.

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID E E E E D D D D C C B B B B B B B B B B B A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A

R

CHNUM

Channel Number (ChNum)

Mode: Host only Indicates the channel number to which the current received packet belongs. Endpoint Number (EPNum) Mode: Device only Indicates the endpoint number to which the current received packet belongs.

CHEP0

0

Channel or EndPoint 0

CHEP1

1

Channel or EndPoint 1

CHEP2

2

Channel or EndPoint 2

CHEP3

3

Channel or EndPoint 3

CHEP4

4

Channel or EndPoint 4

CHEP5

5

Channel or EndPoint 5

CHEP6

6

Channel or EndPoint 6

CHEP7

7

Channel or EndPoint 7

CHEP8

8

Channel or EndPoint 8

CHEP9

9

Channel or EndPoint 9

CHEP10

10

Channel or EndPoint 10

CHEP11

11

Channel or EndPoint 11

CHEP12

12

Channel or EndPoint 12

CHEP13

13

Channel or EndPoint 13

CHEP14

14

Channel or EndPoint 14

CHEP15

15

Channel or EndPoint 15

B

R

BCNT

Byte Count (BCnt)

In host mode, indicates the byte count of the received IN data packet. In device mode, indicates the byte count of the received data packet.

C

R

DPID

Data PID (DPID)

In host mode, indicates the Data PID of the received packet. In device mode, indicates the Data PID of the received OUT data packet.

DATA0

0

DATA0

DATA2

1

DATA2

DATA1

2

DATA1

MDATA

3

MDATA

D

R

PKTSTS

Packet Status (PktSts) indicates the status of the received packet.

In host mode, In device mode,

OUTNAK

1

Global OUT NAK in device mode (triggers an interrupt)

INOUTDPRX

2

IN data packet received in host mode and OUT data packet received in device mode

INOUTTRCOM

3

IN or OUT transfer completed in both host and device mode (triggers an interrupt)

DSETUPCOM

4

SETUP transaction completed in device mode (triggers an interrupt)

DTTOG

5

Data toggle error (triggers an interrupt) in host mode

E

R

FN

Mode: Device only. Frame Number (FN)

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.