Hi,
I am currently working with a peripheral device which is communicating with the DSP using SPI at a rate of 25 MHz (spiclkmax of the peripheral used) .I am currently writing five 8bit words from the DSP to peripheral which takes approximately 1.6 μs I am having some time bound applications which is required to be completed in 3.9 μs . I am also having some calculations which takes approximately 1 μs . I am currently using Timer 0 for achieving the timing requirement. There is an ISR in the program which sets a flag for the calculations and SPI operations in the main program. The Timer P0 out is also used in my application.
My issue is regarding timing . Even though the calculations and SPI communication is completed in 2.6 μs, There is some additional time taken inside which makes the total time for calculations above the required time (3.9 μs). The DSP is working at 456 MHz and the all the sections are stored in the SHDSPL2RAM. What are the possible solutions ?
Thank you in advance for any help you can provide.