主题中讨论的其他器件:C2000WARE
各位专家、您好!
在 TRM (spruii0c)中、有以下说明、图和寄存器说明。
但是、我没有找到如何配置中断源。
到目前为止,FLG0 -> IPC_INT0 (CIPC0),...
有固定的连接。 您能告诉我们如何配置它们吗?



此致、
Hidehiko
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.
各位专家、您好!
在 TRM (spruii0c)中、有以下说明、图和寄存器说明。
但是、我没有找到如何配置中断源。
到目前为止,FLG0 -> IPC_INT0 (CIPC0),...
有固定的连接。 您能告诉我们如何配置它们吗?



此致、
Hidehiko
Hidehiko、
在 TRM (spruii0c)中、我们有一个有关 C28x 内核支持的 IPC 中断数量的拼写错误。
以下是正确的陈述:
借助 C28x 内核、其中四个(IPC0-IPC4)可配置为生成 IPC 中断
远程 CPU 上。
假设您希望触发 CPU2.IPC0中断、则需要从 CPU1侧设置 IPCSET.IPC0 = 1。 您没有任何其他配置位来启用中断功能。 设置 IPCFLG0 - IPCFLG3将在远程 CPU 中触发相应的 IPC 中断。
我强烈建议您查看 C2000Ware 中的以下 IPC 示例。
driverlib\f2838x\examples\C28x_dual\ipc\ipc_ex2_msgqueue_c28x1
此致、
曼诺伊