This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Q Format and P.U values

Other Parts Discussed in Thread: TMS320F28062, CONTROLSUITE

Hi:

What is the Q format followed with TMS320F28062 piccolo controller selection. how do i know whether fixed point format is enabled or floating point and how to determine the P.u Values based on motor parameters like Ke=28mV/RPM and R=2mOhm.

Regards,

MALA

  • MALA D M said:
    What is the Q format followed with TMS320F28062 piccolo controller selection.

    There is an IQmath library in controlSUITE that supports all of the 28x devices.   You can select the Q value as needed by your application.

    C:\ti\controlSUITE\libs\math\IQmath\

    MALA D M said:
    how do i know whether fixed point format is enabled or floating point

    The 2806x family supports both IQmath as well as floating-point.   Which it uses depends on how you write your code and how it is compiled and which library is used:

    • IQmath.lib: This build of the library can be linked with code built for fixed-point.
    • IQmath_f32.lib: This build of the library can be linked with code built with the --float_support=fpu32 switch. This can be useful for mixing IQmath with native floating-point code on devices with the C28x+FPU like the 2806x family

    .  The IQmath documentation has a mention of mixing IQmath and native 32-bit float if needed.

    -Lori