|
PDIUSBD12 Datasheet, PDF (15/35 Pages) NXP Semiconductors – USB interface device with parallel bus | |||
|
◁ |
Philips Semiconductors
PDIUSBD12
USB interface device with parallel bus
9397 750 09238
Product data
Table 7:
Bit
7
6
5
4
3
2
1 to 0
Set DMA command: bit allocation
Symbol
Description
ENDPOINT INDEX 5
INTERRUPT ENABLE
A â1â allows for an interrupt to be generated whenever
the endpoint buffer is validated (see Section 11.3.8
âValidate bufferâ command). Normally turned off for
DMA operation to reduce unnecessary CPU servicing.
ENDPOINT INDEX 4
INTERRUPT ENABLE
A â1â allows for an interrupt to be generated whenever
the endpoint buffer contains a valid packet. Normally
turned off for DMA operation to reduce unnecessary
CPU servicing.
INTERRUPT PIN
MODE
A â0â signiï¬es a normal interrupt pin mode where an
interrupt is generated as a logical OR of all the bits in
the interrupt registers. A â1â signiï¬es that the interrupt
will occur when Start of Frame clock (SOF) is seen on
the upstream USB bus. The other normal interrupts are
still active.
AUTO RELOAD
When this bit is set to â1â, the DMA operation will
automatically restart.
DMA DIRECTION
This bit determines the direction of data ï¬ow during a
DMA transfer. A â1â means external shared memory to
PDIUSBD12 (DMA Write); a â0â means PDIUSBD12 to
the external shared memory (DMA Read).
DMA ENABLE
Writing a â1â to this bit will start DMA operation through
the assertion of pin DMREQ. The main endpoint buffer
needs to be full (for DMA Read) or empty (for DMA
Write) before DMREQ will be asserted. In a single
cycle DMA mode, the DMREQ is deactivated upon
receiving DMACK_N. In burst mode DMA, the DMREQ
is deactivated after the number of burst is exhausted.
It is then asserted again for the next burst. This process
continues until EOT_N is asserted together with
DMACK_N and either RD_N or WR_N, which will reset
this bit to â0â and terminate the DMA operation. The
DMA operation can also be terminated by writing a
â0â to this bit.
DMA BURST
Selects the burst length for DMA operation:
00 Single-cycle DMA
01 Burst (4-cycle) DMA
10 Burst (8-cycle) DMA
11 Burst (16-cycle) DMA
11.3 Data ï¬ow commands
Data ï¬ow commands are used to manage the data transmission between the USB
endpoints and the external microcontroller. Much of the data ï¬ow is initiated via an
interrupt to the microcontroller. The microcontroller utilizes these commands to
access and determine whether the endpoint FIFOs have valid data.
11.3.1 Read interrupt register
Code (Hex) â F4
Transaction â read 2 bytes
Rev. 08 â 20 December 2001
© Koninklijke Philips Electronics N.V. 2001. All rights reserved.
15 of 35
|
▷ |