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.

请TI工程师解答下有关srio中断的问题



仔细查找了C6678的datasheet,想明确由SRIO发来的DOORBELL中断属于一级中断还是二级中断?但发现如下不解之处:datasheet中,有一个SRIO Interrupt是一级中断,RapidIO Interrupt是二级中断,这两者有区别吗? FPGA和DSP直接利用SRIO进行数据传输,FPGA给DSP发送一个门铃中断,该中断是属于哪一种呢?

  • SRIO有24个中断,其中0-15是通用中断路由到Chip intc,16~23是dedicated Doorbell中断分别直接路由到core0~7,所以doorbell可以使用16~23.

  • 修改doorbell中断映射到core1的话,是不是只需要将:

    SRIO_Interrupt_Map interrupt_map[]= {     /*interrupt_event*/ /*INTDST_number*/  {DOORBELL0_0_INT,  INTDST_16},  /*route to core 0*/  {DOORBELL0_1_INT,  INTDST_16},  /*route to core 0*/  {DOORBELL0_2_INT,  INTDST_16},  /*route to core 0*/  {DOORBELL0_3_INT,  INTDST_16},  /*route to core 0*/  {DOORBELL0_4_INT,  INTDST_16}   /*route to core 0*/ }; SRIO_Interrupt_Cfg interrupt_cfg;

    中的INTDST_16改成INTDST_17呢?我试了好像还是core0才能响应中断,求解~~~

  • 你好,可能是还有其他的地方要把core0改成core1,另外,你能用sys/bios实现doorbell中断吗?