Forum: Digitale Signalverarbeitung / DSP / Machine Learning QDMA mit TMS320C6713


von DIRK_FI (Gast)


Lesenswert?

Hallo,

ich möchte mit dem TMS320C6713 einen QDMA Transfer durchführen.
Dies funktioniert soweit auch recht gut. Der Transfer wird auch
durchgeführt. Aber woher weiss ich das der DMA-Controller
mit dem Transfer fertig ist? Gibt es Bit auf das ich pollen kann?

Gruss

Dirk

von Markus (Gast)


Lesenswert?

Lesen ist wohl nicht Deine Stärke?

In meinen Datenbüchern steht jedenfalls folgendes:

Although the QDMA mechanism does not support event linking, it supports
completion interrupts, as well as QDMA chaining with EDMA events. The
QOPT and QSOPT include the same TCINT and TCC fields as the EDMA
channel options parameter register (OPT). QDMA completion interrupts
are enabled and set in the same way as EDMA completion interrupts. To
set a QDMA completion interrupt, you need to set TCINT to 1 and program
the TCC to specify the interrupt desired. The TCC field can have values
between 0000b to 1111b, just as the TCC field in OPT. Similar to the
EDMA, the QDMA completion event is captured in the EDMA channel
interrupt pending register (CIPR). If the corresponding interrupt bit
(specified by the TCC field) in the EDMA channel interrupt enable
register (CIER) is set, the QDMA completion event will generate an
interrupt to the CPU via the EDMA interrupt signal, EDMA_INT. If you
specify a TCC value in QOPT between 8 and 11, chaining of the QDMA
transfer to an EDMA channel transfer is possible, provided the relevant
bit in the channel chain enable register (CCER) is set.

von Markus (Gast)


Lesenswert?

Habe extra für Dich noch die aktuelle Version zum Runterladen
rausgesucht:

http://www.tij.co.jp/jsc/docs/dsps/support/download/c6000/c6000pdf/spru234b.pdf

Kapitel 3.7.

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.