Other Parts Discussed in Thread: DRV8301, HALCOGEN
Hey there,
I am using DRV8301 to drive three phase BLDC motor with the help of the control card TMDXRM48
I have just initialized the GIO and HET driver with the help of HALCogen and overall coding of starting PWM (through pwmStart) and setting the direction of HET pins with the help of[(gioSetDirection(hetPORTA,0xFFFFFFFF)] and by setting the HET pins by using gioSetBit() and by giving delays between the pins AH,BH,CH,AL,BL,CL in a specific sequence,PWM is being appeared on the output of Motor Phase A,B and C . The problem is that when I am connecting the motor the previously generated wave is not being appeared plus RED led which is the FAULT LED is being toggling.
Note: In DRV8301 I have enabled EN_GATE, and providing pwms on PWM_AH,PWM_BH,PWM_CH,PWM_AL,PWM_BL,
PWM_CL and the output is being appeared on GH_A,GH_B,GH_C,GL_A,GL_B,GL_C respectively
after connecting the motor and J4 connector of motor to J4 on DRV8301.
I have not touched any ports other than PWM and EN_GATE,will this be fine?
Do I have to do some more configurations, If yes then please guide which of them?