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

Forum Post: RE: CCS/TMS320C6678: SRIO : doorbell packets and doorbell interrupts

$
0
0
Hi Garrett Ding, At first, I shall thank you for your answer. I studied SRIO_TputBenchmarking_evmc6678_C66TestProject example. - - - - - - - - - - A) In this example, Routing of the Doorbell interrupts is as follow: #if 0 /* Set the Doorbell route to determine which routing table is to be used * This configuration implies that the Interrupt Routing Table is configured as * follows:- * Interrupt Destination 0 - INTDST 16 * Interrupt Destination 1 - INTDST 17 * Interrupt Destination 2 - INTDST 18 * Interrupt Destination 3 - INTDST 19 */ CSL_SRIO_SetDoorbellRoute (hSrio, 0); #else /* Set the Doorbell route to determine which routing table is to be used * This configuration implies that the Interrupt Routing Table is configured as * follows:- * Interrupt Destination 0 - INTDST 0 * Interrupt Destination 1 - INTDST 1 * Interrupt Destination 2 - INTDST 2 * Interrupt Destination 3 - INTDST 3 */ CSL_SRIO_SetDoorbellRoute (hSrio, 1); #endif /* Route the Doorbell interrupts. * Doorbell Register 0 - All 16 Doorbits are routed to Interrupt Destination 0. * Doorbell Register 1 - All 16 Doorbits are routed to Interrupt Destination 1. * Doorbell Register 2 - All 16 Doorbits are routed to Interrupt Destination 2. * Doorbell Register 3 - All 16 Doorbits are routed to Interrupt Destination 3. */ for (i = 0; i INTDST 16 " for doorbell, what is the exact codes to use instead of codes which I mention them in part B ? Are the following steps true? Step A: * Interrupt Destination 0 - INTDST 16 * Interrupt Destination 1 - INTDST 17 * Interrupt Destination 2 - INTDST 18 * Interrupt Destination 3 - INTDST 19 */ CSL_SRIO_SetDoorbellRoute (hSrio, 0); Step B: // for doorbell interrupt which is one of the CorePac primary interrupts EventCombiner_dispatchPlug (20, (EventCombiner_FuncPtr)myDIOIsr, (UArg)hAppManagedSrioDrv, TRUE); EventCombiner_enableEvent (20); Q3- Should I change function myDIOIsr( )? Q4- Both sockets should be in blocking mode? Q5- Is there any approach in CCS to see when events accrued and related functions such as myDIOIsr run in the system? (Such as using Breakpoint or UIA or graphical approaches) Best Regards, Mohammad

Viewing all articles
Browse latest Browse all 149782

Trending Articles



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