This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28335 DMA does not start

Other Parts Discussed in Thread: TMS320F28335, CONTROLSUITE

Hello,

I'm using a TMS320F28335 and could not get DMA working!

It seems to me that all the necessary steps have been done.

Interrupts disabled

Peripheral clocks --> initialized

PW1 SOC on A group --> initialized

DMA CH1 Addresses --> initialized

DMA CH1 Burst Config. --> initialized

DMA CH1 Transfer Config. --> initialized

DMA CH1 Wrap Config. --> initialized

DMA CH1 Mode Config --> initialized

DMA CH1 --> Started

Interrupts Enabled

I just tried to copy the 32-bit register  EQep1Regs.QPOSCNT to the 32-bit RAM variable HWQEP_u32Encoder1_QPOSCNT.

My DMA init. sequence:

HARDRESET = 1;

NOP;

BURST_SIZE = 0;

SRC_BURST_STEP = 0;

DST_BURST_STEP = 0;

SRC_WRAP_SIZE = 0xFFFF;

SRC_WRAP_STEP = 0;

DST_WRAP_SIZE = 0xFFFF;

DST_WRAP_STEP = 0;

PERINTSEL = 18;

PERINTE = 1;

ONESHOT = 0;

CONTINUOUS = 1;

SYNCE = 0;

SYNCSEL = 0;

OVRINTE = 0;

DATASIZE = 1;

CHINTMODE = 0;

CHINTE = 0;

RUN = 1;

My tests using a JTAG emulator show that the copy is not performed. What did I do wrong????

Any help would be really appreciated (I'm spending much more time than expected).