Other Parts Discussed in Thread: TMS320C6746
With TMS320C6746 , we are using two McBSP channels and one SPI channel in our project. All these are linked to EDMA3 CC0 with sync events 2, 4, 14 and 15.
EDMA register adresses are from Shadow region 0.
Here are the observations:
1. When only 2 McBSP channels and EDMA running, those are working perfect. (McBSP Frame Completion period is 130usec, ISR execution is around 14usec)
2. When only SPI and EDMA running, those also working perfect. (Frame completion period is 144 usec, ISR execution is around 7usec)
3. When all the four are enabled, then some interrupts are lost.
Tried below with no success:
1. Tried placing a while loop in EDMA ISR to check IPR before exiting ( as While (IPR & IER) )
2. Set IEVAL bit while exiting.
Some additional inputs:
We are using BIOS.
There are other HW interrupts running.
Interrupt execution time for all the 4 handlers is less than 50 usec.
My questions:
1. Why some EDMA interrupts are lost when all EDMA events are enabled. How to ensure we don't loose them.
2. Can we use EDMA CC0 for SPI and EDMA CC1 for SPI (As per data sheet we can't because all these are mapped to EDMA CC0)