cancel
Showing results for 
Search instead for 
Did you mean: 

DACs not working on EVLSERVO1

Isaac1
Associate II

Hello,

I am using the EVLSERVO1 board and trying to monitor the DAC outputs with an oscilloscope, since the high-frequency plots in Motor Pilot are difficult to use effectively. I enabled DAC Debug in the FOC Wizard, assigning DAC Out 1 to PA4 and DAC Out 2 to PA5. After doing this, I checked CubeMX and confirmed that these pins are configured correctly.

According to the EVLSERVO1 schematic, it looks like I should be able to connect the oscilloscope probes to pins 8 and 5 on the J2 connector. However, when I select a variable to output to the DACs from within Motor Pilot, I see no signal on the scope, just noise.

Is there anything else I need to configure to get the DAC output working?

Thanks

3 REPLIES 3
cedric H
ST Employee

Hello @Isaac1,

Which version of the MCSDK do you use ?

Regards

Cedric

Hi @cedric H , I am using 6.4.0.

 

Thanks,

Isaac

Gael A
ST Employee

Hello Isaac,

Thank you for your question. Could you please elaborate on the reasons you think the MotorPilot is difficult to use ? We are always looking for any way our tools can be improved and your feedback is important to us.

Concerning your DAC issues, may I know the what kind of variable did you try ? Was it currents, speeds ? Is the behaviour the same every time ? Also, what kind of motor are you trying to run ?
Depending on your answer, know that this may very well be a simple scaling issue.

Let's say for example that your motor is 2Amp rated, and you want to have a look at the currents through the DAC. Knowing the EVLSERVO1 board can measure from -165A to 165A, the DAC output will be very close to 1,65V. (1.65 + 2/330*3.3 =  1.67V)

If you agree with my answer, please consider accepting it by clicking on 'Accept as solution'.

Hope this will help,
Gaël A.