请问,使用DMA方式通过XINTF读写外部SRAM,并使能了中断函数。同时使用定时器0的情况下,SRAM读写速度会变得很慢,请问如何解决呢
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.
不大,定时器0里面就做了一个变量自增,而且10s一次定时器0中断。XINTF的DMA中断中,也就做一个标志位置位的动作

https://www.ti.com.cn/cn/lit/ug/sprui07/sprui07.pdf P149 1.6.3.4 The PIE Vector Table
可是读写的时候,我使用的是DMA的中断,并不是XINTF的中断,不在一个组里面
__interrupt void local_dintch2_isr(void)
{
sram_para.read_flag = 1;
PieCtrlRegs.PIEACK.bit.ACK7 = 1;
}
__interrupt void local_dintch3_isr(void)
{
sram_para.write_flag = 1;
PieCtrlRegs.PIEACK.bit.ACK7 = 1;
}
__interrupt void cpu_timer0_isr(void)
{
CpuTimer0.InterruptCount++;
// Acknowledge this interrupt to receive more interrupts from group 1
PieCtrlRegs.PIEACK.all = PIEACK_GROUP1;
}