3 years, 7 months ago.

Will this platform also work for STM32L031

I have just received my STM32L031 and want to start working on it only to find out that there is no corresponding platform. However it clearly states mbed-enabled on the ST site and product package. Since the part numbers are so close together can I just use the F031K6 platform?

And if so doesn't that mean that only 4KB SRAM is supported like for the F031K6, instead of the 8KB for the L031K6. Also since the L is intended for low power applications, does using the F platform result in higher power consumption e.g. in deepsleep?

Question relating to:

Affordable and flexible platform to ease prototyping using a STM32F031K6T6 microcontroller.
Comment on this question

5 Answers

3 years, 7 months ago.

There is a Pull Request on GitHub for the Nucleo_L031K6 platform. It will arrive soon on mbed IDE.

Is there somewhere news like this is announced? I wish I had known that the L031K6 platform was so close, I just ordered last week prototypes which were based on the F031K6 platform.

posted by Krzysztof Sitko 23 Apr 2016

Always ask a question on Mbed, there may be several in the pipeline at any time, STM will advise.

posted by Paul Staron 27 Apr 2016
2 years, 8 months ago.

It would be interesting when this issue will be fixed. i still want to use mbed on my STM32L031

After disconnecting and reconnecting it is now working properly. thanks alot!

posted by Robert Träger 17 Mar 2017
3 years, 7 months ago.

In the first place it depends on what you want to do will decide the platform to choose, speed, low power, functions or a combination.

I would suggest trying this platform, it may work, same speed, RAM and same family. Some integrated peripherals may not have a library to use. Also the maximum Flash you can compile for your board is 32K. And yes the F series are not low power like the L series. No harm in trying.

https://developer.mbed.org/platforms/ST-Nucleo-L053R8/

3 years, 7 months ago.

Until ST releases the build package for the L031 into mbed then you might have some issues. However, if you are intermediate or advanced level then you can import mbed-dev and edit the F031 files there to have the L031 pins/memory/etc. You will have to still call it an F031 to use the web interface but your local edits will be compiled in instead.

Post back if you need more help with that...

3 years, 7 months ago.

How can ST advertise with "mbed enabled" when it's not?

Hardware and software are produced separately, there will be times where there are 'gaps'. If it has "Mbed enable" then it will be in the near future. Check on the platforms page first then ask the question on Mbed before ordering. Quit often platform hardware will be available but the software is still being debugged before being available.

posted by Paul Staron 27 Apr 2016