Hello!
Could you help me with the following problem please?
I use the C6748 device. I have 2 EDMA3 transfers:
First transfer is done by Channel Controller 0 (Transfer Controller 0 - EDMA3_0_TC0). It transfers 16 bytes from SPI to internal RAM periodically every 80 microseconds. These are the data from AD converter.
Second transfer is done by Channel Controller 1 (EDMA3_1_TC0). It transfers data (usually 512 B) between DDR and NAND Flash.
Both transfers work fine if they are running alone. But there is the following collision if they are running together: There is periodically performed 1 SPI transfer (2 bytes) and then the SPI transfer is blocked by second transfer for about 50 microseconds. It means that the data from AD converter are missed.
The priorities of Transfer Controllers in Master Priority Register (MSTPRI1) are set so: EDMA3_0_TC0 has the priority 0, EDMA3_1_TC0 has 4.
So the priority of SPI transfer is higher but it gets a fewer time.
How to solve this problem?
Best regards,
Jiri Babka