Hello,
I have appended a Hall-sensor on each phase (U,V,W) on own custom hardware running the pmsm3_4 sample.
This makes it needed to make changes in the f281xileg_vdc driver module so that when the F281X_ileg2_dcbus_drv_read() function is called in the 30Khz motor loop one gets correct values for Ia and Ib. However no matter where in the code I look or what documentation I look in this is discussed as PU units, where I believe at App level I need Amps for Ia and Ib. Can any one advice where to get smart on this and also what to change when calling the F281X_ileg2_dcbus_drv_init() function ?
I can see that there are Gain and offset values for Ia and Ib but not sure how to use that to be able to translate the ADC values from my hall sensores into something use able at APP level (30 KHz motor loop).
I'm using the CSA-1VG-SO to measure the motor phase current on U,V,W.
Description of CSA-1VG-SO can be found here for whom might be interested:

Please advice!
Best Regards,
Kim Jensen.