Other Parts Discussed in Thread: OMAP-L138
Dear E2E:
Thank you for your support.
1. I need to use EDMA3 for the four (4) channels simultaneously to serve four serial ports (SPI0, MvASP, McBSP0, McBSP1).
2. The fastest serial port is SPI0 - it runs at ~36MHz and need to be serviced every ~450nS for 16-bit read/write (SPI0 has no FIFO).
3. McASP need to be serviced every ~15.26uS - it requires 40Byte read from McASP FIFO.
4. McBSP0 and McBSP1 are slower and need to be serviced every ~256uS - they require 40Byte read from the FFO.
5. Can EDMA3 on OMAP-L138 afford this (described above) load?
6. I see that I can run McASP, McBSP0, McBSP1 simultaneously without problem.
7. SPI0 which need to be served every ~450nS runs OK if no other serial ports are running.
8. As soon as another serial port (McASP for example) are also active - I can see that SPI0 is not working properly - it looks like the SPI0 events are missing sometimes.
9. I configured SPI0 events on DMAQNUM0 and other serial ports on DMAQNUM1 to make SPI0 higher priority port.
10. I set the SYSCNFG_MSTPRI1 register = 0x00001000 to have TCC0 with highest priority-=0 and TCC1 with priority=1.
11. I tried to reduce the McASP FIFO read size to 16Byte but nothing helped.
12. Can you please help me to set the EDMA correctly for the task with 4 channels simultaneously as described above?
13. And also - the EDMA minimum burst size is 16Byte according to UM.
14. What are the timing parameter of EDMA burst - how much time is required for EDMA for this 16Byte burst? There are no data in DS or UM for OMAP-L13.
Thank you very much for your help,
Boris Ruvinsky