TI中文支持网
TI专业的中文技术问题搜集分享网站

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

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

Andy Yin1:

回复 noaming:

Titan,

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

James Zhang2:

回复 Andy Yin1:

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

noaming:

回复 Andy Yin1:

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.

James Zhang2:

回复 noaming:

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

noaming:

回复 James Zhang2:

恩,应该是这样的,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.

赞(0)
未经允许不得转载:TI中文支持网 » 在SYS/BIOS中调用CSL配置时钟ISR,系统会不会崩溃?
分享到: 更多 (0)