Quantcast
Channel: Processors
Viewing all articles
Browse latest Browse all 123557

Forum Post: RE: questions about SRIO doorbell interrupt routing

$
0
0

Hi Ganapathi,

 

Thank you first!

 

Exactly I use the DSP chip C6670 in my board.

I know that the INTDST16 and INTDST20 are mapped into Core0. And INTDST16 corresponds with event #20 and INTDST20 corresponds with event #21 with regard to Core0.

My problem is that in these codes below

CSL_SRIO_SetDoorbellRoute(hSrio, 0); for (i = 0; i < 16; i++) { CSL_SRIO_RouteDoorbellInterrupts(hSrio, 0, i, 0); CSL_SRIO_RouteDoorbellInterrupts(hSrio, 1, i, 1); CSL_SRIO_RouteDoorbellInterrupts(hSrio, 2, i, 2); CSL_SRIO_RouteDoorbellInterrupts(hSrio, 3, i, 3); }  EventCombiner_dispatchPlug (20, (CpIntc_FuncPtr)myDoorbellCompletionIsr, (UArg)hDrvManagedSrioDrv, TRUE);

I plug the myDoorbellCompletionIsr with event #20 in Core0. 

But when I send a doorbell with reg=0 in info field to C6670, the my DoorbellCompletionIsr can not raise!!

As I know when I send the doorbell with reg=0, it will raise the INTDST16 and the event #20 will trigger the Core0.

Because I had plugged the myDoorbellCompletionIsr with event #20, I think that the myDoorbellCompletionIsr will raise.

But it can not in fact!

So what are my problems in my codes and understanding with the interrupt routing path?

Thank you again!

Feng


Viewing all articles
Browse latest Browse all 123557

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>