Hello,
I try to get a brushless motor with hall sensors to work.
I use the EVAL-M1-05F804 Evaluation Board and the EVAL-M1-1302 Evaluation Board.
Connected to these is a 24V brushless motor with hall sensors.
The motor is not moving at all.
What apps do I need to get this to work?
Currently I have these:
Attachment 3179
The HW signal connections:
Attachment 3180
PWM output pins:
Attachment 3181
I tried to start it before entering the while(1) loop without success:
Code:
PWM_BC_SetDirection((PWM_BC_t*)&PWM_BC_0,PWM_BC_CLOCKWISE);
PWM_BC_SetPWMFrequency((PWM_BC_t*)&PWM_BC_0,10000);
PWM_BC_Start((PWM_BC_t*)&PWM_BC_0);
But I don't think this is neccessary because it is already set in the PWM_BC Configuration dialogs.
As far as I can see there is no "inverter enable" signal on the driver board, so this is probably not the problem.
What am I missing?
I can't find any example how to do this in DAVE4.
Is there any step-by-step guide howto setup such an application?
I tried the "BLDC_SCALAR_HALL_XMC13" example, but can't get it to work and it does not use the DAVE APPs so I don't know what the APPs do on their own and what code I have to write manually.
Any advice is welcome!
Best regards
Tom