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.
请问一下,在28346芯片中,是不是默认是不允许中断嵌套的。如果要实现中断嵌套要如何实现呢?
是的,所有C2000芯片都支持中断嵌套,但默认是不使能的。
可以参考TMS320C2834x Delfino System Control and Interrupts Reference Guide (www.ti.com/lit/SPRUFN1B)第4章Peripheral Interrupt Expansion了解详情,也可以参考例程sw_prioritized_interrupts: 安装controlsuite后在C:\TI\controlSUITE\device_support\c2834x\v112\DSP2834x_examples_ccsv4\sw_prioritized_interrupts路径下。
feng liu,
您好!
如您所说的情况,当低优先级的中断ISR正在执行的时候,高优先级的中断到来,如果在低优先级ISR中置位INTM(可能需要设置相应的IER位),那么会发生中断抢占,低优先级的中断被打断,执行高优先级的ISR。
这个还是与中断的优先级有关系。
可以参考10#的帖子里面的例程,里面很详细的。
希望对您有所帮助。