Hello,
I am trying to force phantom ISR on TMS570LS3137, according to spna063.pdf, Scenario 1, Example 1 on page 2 and 3. But, no luck with that.
Here is what I am trying to do:
- Instead of GIO, I am using DMA, which will be triggered when ADC conversion completes.
- ADC is configured for 1 channel only, so there is only 1 element per frame and 1 frame per block.
- I have DMA FTC_ISR (frame transfer complete) and BTC_ISR (block transfer complete) routines defined and enabled in VIM.
- FTC_ISR channel is set as FIQ, while BTC_ISR is IRQ. Since there is only 1 frame per block, I expect that both ISR flags will be set at the same time, but the FTC_ISR (FIQ) will be executed first - which happens.
- Inside FTC_ISR (FIQ) I am clearing FTC_ISR flag as well as BTC_ISR - also happens.
- After that, I expect that instead of BTC_ISR, phantom ISR will be executed - this does not happen. BTC_ISR is also executed, and phantom ISR is not.
So, my questions are:
- Since spna063 is TMS470 related document, is it also valid for TMS570? I assume it is, because it is often referred to in e2e.
- Did anyone succeed in forcing phantom ISR on TMS570, with any ISR/FIQ combination? On purpose, not by unfortunate circumstances or bug in the code.
- Any ideas?
Thank you.
Regards,
Stojan