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.
I am using Beagle XM board(DM3730) in one of my project. One of the requirement in our project is to have SPI/SDMA combination in DSP. The driver code for SPI and SDMA runs on DSP processor.
I am using SPI3 in salve duplex mode and configured SDMA channel 1 for SPIRX0(DMA req line 15 ie S_DMA_15) and channel 3 for SPITX0(DMA req line 14 ie S_DMA_14). Basically I am using HW synchronized transfer mechanism.
I have configured DMA as follows,
Element size --> 32 bit
Element number --> 160
Frame number --> 1
And I have configured DMA channel for Block interrupt using CICR register. After a block transferred, I am getting proper block interrupt also proper data at destination memory.
The problem I am facing is that, after a block get transferred at RX the DMA channel 1 gets disabled automatically and I am not able to receive next block. Even I try enabling the channel through SW, it does not have any effect. I tried with channel linking but there also I receive one block from original channel and other block from linked channel. totally I get 2 blocks and the transaction stops.
Can any body help me or suggest what might have gone wrong? Why the channel gets disabled automatically and it can not be enabled further? My requirement is to get block of data continuously till SW disables the DMA channel.
Could you share the SDMA configuration which you are using? Also check the AM/DM37x Technical Reference Manual which can be found at:
section 11.5 SDMA Basic Programming Model whether described steps for configuring matching to yours.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Cvetolin Shulev-XID:
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.