QDMA mit TMS320C6713

Gast #390110
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
Gast #390111
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.

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren