09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

USB on-the-go high-speed (OTG_HS) <strong>RM0090</strong><br />

OTG_HS host channel-x interrupt register (OTG_HS_HCINTx) (x = 0..11, where<br />

x = Channel_number)<br />

Address offset: 0x508 + (Channel_number × 0x20)<br />

Reset value: 0x0000 0000<br />

This register indicates the status of a channel with respect to USB- and AHB-related events.<br />

It is shown in Figure 382. The application must read this register when the host channels<br />

interrupt bit in the Core interrupt register (HCINT bit in OTG_HS_GINTSTS) is set. Before<br />

the application can read this register, it must first read the host all channels interrupt<br />

(OTG_HS_HAINT) register to get the exact channel number for the host channel-x interrupt<br />

register. The application must clear the appropriate bit in this register to clear the<br />

corresponding bits in the OTG_HS_HAINT and OTG_HS_GINTSTS registers.<br />

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<br />

Reserved DTERR<br />

Bits 31:11 Reserved, must be kept at reset value.<br />

Bit 10 DTERR: Data toggle error<br />

Bit 9 FRMOR: Frame overrun<br />

Bit 8 BBERR: Babble error<br />

1213/1416 Doc ID 018909 Rev 3<br />

rc_<br />

w1<br />

Bit 7 TXERR: Transaction error<br />

Indicates one of the following errors occurred on the USB.<br />

CRC check failure<br />

Timeout<br />

Bit stuff error<br />

False EOP<br />

Bit 6 NYET: Response received interrupt<br />

Bit 5 ACK: ACK response received/transmitted interrupt<br />

Bit 4 NAK: NAK response received interrupt<br />

Bit 3 STALL: STALL response received interrupt<br />

Bit 2 AHBERR: AHB error<br />

This error is generated only in Internal DMA mode when an AHB error occurs during an<br />

AHB read/write operation. The application can read the corresponding DMA channel<br />

address register to get the error address.<br />

Bit 1 CHH: Channel halted<br />

Indicates the transfer completed abnormally either because of any USB transaction error or in<br />

response to disable request by the application.<br />

Bit 0 XFRC: Transfer completed<br />

Transfer completed normally without any errors.<br />

FRMOR<br />

rc_<br />

w1<br />

BBERR<br />

rc_<br />

w1<br />

TXERR<br />

rc_<br />

w1<br />

NYET<br />

rc_<br />

w1<br />

ACK<br />

rc_<br />

w1<br />

NAK<br />

rc_<br />

w1<br />

STALL<br />

rc_<br />

w1<br />

AHBERR<br />

rc_<br />

w1<br />

CHH<br />

rc_<br />

w1<br />

XFRC<br />

rc_<br />

w1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!