Skip to main content
AKadi.1
Visitor II
October 13, 2022
Question

I want to know is there any code generator tool for STM8 series. A code generator tool is available but it only generates reports and documents. I need a code generator tool that generates code like the STM32 CubeMX.

  • October 13, 2022
  • 3 replies
  • 1605 views

..

    This topic has been closed for replies.

    3 replies

    Peter BENSCH
    Technical Moderator
    October 13, 2022

    The STM8 have long been out of date and are still produced with coarse structure widths, which makes production hardly profitable. For these and other reasons, it is not really worthwhile to invest further in software for it.

    A much better approach seems to be to switch to STM32, where there are already very inexpensive devices and more will be available soon. You can already look forward to it!

    Good luck!

    Regards

    /Peter

    Kmax18
    Senior II
    October 16, 2022

    No, the STM8CubeMX tool cannot generate code like the STM32CubeMX tool does. As @Peter BENSCH​ already mentioned, STM32 devices are supported by up-to-date tool chain, and alternatives for the STM8 series are becoming available, for example the STM32C0 in January 2023.

    Tesla DeLorean
    Guru
    October 16, 2022

    Probably just need to learn to code, lift or port one of the assorted examples provided with the libraries.

    I'm not sure of ST's long term commitment to the architecture, but there's a 10 year commitment on some, but that may be predicated on specific fab's and test equipment being maintained and available. Migrating on to tighter geometries might be a path to high yielding wafers, but the IO pads might become a larger structure than the primary logic.

    I don't see significant investment in STM8 tools, and free tools pay nobodies bills.

    Unless you have some preexisting designs or reasons to stick with STM8's you might want to look at Cortex-Mx parts, or even RISC-V

    There are some very small foot-print CM0(+) parts in ST's portfolio, but these also have small FLASH/RAM that gets soaked up very quickly with math and float libraries.

    https://www.st.com/en/microcontrollers-microprocessors/stm8-8-bit-mcus.html

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..