ISP1161A1BD,151 STEricsson, ISP1161A1BD,151 Datasheet - Page 78

no-image

ISP1161A1BD,151

Manufacturer Part Number
ISP1161A1BD,151
Description
Manufacturer
STEricsson
Datasheet

Specifications of ISP1161A1BD,151

Lead Free Status / RoHS Status
Supplier Unconfirmed
ISP1161A1_4
Product data sheet
11.2.1 DMA for IN endpoint (internal DC to external USB host)
11.2.2 DMA for OUT endpoint (external USB host to internal DC)
11.2 Device DMA transfer
When the internal DMA handler is enabled and at least one buffer (Ping or Pong) is free,
the DREQ2 line is asserted. The external DMA controller then starts negotiating for control
of the bus. As soon as it has access, it asserts the DACK2 line and starts writing data. The
burst length is programmable. When the number of bytes equal to the burst length has
been written, the DREQ2 line is de-asserted. As a result, the DMA controller de-asserts
the DACK2 line and releases the bus. At that moment the whole cycle restarts for the next
burst.
When the buffer is full, the DREQ2 line will be de-asserted and the buffer is validated
(which means that it will be sent to the host when the next IN token comes in). When the
DMA transfer is terminated, the buffer is also validated (even if it is not full). A DMA
transfer is terminated when any of the following conditions are met:
When the internal DMA handler is enabled and at least one buffer is full, the DREQ2 line
is asserted. The external DMA controller then starts negotiating for control of the bus, and
as soon as it has access, it asserts the DACK2 line and starts reading the data. The burst
length is programmable. When the number of bytes equal to the burst length has been
read, the DREQ2 line is de-asserted. As a result, the DMA controller de-asserts the
DACK2 line and releases the bus. At that moment the whole cycle restarts for the next
burst. When all data are read, the DREQ2 line will be de-asserted and the buffer is
cleared (which means that it can be overwritten when a new packet comes in).
The SIE also checks for the device number and endpoint number and verifies whether
they are acceptable.
If the endpoint is enabled, the SIE checks the contents of the DcEndpointStatus
register. If the endpoint is empty, the data from USB is stored to FIFO during the data
phase, otherwise a NAK handshake is sent.
After the data phase, the SIE sends a handshake (ACK) to the host (except for ISO
endpoints).
The SIE updates the contents of the DcEndpointStatus register and the DcInterrupt
register, which in turn generates an interrupt to the microprocessor. For ISO
endpoints, the DcInterrupt register is updated as soon as data is received because
there is no handshake phase.
On receiving interrupt, the microprocessor reads the DcInterrupt register. It will know
which endpoint has generated the interrupt and reads the content of the
corresponding DcEndpointStatus register. If the buffer is full, it empties the buffer, so
that data can be received by the SIE at the next OUT token phase.
the DMA count is complete
bit DMAEN = 0
the DMA controller asserts EOT.
Rev. 04 — 29 January 2009
USB single-chip host and device controller
ISP1161A1
© ST-NXP Wireless 2009. All rights reserved.
77 of 140

Related parts for ISP1161A1BD,151