This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

What's the interrupt selection number for C6472?

I'm not able to find the C6472 interrupt numbers.

Khaled.

  • Khaled,

    Please refer section 7.6.1 Interrupt Sources and Interrupt Controller in C6472 data manual to know about the interrupt selection number.

    Regards,
    Senthil
  • thank you Senthil
    I'm confused now.
    The code below I have been using it for years to configure the interrupt in .tcf file and as far as I can tell, its working!

    bios.HWI.instance("HWI_INT5").interruptSelectNumber = 18;
    bios.HWI.instance("HWI_INT5").fxn = prog.extern("timer0ISR");
    bios.HWI.instance("HWI_INT5").useDispatcher = 1;
    bios.HWI.instance("HWI_INT6").interruptSelectNumber = 20;
    bios.HWI.instance("HWI_INT6").fxn = prog.extern("timer1ISR");
    bios.HWI.instance("HWI_INT6").useDispatcher = 1;
    bios.HWI.instance("HWI_INT7").interruptSelectNumber = 22;
    bios.HWI.instance("HWI_INT7").fxn = prog.extern("timer2ISR");
    bios.HWI.instance("HWI_INT7").useDispatcher = 1;
    bios.HWI.instance("HWI_INT8").interruptSelectNumber = 24;
    bios.HWI.instance("HWI_INT8").fxn = prog.extern("timer3ISR");
    bios.HWI.instance("HWI_INT8").useDispatcher = 1;


    The content of section 7.6.1 doesn't correspond to the code above. So either I was working with defective code or the question that I asked is incorrect and thus the answer that you provided don't apply.
    Could you please clarify this issue?
    thanks.
    Khaled.
  • Hi Senthil,
    I found the problem: its a naming issue. My timer0 is using timer6. Similarly my timer1 is using timer7...
    So all is good.

    thanks.
    Khaled.
  • Thank you for the update. We are glad that you were able to solve it.