Other Parts Discussed in Thread: CONTROLSUITE, TMS320F28335
Hi
I am trying to setup DMA for ePWM. I have already set it up for ADC and it was okay. However, It seems it does not work for ePWM. Even the example in ControlSUITE does not work. I checked the example, line by line, and the code seems to be okay. The problem I encounter to is that when MAPEPWM bit is set, ePWM registers won't be programmed and remain in their reset status. Not the original registers nor the mirror ones. Also, The "DmaRegs.CH2.DST_ADDR_SHADOW = (Uint32) &EPwm1Regs.CMPA.all" code returns the address of 0x6808 which is the address of the original ePWM register in PF1 and not the address of mirror ones in PF3.
I am using TMS320F28335 (silicon revision 1) and CCS v5.3. I wonder if anybody has had the same problem or knows the remedy.
Thank u.