What is the part number of the motor you are using and do you have a spec sheet.
Did you change these setting in the program to fit your motor? in you kit manual at section and other sections after that.
5.3.6 Adapting the Example Project to another Motor. Also you as the end user must debug these settings yourself.
yea i have checked both documents ,problem is its not running in closed loop.
i hope some one can give any suggestion
Some debugging suggestions:
#1 Check if the LED2 is blinking at 1Hz.
Now we can use PSoC Creator debugger to find the source of error
#2 Start the debugging
#3 Put breakpoint on the line if(secFlag) line 107 in main.c
#4 Run the debugging
#5 When the motor stops the debugger will reach the breakpoint
#6 Check the value in the variable 'errState'
Post your observations here.
Thanks for the suggestions Jobin.
Actually LED is not blinking that means no error it is in run state but not rotating .
At First motor is running for few seconds later it stops with continuous beep sound without any error no blinking of led.
Am still unable to solve it tried changing all the tuning variables mentioned in the pdf but motor doesn't rotate.
Is there anything in particular which am missing?
Any help would be great
I was never able to get a schematic of the winding for this motor. The board only has four connections and you have 6 or 8 I am not sure as you have not stated that information. So I am asking you how many wires does the motor have?
3phase motor,only three wires