infineon4engineers Facebook

infineon@google+ Google+

infineon@linkedin linkedin

infineon4engi@twitter twitter

infineon@youtube youtube

+ Reply to Thread
Results 1 to 2 of 2

Thread: Brushless Motor Project in DAVE4

  1. #1
    New Member New Member AdamDevis is on a distinguished road
    Join Date
    May 2018

    Brushless Motor Project in DAVE4

    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_CL OCKWISE);
    PWM_BC_SetPWMFrequency((PWM_BC_t*)&PWM_BC_0,10000) ;
    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!
    Khi tham gia vao thi truong BĐS, nhung phan khuc khac nhau se dem den nhung co hoi va thach thuc khac nhau. mot trong so do la hoat dong mua ban nha dat. Khi co nhu cau ban nha, viec ban can lam khong chi don gian la dang thong tin, hinh anh can thiet va ban. Trong thoi dai thong tin phu song, de batn duoc mot ngoi nha voi gia cao nhung van lam vua lam vua long nguoi mua la mot dieu khong de dang gi. Lien he voi chung toi de co duoc nhung kinh nghiem can thiet khi ban nha.

  2. #2

    Infineon Employee
    Infineon Employee
    Mike is on a distinguished road
    Join Date
    Nov 2011
    Hi Adam,
    The easiest way to start is to use the BLDC_SCALAR_HALL_XMC13_uCProbe example project and then configure MOTOR0_BLDC_SCALAR_BOARD to KIT_CUSTOM and the MOTOR0_BLDC_SCALAR_MOTOR to MOTOR_CUSTOM and then adjust the board and motor settings to match your kit and motor. The PWM_BC APP just does PWM and it will require a lot of user code to handle the Hall sensors and motor control.
    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

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.