Other Parts Discussed in Thread: BOOSTXL-DRV8301
Hello,
I'm currently working on Lab01b - InstaSPIN-FOC, following the prescribed lab process for my BLDC motor control project. The BLDC motor is spinning as expected, but I'm encountering difficulties when trying to monitor SVGEN (Space Vector Generation) using the PWMDAC module with an external oscilloscope.
In the file hal.c, the following GPIO pins are being used for DAC configuration:
// DAC1
GPIO_setMode(obj->gpioHandle,GPIO_Number_40,GPIO_40_Mode_EPWM7A);
// DAC2
GPIO_setMode(obj->gpioHandle,GPIO_Number_41,GPIO_41_Mode_EPWM7B);
// DAC3
GPIO_setMode(obj->gpioHandle,GPIO_Number_42,GPIO_42_Mode_EPWM8A);
// DAC4
GPIO_setMode(obj->gpioHandle,GPIO_Number_43,GPIO_43_Mode_EPWM8B);
However, when I refer to pages 9 and 10 of the User's Guide - SPRUI11B - LAUNCHXL-F28069M Overview, I cannot find any mention of GPIO pins 40,41,42 or 43 being associated with the DAC configuration. I have identified that DAC1 and DAC2 are located at J4 pins 32 and 31, respectively. However, I am unsure about the steps and code required to configure these DACs for analog output.
I would greatly appreciate it if someone could clarify this discrepancy and provide guidance on which GPIO pins should be used for DAC configuration on the LAUNCHXL-F28069M board. It's crucial for my project, and I want to ensure that I have accurate information.
And one more question that I have successfully got my BLDC motor to spin using scalar Volts/Hertz (V/f) control. However, I recently watched a TI video titled "Implementing Digital Motor Control," where it was mentioned at the 42nd minute that V/f control is typically used for Induction Motors. I would like to seek clarification on whether scalar V/f control is also suitable and correct for BLDC motors. Can I continue to use open loop control V/f for BLDC motors, or are there alternative control methods that I should consider for better performance? I want to make sure I'm using the most suitable control strategy for my BLDC motor application and would appreciate any insights or guidance on this matter.
Thank you for your expertise and assistance!