Forum Discussion
Altera_Forum
Honored Contributor
11 years agocould not use SGDMA callback function in uCOS depneding on NiosII
hellow, i use the SGDMA API in a task of uCOS based on nios, i send the data through "SGDMA mem to streaming" , and receive data through "SGDMA streaming to mem", i connect the out pins of "SGDMA mem...
Altera_Forum
Honored Contributor
11 years agoi had solve this problem that, i put the sub-routine into another c file, such as "sgdma_rx", "sgdma_tx", and the isr routines for tx and rx;
then in the task of uCOS, calling these sub-routine, then it worked and can use the callback function , and enter into interrupt routines.