2024-05-01 03:45 AM
Hi all,
I would like to know if the use of the NUCLEO-L031K6 board is compatible with the STM32L021Fx MCU that I intend to use for a project of mine and in general if it is compatible with all the STM32L0x MCUs.
Thank you for any response.
Sisto Zànier
2024-05-01 04:06 AM - edited 2024-05-01 05:55 AM
The NUCLEO-L031K6 board uses an STM32L031K6 chip:
board: https://www.st.com/en/evaluation-tools/nucleo-l031k6.html
chip: https://www.st.com/en/evaluation-tools/nucleo-l031k6.html
For the STM32L021F4, see:
https://www.st.com/en/microcontrollers-microprocessors/stm32l021f4.html
For general information on the STM32L0x family, see:
https://www.st.com/en/microcontrollers-microprocessors/stm32l0-series.html
There you can see that the STM32L031K6 adds a segment LCD driver - which is not available on the L02x (or any other L0 parts). <-- See @Uwe Bonnes correction!
Other features which are common should be compatible - check the datasheets for particular parts to confirm.
2024-05-01 05:48 AM
No, both L021 and L031 are in the access line have have no LCD. L021 has e.g. less RAM. Carefully checking the datasheets is needed/
2024-05-01 06:02 AM
@Uwe Bonnes - ah yes, my mistake! I've updated the post.
@Sisto Zànier - read about the 'Access Line' parts here:
https://www.st.com/en/microcontrollers-microprocessors/stm32l0x1.html
The differences between the family members are in numbers of pins, amounts of memory, and presence/absence of the hardware encryption
I've highlighted your L031K6 and L021F4:
2024-05-01 06:35 AM
Thank you Andrew,
in fact, the specific question is: for the purpose of prototyping the design on Bread Board, and thus before starting the PCB design, is it possible to use NUCLEO-L031K6 even if it mounts an STM32L031, to develop a design that precedes the STM32L021Fx? I ask this because I have not found any NUCLEO board specifically for this MCU.
Thanks again for your attention and quick reply.
Sisto Zànier
2024-05-01 06:36 AM
Okay, but my project is a small instrument, already attually in production with an STM8L151F4 running on battery (CR2450).
It does not use any LCD and the RAM used is less than 1KB. Now, considering that the STM8L family is increasingly difficult to find on the market except at brocker prices, it is necessary to migrate from the current STM8L151F4 to the STM32L021. So my specific question is the one reported as a replay to Andrew.
2024-05-01 06:59 AM
Yes, that should be fine.
Again, check datasheets to be sure.
As you can imagine, there are far too many STM32 variants for ST to produce a Nucleo for every single one - hence they tend to make a Nucleo with the "largest" member of the family - as all the other family members are just subsets of that. The same applies to other manufacturers.
So, as long as you stick within the constraints of the chip you intend to use, you'll be fine.
2024-05-01 07:06 AM
... So, finally, I decided to use the MCU, STM32L011F4U6xx and NUCLEO-L031K6