Other Parts Discussed in Thread: C2000WARE
|
CPU1 |
DMA trigger |
CPU1 sour |
CPU2 dest |
|
Iu |
EPWM5.SOCA |
&AdcaResultRegs.ADCPPB2RESULT |
GRAMx(cpu1 write, cpu2 read) |
|
Iv |
EPWM5.SOCA |
&AdcbResultRegs.ADCPPB2RESULT |
GRAMx(cpu1 write, cpu2 read) |
|
eQEP1 |
EPWM5.SOCA |
&EQep1Regs.QPOSCNT |
GRAMx(cpu1 write, cpu2 read) |
|
eQEP1 |
EPWM5.SOCA |
&EQep1Regs. QPOSILAT |
GRAMx(cpu1 write, cpu2 read) |
你好,
ADC在EPWM5.SOCA上开始转换,希望在EPWM5.SOCA触发DMA中断,将上述CPU1 AdcaResultRegs.ADCPPB2RESULT和&AdcbResultRegs.ADCPPB2RESULT,EQep1Regs.QPOSCNT,EQep1Regs. QPOSILAT
寄存器中的值传输到共享内容中。DMA应该怎么配置?