Install System Workbench for ST Nucleo

From wiki.ferrari.mo.it
Revision as of 20:23, 20 April 2020 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Download

Register on the https://www.st.com/ website and search for STM32CubeMX.

Download the file en.st-stm32cubeide_1.3.0_5720_20200220_1053_x86_64.exe.zip (at the time of the tutorial) and extract the executable.

Install following the instructions.

Note 20/04/2020: you don't need anymore the open source System Workbench, only the STM32CubeMX. If you installed System Workbench before, at some time it will ask you to update the driver in order to see the board. You should see it in "Your Computer" and be able to drag and drop the .bin file from the IDE to the device.

Creating a new project

Start STM32CubeMX. Go to File -> New -> New STM32 Project

Go to the Board Selection tab, and select Nucleo-L432KC.

It's good to enable FreeRTOS. So activate it in Middleware -> FREERTOS .

Then, go to System Core -> SYS, and select TIM6 as Timebase Source.