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.

TMS320C6678: c66x中断处理过程

Part Number: TMS320C6678
Other Parts Discussed in Thread: SYSBIOS

程序使用sysbios,多核共用单工程,使用6678中断遇到以下问题

1。在cfg脚本文件创建gpio13中断,interruptnum使用11,eventid为87,hwi maskoperation self 程序运行之后,看到所有核都会进入gpio中断里,怎么设置只有核0响应中断?在核0的isr里cpu通过emif读取数据,怎么配置edma通过emif读取数据?

2。在6678的数据手册sprs691e里中断拓扑图7-31怎么和后面的表7-32到7-41对应?这些表中没有写清楚哪些是primary events ,secondary events,reserved primary events。

  • 1、

    在cfg脚本文件创建gpio13中断,interruptnum使用11,eventid为87,hwi maskoperation self 程序运行之后,看到所有核都会进入gpio中断里,怎么设置只有核0响应中断

    我看一下再给您回复

    怎么配置edma通过emif读取数据?

    SDK中有edma的例子。

    ti-processor-sdk-rtos-c667x-evm-06.03.00.106-Windows\edma3_lld_2_12_05_30E

    2、

    表7-32中

    21-31, 62-63, 92-95 - Secondary Events

    60-61, 98-99, 111 - Reserved Events

    102-109 - Broadcast Events

    其它是primary events

  • 在cfg脚本文件创建gpio13中断,interruptnum使用11,eventid为87,hwi maskoperation self 程序运行之后,看到所有核都会进入gpio中断里,怎么设置只有核0响应中断?

    试一下在ISR中判断core number是否可行。

    或者使用GPINT0,event 90,这个是专属于core0的。