cancel
Showing results for 
Search instead for 
Did you mean: 

Assigning PWM value to ADC input expected as speed input || STEVAL SPIN 3202

arpituee
Associate II

[VERSION]: MCSDK.6.3.0
[TOOL]: ST Motor Pilot V1.2.9
[DETAILS]: BLDC motor, 12V, single pole pair.

 

I want to control the motor via a PWM signal. I am able to send pwm signal through onboard uart pins available from J7 RX/TX pins, into a new variable called P1. Now how do I assign the scaled value acquired from PWM to give to the onboard ADC pin available through TP4 ( variable pin on the onboard potentiometer) . 

1.png

 

0 REPLIES 0