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的专家好: 想咨询如下几个问题
(1)关于C6678 CIC模块中Host interrupt和Channel interrupt是如何对应的,如果使用CIC0将system Interrupt0 映射到通道10,那Host interrupt Enable 应该置位哪一位?
(2)寄存器手册中关于RAW_STATUS_REGx和ENABLE_REGx的权限皆为可读可写,请问不使用STATUS_SET_INDEX_REG/STATUS_CLR_INDEX_REG ENABLE_SET_INDEX_REG/ENABLE_CLR_INDEX_REG对RAW_STATUS_REGx和ENABLE_REGx进行清除和置位可以吗?
(3) 在使用官方例程时,调用CSL_CPINTC_setNestingMode(),接口中操作的是CONTROL寄存器,但是6678 datasheet中没有相关寄存器描述,是CIC部分寄存器对用户不可见吗?对这些寄存器进行操作是否有实际的影响?
1. 请参考下面附件关于CIC的配置。
0243.Configuring Interrupts on Keystone Devices.pdf
2. 如果是读,不需要清状态为。如果是写,直接写1就好了。
3. keystone不支持nest mode。请看下面的帖子。
https://e2e.ti.com/support/processors-group/processors/f/processors-forum/226948/c6678---interrupt-behaviour-clarification
1. 是的, CIC输出channel事件与INTC的host interrupt是一一固定对应的。
2. 需要清除标志位。请看CIC手册中断服务子程序流程。
1.3.6 Interrupt Service Sequence
https://www.ti.com/lit/ug/sprugw4a/sprugw4a.pdf