Re: EDMA Event-Triggered Synchronization



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!

.



Relevant Pages

  • Re: EDMA Event-Triggered Synchronization
    ... Array Synchronization? ... the EDMA controller will transfer one ... Note that the parameter set gets modified during the transfer so ... trigger the transfer request. ...
    (comp.dsp)
  • Re: EDMA Event-Triggered Synchronization
    ... Array Synchronization? ... the EDMA controller will transfer one ... Note that the parameter set gets modified during the transfer so ... trigger the transfer request. ...
    (comp.dsp)
  • Re: EDMA Event-Triggered Synchronization
    ... Array Synchronization? ... Does it means that every times an interrupt ... Note that the parameter set gets modified during the transfer so ...
    (comp.dsp)
  • Re: Larrabee delayed: anyone know whats happening?
    ... to update that array in parallel. ... For gnot dependent on B, or not dependent on the loop computed values of B, there is, of course, no need for synchronization inside the loop; a barrier after the loop suffices. ... The last case of interest is gdependent on B, but the dependencies & fare sufficiently regular that we can figure out a parallel iteration mapping with a small enough number of synchronization points to make it practical to actually do the loop in parallel. ...
    (comp.arch)
  • Re: Merge Replication & triggers (SQL Srvr CE)
    ... Synchronize method in the merge activex control. ... Looking for a SQL Server replication book? ... The trigger DOES NOT in any way restrict updates to the ... If I drop the trigger on the table, the synchronization ...
    (microsoft.public.sqlserver.replication)