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.

RTOS/AM5716: Unable to write EDMA_TPCC registers

Part Number: AM5716

Tool/software: TI-RTOS

Hi ,

I am trying to configure EDMA on AM5716, but I was unable to write configuration data to any of EDMA_TPCC register. here are part of my test code:

#define EDMA_3CC_IECR *( unsigned int* )( 0x43302058 )
#define EDMA_3CC_EECR *( unsigned int* )( 0x4330202C )
#define EDMA_3CC_EESR *( unsigned int* )( 0x43302030 )
#define EDMA_3CC_EESRH *( unsigned int* )( 0x43302034 )
#define EDMA_3CC_ICR *( unsigned int* )( 0x43302070 )
#define EDMA_3CC_IPR *( unsigned int* )( 0x43302068 )
#define EDMA_3CC_ECR *( unsigned int* )( 0x43302008 )
#define EDMA_3CC_IESR *( unsigned int* )( 0x43302060 )
#define EDMA_3CC_DRAEM_0 *( unsigned int* )( 0x43300340)
#define EDMA_3CC_DRAEM_1 *( unsigned int* )( 0x43300348 )


// enable shadow region 1 for channel 1, TCC#0, TCC#1

EDMA_3CC_DRAEM_0= 0x0003;

EDMA_3CC_IESR = 0x0003;

EDMA_3CC_EESR =0x0003;

etc...

but I found by emulator that it did not change. I had verified that EDMA_3CC_DRAEM_0= 0X0003, and also EDMA_TPCC_MPPAN_0 = 0xFEEF( have access to region 0 registers).  I also changed the register address to globle address, but I was still unable to write any data into the  those registers. 

Is there anything else I need to do before? did I miss anything?

thanks for your help!

Ron