Feb 18, 2019
10:41 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 18, 2019
10:41 PM
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?
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?
- Tags:
- IFX
1 Reply
Feb 22, 2019
12:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 22, 2019
12:43 AM
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;
After selecting the “DMA”,
Additional DMA Instance is required or use existing instance.
An error dialog will be output no matter which one I choose;
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.
In your SPI_SLAVE_EXAMPLE_XMC4500 project, there is SPI_MASTER app
and may select DMA for transmit;
After selecting the “DMA”,
Additional DMA Instance is required or use existing instance.
An error dialog will be output no matter which one I choose;
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.