Other Parts Discussed in Thread: SYSBIOS
Hi Sir :
I work on TI AM335x platform, the tools's version are as below.
CCS V6
am335x_sysbios_ind_sdk_1.1.0.8
bios_6_41_04_54
ndk_2_24_01_18
xdctools_3_30_06_67_core
I have tested the project in starterware directory and it works fine.
However, if I add these source code in sysbios project like i2c_led, the problem below happens.
I try to add edmaTest in starterware directory in i2c_led project to test EDMA.
I add the statements after MMUInit(applMmuEntries) and I also define CH_TYPE_DMA.
/* Configure EDMA module clock */
EDMAModuleClkConfig();
/* Initialize EDMA */
EDMA3Init(EDMAAPP_EDMACC_BASE_ADDRESS, EDMAAPP_DMA_EVTQ);
_EDMAAppRegisterEdma3Interrupts();
//ConsoleUtilsPrintf("EDMAAPP_MAX_BUFFER_SIZE :%d\r\n",EDMAAPP_MAX_BUFFER_SIZE);
#ifdef CH_TYPE_DMA
EDMAAppEDMA3Test();
#else
EDMAAppQDMA3Test();
#endif
When I debug, the project always stay in the while loop below.
/* Wait for the Completion ISR. */
while(EDMAAPP_IRQ_STATUS_XFER_INPROG == IrqRaised)
{
/*
** Wait for the Completion ISR on Master Channel.
** You can insert your code here to do something
** meaningful.
*/
}
Could you give me some suggestion?
Best regards,
Marcus