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.

DRV8301BoostXL and C2000F28027f launchpad

I would like to know ADC steps for c2000 devices. For example,  TIVA C Series LaunchPad TM4C123GXL the input translated to ADC is a full 4096 steps in the programme.  What about C2000F28027f?

  • Hi,

    For F28027 too its 4096 steps as its a 12-bit one.

    Regards,
    Gautam
  • okay thanks!!
    i know that to change the direction of the speed, i just have to put a negative in front.

    if (( gMotorVars.SpeedRef_krpm ==_IQ(0.09999996462) )
    {
    GPIO_setLow(gpioHandle, GPIO_Number_19);
    gcount1++;
    CurrentState=x;
    gcount=gcount1;


    }
    else if ( gMotorVars.SpeedRef_krpm ==_IQ(-0.09999996462))
    {

    GPIO_setHigh(gpioHandle, GPIO_Number_19);
    gcount1--;
    CurrentState=x;
    gcount=gcount1;

    }
    what if i wanna change my speed not direction in my codes? Not from the scripting console. How can i do that ?