Samsung S3C6400X User Manual page 853

Table of Contents

Advertisement

USB2.0 HS OTG
HCTSIZn
DoPng
Pid
[30:29]
PktCnt
[28:19]
XferSize
* Note: Transfer Size for a Host Channel must equal [Packet Count * Max Packet Size] for accurate data transfer.
HOST CHANNEL-n DMA ADDRESS REGISTER (HCDMAn)
Channel_number: 0≤ n≤ 15
This register is used by the OTG host in the internal DMA mode to maintain the buffer pointer for IN/OUT
transactions.
Register
Address
HCDMAn
0x7C00_0514
+n*20h
HCDMAn
DMAAddr
Preliminary product information describe products that are in development,
for which full characterization data and associated errata are not yet available.
26-46
Specifications and information herein are subject to change without notice.
Bit
R/W
[31]
R_W
Do Ping
Setting this field to 1 directs the host to do PING
protocol.
R_W
PID
The application programs this field with the type of
PID to use for the initial transaction. The host will
maintain this field for the rest of the transfer.
· 2'b00: DATA0
· 2'b01: DATA1
· 2'b10: DATA2
· 2'b11: MDATA(non-control)/SETUP(control)
R_W
Packet Count
This field is programmed by the application with the
expected number of packets to be transmitted (OUT)
or received (IN). The host decrements this count on
every successful transmission or reception of an
OUT/IN packet. Once this count reaches zero, the
application is interrupted to indicate normal
completion.
[18:0]
R_W
Transfer Size
For an OUT, this field is the number of data bytes
the host will send during the transfer.
For an IN, this field is the buffer size that the
application has reserved for the transfer. The
application is expected to program this field as an
integer multiple of the maximum packet size for IN
transactions.
R/W
R/W
Bit
R/W
[31:0]
R_W
DMA Address
This field holds the start address in the external
memory from which the data for the endpoint must
be fetched or to which it must be stored. This
register is incremented on every AHB transaction.
Description
Description
Host Channel-n DMA Address Register
Description
S3C6400X RISC MICROPROCESSOR
Initial State
Reset Value
Initial State
1'h0
2'b0
10'b0
19'b0
32 bits
32'h0

Advertisement

Table of Contents
loading

Table of Contents