Hi all,
I have used CIC on 6678.
But I know the GEM id(Primary Interrupts) which get from host id by API ( CpIntc_getEventId ) is different.
For example, CIC0_OUT0 event has event number 102 in C6678 and number 22 in C6657.
I try it on 6657.
use eventId = CpIntc_getEventId(HOST_ID);
I found it`s maybe wrong, because is so different between 6657 Data Manual.
And it make me can`t use interrupt.Can you help me?
The result is following:
eventId(dec) HOST_ID
56 0
57 1
58 2
59 3
60 4
61 5
62 6
63 7
74 8
75 9
76 10
77 11
92 12
93 13
94 14
95 15
Then, I try to run SRIO_LoopbackDioIsrexampleproject on 6657. I found in the project, the return event id is right !!
I can`t understand how to cause the situation?
Best Regards,
Li