cancel
Showing results for 
Search instead for 
Did you mean: 

Voltage unit clarification

ANICO.1
Associate III

Dear MCSDK team,

Could you clarify SDK conversion from Volts to s16v.

  • In UM2392 document it says that 1s16v = VMAX / 32768 -> s16v = V * 32768 / VMAX
  • In MC Parameters Calculations document / Current Controllers slide, it says that
    • Gains in V / A are converted to s16v / s16a by dividing by k
    • k is defined like this : k = VBusDC * RShunt * Aop / Vddmicro.
    • so k = s16A / s16V -> s16V = s16a / k
    • with s16a = 65536 * RShunt * Aop / Vddmicro -> s16v = 65536 / VBusDC

Thank you for your help.

Best Regards

Antoine

2 REPLIES 2
Laurent Ca...
Lead II

Dear @ANICO.1​ 

Could you give the reference of the second document?

Anyway, I will clarify this point and update the documentation.

Best regards.

ANICO.1
Associate III

I haven't any reference on this second document. It is a ST slide presentation titled = "MC Parameters calculation". It is marked ST Confidential, so tell me if it is ok to share it here (fully or a screenshot of the part of interest).

Best regards,

Antoine