Not applicable
Oct 17, 2017
06:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 17, 2017
06:51 AM
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:
The HW signal connections:
PWM output pins:
I tried to start it before entering the while(1) loop without success:
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
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:
The HW signal connections:
PWM output pins:
I tried to start it before entering the while(1) loop without success:
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
Labels
- Labels:
-
ispn:13683:1:0
-
l1:314:1:0
1 Reply
Oct 20, 2017
03:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 20, 2017
03:56 AM
Hello Tom,
I recommend to use the example Code:
BLDC_SCALAR_HALL_XMC44
It has also a documentation:
BLDC_SCALAR_HALL_XMC44_UserGuide.chm
Unfortunately we don't support the BLDC_SCALAR APP anymore.
The BC APP was a lower APP for the BLDC_SCALAR APP.
It is only able to produce the PWM pattern. But the control is missing.
Best Regards
Eric
I recommend to use the example Code:
BLDC_SCALAR_HALL_XMC44
It has also a documentation:
BLDC_SCALAR_HALL_XMC44_UserGuide.chm
Unfortunately we don't support the BLDC_SCALAR APP anymore.
The BC APP was a lower APP for the BLDC_SCALAR APP.
It is only able to produce the PWM pattern. But the control is missing.
Best Regards
Eric