Tool/software:
HI Ti expert
SDK: 0902 & 0806
In the current mcasp demo, DMA+interrupt is used to transmit or receive data. Is there a way to use interrupt+polling? Is there a related demo?
Best Regards
Eason
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.
Tool/software:
HI Ti expert
SDK: 0902 & 0806
In the current mcasp demo, DMA+interrupt is used to transmit or receive data. Is there a way to use interrupt+polling? Is there a related demo?
Best Regards
Eason
Hi Eason,
What do you mean by interrupt+polling? They are mutually exclusive.
Best,
Jared
Hi Jared
What do you mean by interrupt+polling? They are mutually exclusive.
Sorry, I expressed it wrong. I want to know if there is a way that does not require interrupts and DMA, I want to use polling.
Best Regards
Eason
Hi Jared
Can you send a link to the demo you are referring to?
pdk_jacinto_08_06_00_31/packages/ti/drv/mcasp/example/src/audioSample_main.c
Best Regards
Eason
Hi Eason,
Let me look into the pdk code. There may be a setting within the dmautils that selects between interrupts and polling.
Best,
Jared
Hi Jared
Let me look into the pdk code. There may be a setting within the dmautils that selects between interrupts and polling.
Any Update on this ?
Best Regards
Eason
Hi Eason,
You may be able to change the eventMode for the MCASP DMAs in mcasp_dma.c
Is there a reason you prefer using polling over interrupts?
Best,
Jared