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.

CCS/DRV8301: DRV8301-LS-12 KIT TMS570LS1227 USING POT TO CONTROL SPEED

Part Number: DRV8301
Other Parts Discussed in Thread: TMS570LS1227

Tool/software: Code Composer Studio

Hi,

I will use DRV8301-LS12-KIT in order to fly my drone. I am learning this device ,however ,i have some issues. I can't control the speed of motor by changing potentiometer on the board. I did not write the codes that I have used for running motor. I am beginner about MCU and control them. Can anybode help me?

Thank you

  • Hi Yusuf,

    Typically when a potentiometer is included on a evaluation board, the potentiometer is routed to an ADC on the MCU to convert that analog voltage into a duty cycle for the PWM signals. Motor speed is related to the PWM duty cycle of the control signals to the DRV8301, so the higher the voltage is on the potentiometer, the higher the duty cycle is, and the faster the motor should spin.

    I am looking to determine how the potentiometer is routed on a similar kit and where its routed to on the MCU. It should be routed to an ADC and you will have to either write firmware to convert that into a duty cycle or find an example for the MCU used on the Control card. This is an old kit so I am currently looking for the design files and will get you more info on the potentiometer later this week. 

  • Hi Yusuf,

    I cannot find the necessary design files for this kit since it is an old kit. Let me know if you are still in need of confirming the routing of the pot on the board.

    I am forwarding this thread to the Sitara team to assist with you firmware for translating a pot ADC voltage to a PWM duty cycle output to control motor speed on TMS570LS1227.