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.
Hello, does anyone work with the Motor Control and PFC Developer's Kit with two brushless DC motors (TMDS2MTRPFCKIT) and the F28035 microcontroller (piccolo series)? I want to use the hallsensors in the motors but I can't read correct values in the associated GPIO register. Running the example code for controlling two motors, it's possible to read the signals of the hallsensors in the GPIO registers. So I reduced the example code and discovered that the pulse width modlulation (PWM) unit is involved. Then I compared the example code with my own reduced code and discovered that the update function of PWM unit is different. So the update function is probably the cause for the error. Is there any connection between the signals of the pins within the GPIO Port A which is used by the PWM unit and used for reading the hall signals?
I would be thankful for any helps.
Best regards
Friedrich Muhs
we just did a new release of this (for CCSv3.3 and CCSv4.x ti.com/controlsuite ) which adds in an optional sensor for speed loop tuning. We use the QEP peripheral on this kit. If you want an example of using the Hall Capture you can look at /controlsuite and the HVKit BLDC Sensored project.
What code are you using? Did you create your own Hall driver?
Couple of items you need to take care of:
- The hall cct output installed in the Motor Control and PFC Developer's Kit BLDC motors need to be supported by pull up resistors, typically 4-10K ohm, which are not available on the board. This will help to get rid of the jitters of hall cct output pulses.
-Make sure that the related GPIO are enabled and configured as input in ...Dev-Init.c file.
Regards