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

28377D PWM中断

TI工程师,你们好,咨询一个问题,我在CPU1里面初始化一个PWM1,然后使能运行,有没有办法可以在CPU2里面响应这个PWM1的中断?

Green Deng:

你可以在CPU1中定义和初始化PWM1,然后在CPU2中使能PWM1。
3.4.2.4 Dual-CPU Interrupt Handling
Each CPU has its own PIE. Both PIEs must be configured independently.
Some interrupts come from shared peripherals that can be owned by either CPU, such as the ADCs and
SPIs. These interrupts are sent to both PIEs regardless of the peripheral's ownership. Thus, a peripheral
owned by one CPU can cause an interrupt on the other CPU if that interrupt is enabled in the other CPU's
PIE.

user3823702:

回复 Green Deng:

不好意思,是我问题没有描述清楚,我的需求是PWM1,2,3都在CPU1里面运行,同时启动,有没有办法能在CPU2里面响应这个PWM3的中断。

Green Deng:

回复 user3823702:

似乎更混乱了。。。你看看这个帖子的内容是不是跟你问的差不多?
e2e.ti.com/…/3318381

user3823702:

回复 Green Deng:

对的,我问的就是这个意思。我自己再琢磨琢磨吧。

Green Deng:

回复 user3823702:

好的!

赞(0)
未经允许不得转载:TI中文支持网 » 28377D PWM中断
分享到: 更多 (0)