Skip to main content
Graduate II
November 16, 2023
Solved

Floating point operation with the STM32G0

  • November 16, 2023
  • 1 reply
  • 2807 views

Does the STM32G0 with the CMSIS libraries support floating point operations?

Is the G0 recommended for floating point operation, or should I use the F1 series instead?

Thank you!

    This topic has been closed for replies.
    Best answer by Tesla DeLorean

    Think through the math and the range of numbers at each stage of the computation, perhaps scale or used fixed point representations.

    Get a device that will hold enough of the float library, a 16 KB Flash device is going to be a bit tight to do much, but the G0 and C0 parts come in some larger capacities.

    1 reply

    Graduate II
    November 16, 2023

    The Cortex-M0(+) uses software libraries for floating point, so does the Cortex-M3

    On the M4F some simple operations are facilitated in hardware on the single-precision FPU

    How much math and the precision will determine if 64 MHz operation is sufficient.

    Kmax18Author
    Graduate II
    November 24, 2023

    Thank you. Can you recommend a reference about algorithm implementations with integers only, not floating point?

    Graduate II
    November 25, 2023

    Think through the math and the range of numbers at each stage of the computation, perhaps scale or used fixed point representations.

    Get a device that will hold enough of the float library, a 16 KB Flash device is going to be a bit tight to do much, but the G0 and C0 parts come in some larger capacities.