CY8C38_11 CYPRESS [Cypress Semiconductor], CY8C38_11 Datasheet - Page 16

no-image

CY8C38_11

Manufacturer Part Number
CY8C38_11
Description
Manufacturer
CYPRESS [Cypress Semiconductor]
Datasheet
4.4.2 DMA Features
4.4.3 Priority Levels
The CPU always has higher priority than the DMA controller
when their accesses require the same bus resources. Due to the
system architecture, the CPU can never starve the DMA. DMA
channels of higher priority (lower priority number) may interrupt
current DMA transfers. In the case of an interrupt, the current
transfer is allowed to complete its current transaction. To ensure
latency limits when multiple DMA accesses are requested
simultaneously, a fairness algorithm guarantees an interleaved
minimum percentage of bus bandwidth for priority levels 2
through 7. Priority levels 0 and 1 do not take part in the fairness
algorithm and may use 100 percent of the bus bandwidth. If a tie
occurs on two DMA requests of the same priority level, a simple
round robin method is used to evenly share the allocated
bandwidth. The round robin allocation can be disabled for each
DMA channel, allowing it to always be at the head of the line.
Document Number: 001-11729 Rev. *R
24 DMA channels
Each channel has one or more transaction descriptors (TD) to
configure channel behavior. Up to 128 total TDs can be defined
TDs can be dynamically updated
Eight levels of priority per channel
Any digitally routable signal, the CPU, or another DMA channel,
can trigger a transaction
Each channel can generate up to two interrupts per transfer
Transactions can be stalled or canceled
Supports transaction size of infinite or 1 to 64 KB
TDs may be nested and/or chained for complex transactions
ADDR 16/32
READY
WRITE
DATA
CLK
ADDRESS Phase
Basic DMA Read Transfer without wait states
A
DATA Phase
B
Figure 4-1. DMA Timing Diagram
DATA (A)
ADDR 16/32
Priority levels 2 to 7 are guaranteed the minimum bus bandwidth
shown in
1 have satisfied their requirements.
Table 4-7. Priority Levels
When the fairness algorithm is disabled, DMA access is granted
based solely on the priority level; no bus bandwidth guarantees
are made.
4.4.4 Transaction Modes Supported
The flexible configuration of each DMA channel and the ability to
chain multiple channels allow the creation of both simple and
complex use cases. General use cases include, but are not
limited to:
4.4.4.1 Simple DMA
In a simple DMA case, a single TD transfers data between a
source and sink (peripherals or memory location). The basic
timing diagrams of DMA read and write cycles are shown in
Figure
to the Technical Reference Manual.
READY
WRITE
DATA
Priority Level
CLK
4-1. For more description on other transfer modes, refer
Table 4-7
0
1
2
3
4
5
6
7
ADDRESS Phase
after the CPU and DMA priority levels 0 and
PSoC
Basic DMA Write Transfer without wait states
A
% Bus Bandwidth
®
3: CY8C38 Family
100.0
100.0
50.0
25.0
12.5
6.2
3.1
1.5
DATA Phase
DATA (A)
Data Sheet
B
Page 16 of 129
[+] Feedback

Related parts for CY8C38_11