BLDC motor using Infileon Shield help?

forum:
used example code and changed the visible parameters for the infileon TLE9879QXA40 motor shield, motor only jolts,motor used: Turnigy Aerodrive SK3 3530-1460kv Brushless Outrunner Motor using arduino uno & infineon bldc motor shield with 6 poles connected to a 12volt battery or voltage supply in lab.
why? What parameters should i change?

#include "TLE9879_Group.h"                               
// Include the Shield library to your Arduino project
TLE9879_Group *shields;
// Declare Shield group object#                           


void setup()
{
  shields = new TLE9879_Group(1);                         
  //Initialize shield group as object for board 1.
  
  shields->setMode(BEMF);
  //Sets mode to BEMF on board 1.
  
  shields->setMotorSpeed(900);
  //Sets motor speed on board 1.
  
  shields->setParameter(BEMF_POLE_PAIRS,6,BOARD1);
  //Assigns number of pole pairs.
  shields->setParameter(BEMF_SPEED_TEST_ENABLE,1,BOARD1);
 
  
  shields->setMotorMode(START_MOTOR);
  delay(5000);
  
  shields->setMotorMode(STOP_MOTOR);
}

void loop()
{
}

We need more information to help you. Please post your schematic, not a frizzy picture of how you have it connected, include power and ground connections. Also post links to technical information on each of the hardware devices, that way we will be looking at the correct ones. I will let you look up these devices and use my time to help others.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.