2023-04-04 08:53 AM - last edited on 2024-11-06 06:30 AM by Andrew Neil
I have some projects I am working on that I'm starting with Nucleo and VL53L5 satel.
The board is too large, so I saw the Blackpill which has F411.
Can anyone tell me please if the F411 will run the same code?
2023-04-04 10:41 AM
F11 ? STM32F411 ?
Run the same code as WHAT?
The Cube and HAL run similar code over a wide selection of STM32 parts. Most is going to need some adaption for variations and pin differences.
Perhaps look also at AdaFruit Feather, Arduino Nano/MKR or SparkFun Thing boards too.
The Nucleo-32 boards are relatively small.
What dimensionally are you looking for?
2023-04-04 10:57 AM
I want to run the same code as the VL53L5 eval board code examples that is included with the Nucleo and X-Nucleo VL53L5 dev boards. Only make a few modifications to the code, but I want to port the code to smaller form. Nucleo is to large to fit the project. Blackpill type does fit. I don't know STM products at all. Looking for a board that will connect to 1 sensors I2C, and stream the data over UART. Maybe receive very limited data over UART.
2023-04-04 12:01 PM
Yes, there are many alternative development boards to Nucleo that you can use for your projects. Some popular alternatives include:
Regarding your specific question about whether the STM32F11 will easily run the same code as the Nucleo board with the VL53L5 sensor, it really depends on the code you have written and the hardware configuration. The STM32F11 is also a 32-bit ARM Cortex-M3 microcontroller, like the STM32F4 used in some Nucleo boards, so it should be capable of running similar code.
However, you will need to ensure that the pins and peripherals on the STM32F11 match those used by the VL53L5 sensor and any other hardware components in your project. Additionally, you may need to modify the code to work with the specific configuration of the STM32F11 board.
Overall, it is certainly possible to use the STM32F11 or other development boards as an alternative to the Nucleo board for your projects, but you will need to carefully consider the hardware and software requirements of your project and make any necessary modifications to ensure compatibility.
2023-04-04 12:41 PM
so if you had nucleoF401 - why not try a "black" F401 board ?
or F411 - if want "more"...
https://www.ebay.de/itm/402598670627
https://de.aliexpress.com/item/4001062944589.html
2023-04-04 01:46 PM
Thanks for all the suggestions! I have ordered F411 Blackpill and we will try it out. Thanks
2023-04-04 07:49 PM
Usually, project needs to be adapted when migrating from one STM32 to another.
When migrating within the same family, most of the peripherals are common (same version), making things rather simple. TOF needs I2C and few IOs, so it's not so taxing. F401 ==> F411 ==> F412 ==> F413 is the memory upgrade path. Or get newer migration path with STM32H5 for a leap forward.