Hello
I want to use the potentiometer located in the kit :DRV8301-HC-C2-KIT as a reference current in the level 6
Please can you help me to be able to introduce this control in this Level program.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello
I want to use the potentiometer located in the kit :DRV8301-HC-C2-KIT as a reference current in the level 6
Please can you help me to be able to introduce this control in this Level program.
Hi Lamari,
Yes, this could work. Taking EN_GATE = LOW will disable the gate driver.
Hello Nicholas
I used the EN_GATE and the STOP button located on the KIT-DRV8301 as follows:
if(GpioDataRegs.GPADAT.bit.GPIO7==0)
{
GpioDataRegs.GPBCLEAR.bit.GPIO39 = 1;
}
if I press the STOP button the motor stops, but by releasing the button, the engine is always stopped, it is a problem for me, I want the engine running after loosening the stop boutton.
I did the same with the Enable FLAG:
if(GpioDataRegs.GPADAT.bit.GPIO7==0)
{
EnableFlag = 0;
}
it works, but it's the same problem, by releasing the button, the EnableFlag always remains at 0.