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.

TMS320F28035: Configure the eQEP module

Part Number: TMS320F28035
Other Parts Discussed in Thread: CONTROLSUITE

Dear team:

I’m using F28035/DRV8301-HC-C2-KIT and demo code [PM_Sensorless] in controlSUITE with motor field oriented control. The motor I’m using is equipped with two encoder output(A&B) and three hall output, but didn’t have index pulse output. So I use one of the three hall output as periodical index pulse and two encoder output to feed the eQEP module of F28035 MCU. I expected that the position count of the eQEP module would reset to zero at the rising edge of index pulse and to max count at the falling edge so that I can get the right absolute position info of the rotor to apply FOC. The problem is that the position count would reset at both rising/falling edge of the index pulse, thus causing some mistake in acquiring the position info. How can I configure the eQEP module to get what I wanted?

Best regards

  • K.K,

    I am not sure why you want to set to 0 on the rising edge and then load the max on the falling edge. Generally the index pulse will indicate a zero or 'home' condition of the encoder. the A/B inputs will increment/decrement the counter in relation to this index. can you share your EQEP initialization code? A signal diagram of your A/B/I signals would help as well.

    Thanks,
    Mark
  • Hi K.K ,

    I haven’t heard from you for a few weeks, so I’m assuming you were able to resolve your issue. If this isn’t the case, please reject this resolution or reply to this thread. If this thread locks, please make a new thread describing the current status of your issue.

    Thanks,
    Mark