Dear TI,
I am starting a new project using the C28346 and I need to transfer data using the XINTF from a CPLD to the DSP and was looking for some guidance if I have enough time to complete this task with my existing CPLD code. Today I have 500 ns available to do the following items. Please let me know your thoughts. I included my analysis but wasn't positive.
1.) Overhead to enter ISR from external interrupt - I believe this is 16 clock cycles from external interrupt?
2.) DMA will have to burst two bytes in from XINTF to internal SARAM. I only have enough pins to do a byte interface, so I have to do two XINTF transfers - I believe this is 4 cycles per word to do dma transfer. In addition I would have to add my external CPLD timing which can be accomplished in 24 DSP clocks for byte. Total time to go from XINTF to SARAM would be 52 clocks.
3.) DMA will have to burst two bytes out from internal SARAM to XINTF. Again I am using the same byte wide interface. So this is another 4 cycles per word to do the dma transfer. In addition I would have to add external CPLD timings which is 24 DSP clocks for byte. Total time to go from SARAM to XINTF would be 52 clocks.
4.) Increment Receive Counter - ? clock cycle?
5.) Increment Transmit Counter - ? clock cycle?
6.) Overhead to exit ISR - 16 clock cycles?
Based on this analysis I am guessing that it would take me about 150 DSP clocks. If I ran at the maximum frequency, 300 MHz, then I would be at 495 ns.