infineon4engineers Facebook

infineon@google+ Google+

infineon@linkedin linkedin

infineon4engi@twitter twitter

infineon@youtube youtube

+ Reply to Thread
Results 1 to 2 of 2

Thread: How to setup a Brushless Motor Project in DAVE4 ?

  1. #1
    New Member New Member tomie is on a distinguished road
    Join Date
    Oct 2017
    Posts
    1
    Points
    15

    How to setup a Brushless Motor Project in DAVE4 ?

    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:
    Click image for larger version

Name:	Dave_1.PNG
Views:	8
Size:	16.3 KB
ID:	3179

    The HW signal connections:
    Click image for larger version

Name:	Dave_2.PNG
Views:	9
Size:	60.6 KB
ID:	3180

    PWM output pins:
    Click image for larger version

Name:	Dave_3.PNG
Views:	0
Size:	23.9 KB
ID:	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

  2. #2
    New Member New Member
    Infineon Employee
    Infineon Employee
    Eric is on a distinguished road
    Join Date
    Mar 2013
    Posts
    65
    Points
    149.04296875

    BLDC Example Code

    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
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

+ Reply to Thread

Tags for this Thread

Disclaimer

All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.


Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.


Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.