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.

在SYS/BIOS中调用CSL配置时钟ISR,系统会不会崩溃?

Other Parts Discussed in Thread: TMS320C6472

如果会崩溃而且不能修正,我就不花时间去调试了

  • 你好,CSL中明确说明在BIOS中不能使用CSL提供的中断函数库,所以不建议你尝试了。

  • Titan,

    我印象中也是不能用CSL去配置中断,但是没有找到说明的地方,烦请指点一下,谢谢

  • 这个在SPRUEX3J中有描述,原文中是“Hwis must not use the Chip Support Library (CSL) for the target.”这个我也看到了,但是HWI只能指定system event和中断向量表的配对,而cpINTC的输入和输出的通道配置还在CSL中,所以我觉得csl中的cpintc还是需要的,除非hwi有这方面的考虑,不过我没看到。

  • Hi,Andy Yin,

         你是多核方面的专家,不敢说指点,这方面以后还得向你多学习。。。

      以C6472为例,在TMS320C6472 Chip Support Library API Reference Guide中:

    NOTE: The CSL 3.0 INTC module is delivered as a separate library from the remaining CSL

    modules. When using an embedded operating system that contains interrupt controller/dispatcher

    support, do not link in the INTC library. For interrupt controller support, DSP/BIOS users should

    use the HWI (Hardware Interrupt) and ECM (Event Combiner Manager) modules supported under

    DSP/BIOS v5.21 or later.

  • 这么说,在SYS/BIOS中不能用intc,但还是可以用cpintc了。因为cpintc还是在csl目录中,不属于intc的

  • 恩,应该是这样的,SYS/BIOS中CPINTC可以用,而INTC不能用。
    The CPINTC is the interrupt controller which handles the system interrupts for the host, processes & prioritizes them and then is responsible for delivering these to the host.