I'm working with the C6678 EVM using CCS 5.1.0.09000. I have successfully built the edma3_drv_bios6_c6678_st_sample project. When I run the debugger, the callback function registered in the EDMA3_DRV_requestChannel call never gets triggered. Running the project, the debugger is stuck in the "waiting for interrupt..." loop.
As far as I can tell, the example is using channnel 0. I've paused the debugger while it's waiting for the callback, and examined the appropriate registers (I think). I see the tpcc_ier = 0x01 (which matches my channel number). The tpcc_ipr also is a 0x01, which implies that an interrupt is pending for channel 0.
The ControlRegisters.IER does have some interrupts disabled (4, 5, 6, 11, 12, 13, and 15). Is one of them masking my EDMA3 transfer complete interrupt, thus keeping my callback function from being called?
I do notice that the last line in the Console window when the GEL file completes is a "Disable all EDMA3 interrupts and events." Is there something I need to do to enable the EDMA3 interrupts?
Any suggestions would be greatly appreciated.