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.

Question TMS320C6727B: DESR register does not contain a mirror of dMAX DTCR0 and DTCR1.

Other Parts Discussed in Thread: CCSTUDIO, SPRC203

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

  • Hello,

    1- OK, I've solved the DESR problem by applying the sprc203 patch, now the DESR is the correct mirror of the DTCR0 and DTCR1... I should begin with that...

    2- Still the question, why DESR and DETR registers do not appear in the Core Registers list of the CCStudio emulator?

    Lionel