I have a problem with how to tigger a dMAX event in 6727B.I use the event[2] and according to the ducoment TMS320C672x DSP Dual Data Movement Accelerator,the event can be trigger by CPU toggling a bit in the register DETR. I follow the example make a rise edge like this:
DETR = 0x00000000;
asm(" nop");
asm(" nop");
asm(" nop");
asm(" nop");
DETR = 0xFFFFFFFF;
asm(" nop");
asm(" nop");
asm(" nop");
Acording to ducoment that rise edge can capture by the DEFR rigister and if i enable the event then the dMAX start.But what found is that there had no changes in the DEFR rigister which is to say the rise edge is not captured by DEFR.So I try to write directly to the DEFR:
*(int*) 0x6000001C=0x00000002;
But the dMAX also don't happen when the event was enabled.What should i do?
PS:I have configed the dMAX Event Entry Table and the Transfer Entry Table.I do this just in computer simulate environment.