Hello,
To check for the end of DMA transfer and to avoid polling on DTCR0 and DTCR1(service provided by the CSL_dmax lib), I try to use the DESR processor register that is supposed to be a mirror of the dmax DTCR0 and DTCR1 registers. But when I read the DESR it is completely different from the current DTCR0 and DTCR1 values.
Assembler DESR read access seems to be correct: MVC .S2 DESR,B4
I have also tried to use the CSL function: CSL_dmaxGetDesr, but I got the same bad result.
To trigger dmax event, the CSL_dmax lib accesses correctly to the DETR processor register.
1- Does someone can explain me, why I did not get the DTCR0 and DTCR1 dmax register values in the DESR processor register?
2- Why does the DESR and DETR registers does not appear in the Core Registers list of the CCStudio emulator?
Thanks,
Lionel
CCStudio
V3.3.82.13
Board: C6727 EVM
Rev1.1
CSL lib: 03_00_09_00
Emulator: XDS560R