EVSPIN32F02Q1S1 Incorrect Current Sense Gain on MC Workbench
Hi there,
I am having issues spinning a BLDC motor using the EVSPIN32F02Q1S1 development kit, and after searching through the data brief and cross referencing the schematics with the values populated in MC Workbench, I found a discrepancy in the current sense gain.
In the image taken below of the Current Sensing tab from MC Workbench, the current sense gain is hardcoded to 3.33, and it cannot be changed. I am using MC Workbench version 6.1.2, and have imported the EVSPIN32F02Q1S1 board settings from MC Workbench.

In this next image, taken from page 4 of the EVSPIN32F02Q1S1 databrief, if I am understanding correctly, the gain is simply the non-inverting op amp gain of 10k/3k+1 = 4.33, so it seems like MC workbench forgot to account for the +1.

I tried manually going into the .ioc file and changing the gain to 4.33 but that didn't solve my issue, so I am still testing out other things to get the motor spinning, which I will likely make a separate post for if I am unsuccessful. Is this gain discrepancy a bug in MC Workbench?


