Hi there,
I'm using the TMS570LS3037 RTI module compare block 1, fed with a frequency of 30 MHz, to measure the time taken by the DMA to transfer all 2 MB of Flash to the CRC module, every 10 seconds. The RTI is configured with both DMA and INT enabled for compare block 1. The CRC module is configured to generate interrupt when the compression is complete.
I set breakpoints in both the RTI Compare Block 1 ISR and the CRC Compression Complete ISR. Sometime the breakpoints of both ISRs are reached correctly, so I can calculate the elapsed time between them using the recorded RTIFRC1 values, but most of the time, only breakpoint in the CRC Compression Complete ISR is reached.
Is there any explanation on this? Am I allowed to enable both DMA and INT for a given RTI compare block?
Also, I've measured a time of 41 ms for the 2 MB transfer, is this something that makes sense for this MCU clocked at 120 MHz?
I'm using the IAR compiler tools chain.
Thanks!
