Forums

DMA and MCBSP syncronization

Started by jason_c_wachholz May 12, 2005
I'm having troubles getting the DMA and the BSP to syncronize with
interrupts.

In general I cannot get the DMA to fire an interrupt after a block
transfer is complete. The interrupts are enabled in the IMR.

I can enter my interrupt with the MCBSP running alone. I can also run
my DMA in no sync mode. I can conduct one block transfer based on
the dma sync bits in DYSN bits with the BSP but I cannot get the
interrupt to fire after the block transfer is complete. I have set
the DINM and IMOD bits in the DMMCR register for the DMA channel that
I am using.

Has anyone experience a problem like this or can think of something I
am missing?




j> I'm having troubles getting the DMA and the BSP to syncronize with
j> interrupts.

j> In general I cannot get the DMA to fire an interrupt after a block
j> transfer is complete. The interrupts are enabled in the IMR.

j> I can enter my interrupt with the MCBSP running alone. I can also run
j> my DMA in no sync mode. I can conduct one block transfer based on
j> the dma sync bits in DYSN bits with the BSP but I cannot get the
j> interrupt to fire after the block transfer is complete. I have set
j> the DINM and IMOD bits in the DMMCR register for the DMA channel that
j> I am using.

j> Has anyone experience a problem like this or can think of something I
j> am missing?

Have you set up bits INTOSEL properly?
Regards,
Igor