Skip to main content
S.Ma
Principal
January 19, 2019
Question

2019 STM32 Code example wish list

  • January 19, 2019
  • 4 replies
  • 1241 views

Here is an attempt to collect wishes for Cube application code examples:

  • What peripheral(s)
  • What the code should demonstrate functionality in details (and how it can be reused/modified)
  • Should the example runs on a reference board? Any specific HW components to be populated on board?

Let's see....

    This topic has been closed for replies.

    4 replies

    Dave Nadler
    Senior III
    January 20, 2019

    How about a WORKING example for Lwip+FreeRTOS with HTTP server?

    Currently selecting these choices in CubeMX results in:

    • a non-buildable project because fsdata.c is missing (for heavens sake, provide a default/example!!)
    • a non-functioning executable (because there's no LWIP thread started)
    Laurent Co
    ST Employee
    February 11, 2019

    Hi

    The very first goal of this tool is to provide initialization code. To achieve fully functional code, you need to develop your own applicative part or start from functional examples already available in the STM32 MCU Packages (ex: STM32CubeF4).

    We are also working to make these examples directly accessible from CubeMX, which, I think, should answer your need.

    gvigelet
    Associate III
    January 28, 2019

    USB HS Audio v1.0 example on any STM32F7 board would be of great help. Also examples of USB High Speed High Bandwidth (3 1k packets per micro frame) example would be extremely useful so that we can utilize closer to the full potential of the USB HS interface.

    Laurent Co
    ST Employee
    February 5, 2019

    Hello,

    Some elements to fuel the post:

    Our strategy is to offer a significant number of examples covering a maximum of our Silicon IPs and their features

    -         Hardware Abstraction Layer (HAL) based

    -         Low Level (LL) based

    -         Middleware (MW) based

    -         Demo: often a mix of several complex features

    Our projects are compiled with 3 IDEs (Keil, Ewarm, gcc based) – The versions can change over the time.

    Those examples are available into the CubeFirwmware packages, available on your product page of st.com

    In addition, we are in the process to use STM32CubeMX to generate those examples (this is already the case for SMT32G0 product and the new 2019 products will have examples in STM32CubeMX format).

    Any feedback is of course welcome

    Regards,

    Laurent

    KevinA
    Senior
    April 20, 2020

    I have been trying to get QSPI to work but have found no useful example of using the Quad SPI device in the L4xx family except in L496/475 Discovery boards. I'm not using a device that has the kitchen sink, the L412 to L452 all have QSPI devices yet none have examples of QSPI. For every 'device' in a MCU there should be an example regardless of what the device is suppose to be talking to or doing.