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.

CCS/TMS320F28335: ezdsp

Part Number: TMS320F28335


Tool/software: Code Composer Studio

Hello,

1. Can EPWM1A and EPWM1B be set up to have different frequencies, since there is one "EPwm1REG.TBPRD"?

2. Is it possible to set up 4 epwms it 1A, 1B, 2A and 3A with the following action qualifier configurations:  

EPwm1Regs.AQCTLA.all = 0x0060; EPwm1Regs.AQCTLB.all = 0x0600;  //for epwm1a and epwm1b

EPwm2Regs.AQCTLA.all = 0x0120; EPwm3Regs.AQCTLA.all = 0x0840;  //for epwm2a and epwm3a

In short, my question here is, how do I set EPWM1B as the master.

I feel if I just use "EPwm1Regs.TBCTL.bit.SYNCOSEL = 1" there might be a conflict and ePWM1A will be used. By the way, I don't think there is anything like "EPwm1BRegs..."; so, what can be done ?

Ideas/tips will be much appreciated.

*eZdsp - F28335*