[XMC4800] Can not setting that use DMA on SPI transmission on DAVE4

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User16417
Level 2
Level 2
Hi All,

I would like to setting that use DMA on SPI transmission on DAVE4. but i can't it. I am modifing based on SPI_SLAVE_EXAMPLE_XMC4500.zip.
How do i should the setting the DAVE App?
0 Likes
1 Reply
akira
Employee
Employee
10 sign-ins 5 sign-ins 5 replies posted
He wants to transmit the data from SPI master with using DMA.
In your SPI_SLAVE_EXAMPLE_XMC4500 project, there is SPI_MASTER app
and may select DMA for transmit;
3472.attach
After selecting the “DMA”,
3473.attach
Additional DMA Instance is required or use existing instance.
An error dialog will be output no matter which one I choose;
3474.attach
Would you please give me your advice how to fix this?


You will need to unselect the pins configured for SPI_MASTER. After that enable the DMA. The reason is that with the original configuration, because of the pin configuration, both SPI_MASTER and SPI_SLAVE uses the same USIC module, USIC1. USIC1 has only two trigger signals to the DMA which are already consumed by the SPI_SLAVE.

0 Likes