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.

TMS320F280025: CBC configuration problems

Part Number: TMS320F280025
Other Parts Discussed in Thread: C2000WARE

Hi Team,

The CBC function of chip 280025 cannot be triggered. There should be a problem with the register configuration, but no specific problem can be found.

Best Regards

James Man

  • Did you look at the CBC example we have?

  • Hello ,

    Thank you for your quick reply.

    I've conveyed it to my customer.

    Have a good day .

    James

  • Thank you!

    C:\ti\c2000\C2000Ware_4_01_00_00\driverlib\f28002x\examples\epwm

    Nima

  • Hi, can I ask you another question? 28034 is transplanted to 280039. The configuration problem of EQep has been determined to be the configuration problem of the register. The ABZ encoder has output signals, but the configuration cannot detect the signal. The following is my configuration code. It has been debugged for several days, please help me ,thank you very much!

    EALLOW;
    (*EQepRegs).QEPCTL.all = 0;
    (*EQepRegs).QDECCTL.all = 0;
    (*EQepRegs).QEPCTL.bit.PCRM = 1;//Position counter reset on the maximum position
    (*EQepRegs).QEPCTL.bit.QPEN = 1;//eQEP position counteris enabled
    (*EQepRegs).QEPCTL.bit.QCLM = 0;//eQEP capture latch mode
    (*EQepRegs).QEPCTL.bit.IEL = 1;//Latches position counter on rising edge of the index signal

    (*EQepRegs).QPOSCTL.all = 0;

    (*EQepRegs).QCAPCTL.all = 0;
    (*EQepRegs).QCAPCTL.bit.CCPS = 2; //CAP时钟周期为DSP_CLK/(2^2)3->2
    (*EQepRegs).QCAPCTL.bit.UPPS = 0;
    (*EQepRegs).QCAPCTL.bit.CEN = 1;// 1->0
    (*EQepRegs).QPOSCNT = 0;
    (*EQepRegs).QPOSMAX = 0xFFFFFFFF;

    (*EQepRegs).QEINT.all = 0;
    (*EQepRegs).QCLR.all = 0x0FFF; //清除中断标志

    (*EQepRegs).QCTMR = 0;
    (*EQepRegs).QEPSTS.bit.COEF = 0;
    (*EQepRegs).QEPSTS.bit.CDEF = 0;
    EDIS;

  • Of course we can definitely help you with this! 

  • Let me connect with our eQEP expert. Is the code above for F28034 or for F28003x?