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.

Position and speed generation from Hall signals using piccolo microcontroller

Other Parts Discussed in Thread: CONTROLSUITE

Hi:

can any one please provide me algorithm to generate position and speed from Hall signals either by using GPIO's or eCAP's. i have configured GPIO24(eCAP1), GPIO25(eCAP2), GPIO26(eCAP3) as HallA, B and C signal. Motor being used has a top speed of 6000RPM, base speed of 2500RPM and 8 poles. i do not find any code in controlsuite for hall based position sensing, most of the files are encoder based or sensorless. 

Regards,

MALA GOWDA

  • Mala,

    The following example (and documentation) in controlSUITE should be hall sensor based (using GPIOs) with the F28035 MCU:
    \controlSUITE\development_kits\HVMotorCtrl+PfcKit_v2.0\HVBLDC_Sensored\

    As you mention the eCAP peripheral could be used to determine state changes as well.

    Good luck in your project.


    Thank you,
    Brett