Re: EDMA Event-Triggered Synchronization
- From: edwin82@xxxxxxxxx
- Date: 22 Mar 2007 19:57:42 -0700
On Mar 22, 9:25 pm, Brad Griffis <bradgrif...@xxxxxxxxxxx> wrote:
edwi...@xxxxxxxxx wrote:
Hi,
In TI C671x or similar DSP, what is the function of Event-Triggered
Array Synchronization? Does it means that every times an interrupt
event arrived (eg EXT_INT) , the EDMA controller will transfer one
array?
In 2D mode with FS=0 you will get an array-synchronized transfer which
you described correctly, i.e. one array per sync event.
Besides the parameter for the channel such as OPT/SRC/FRMCNT,
what should be configured in order to enable event-triggered
synchronization ?
In order to synchronize to the correct event, in your case the external
interrupt, you need to write to the Parameter Set corresponding to that
event. Note that the parameter set gets modified during the transfer so
you will probably want to setup a second Parameter Set with the exact
same initial parameters such that the active parameter set always links
to that same reload (assuming you're going to do this 2D transfer more
than once).
You'll also need to enable the corresponding bit in the event enable
register EER.
Suppose I have an 2D array data[20][100], is it possible to configure
the EDMA to transmit the whole data[0] when the EXT_INT event is
triggered, transmit data[1] when another EXT_INT event is triggered,
and transmit one array when each EXT_INT event is trigger until
data[19] ?
Yes, that is possible. In fact, that specific scenario is shown in
Section A.3 of the EDMA Reference Guide, spru234c.
Thanks for your reply. Yes, I want to do this 2D transfer
continuously, the case is same as Figure A-36 in "spru234". Does it
means that I need to configure the channel as linked transfer?
Actually I have read the "spru234" and "spra636" before, and get
confused with the setting of "event triggered transfer request" and
"event triggered synchronization"! The reference guide said that a bit
in EER should be enabled in order to enable the corresponding event to
trigger the transfer request. For example, if I want to trigger the
transfer request by EXT_INT5, the EER should be configured as
"0x0020". If this is correct, then how can I enable the "event
triggered synchronization"? Is it simply configure the EER as "0x0010"
if I want the send one array when EXT_INT4 is triggered?
Thanks again!
.
- Follow-Ups:
- Re: EDMA Event-Triggered Synchronization
- From: Brad Griffis
- Re: EDMA Event-Triggered Synchronization
- References:
- EDMA Event-Triggered Synchronization
- From: edwin82
- Re: EDMA Event-Triggered Synchronization
- From: Brad Griffis
- EDMA Event-Triggered Synchronization
- Prev by Date: Difference between maximum ratio combing and adaptive beamforming
- Next by Date: digital integration algorithm
- Previous by thread: Re: EDMA Event-Triggered Synchronization
- Next by thread: Re: EDMA Event-Triggered Synchronization
- Index(es):
Relevant Pages
|