Article count:1120 Read by:2933985

Account Entry

Share | The first STM32L552 development board in life - Development environment

Latest update time:2020-04-27
    Reads:

Original author:

STM32 Chinese Community User Sanjiegou

I have been studying the NUCLEO_L552ZE_Q development board in my hand these two days , but it is not enough to just study the appearance. I also have to run the program and realize certain functions. Before writing the program, I have to configure its development environment first. Next, let's talk about setting up the development environment. Software requirements:

1. STM32CubeMX ( version 5.6.0 or above)

2. MDK -ARM ( V5.17 or above)

3. ST -Link driver






STM32CubeMX




In order to master this microcontroller faster, I plan to start with the firmware library first, and not study the registers for the time being. The STM32L5 series microcontroller uses the HAL peripheral library. At this time, you can use the official development software STM32CubeMX 's graphical operations to quickly build a project. It will automatically include the required files according to your needs, without having to consider which file to add to the project.

0 1
software download

It is worth noting that only by installing version 5.6.0 of STM32CubeMX can the STM32L5 series microcontrollers be supported. The community can currently download version 5.3.0 , so you need to download it from the ST official website. I will post the download address here: STM32CubeMX download, which is convenient for everyone to download. You don’t need to log in, just fill in your name and email address, and the download link will be sent to your email.

0 2
Software Installation

I won’t go into detail about the installation steps. Except for the installation directory, which you can customize according to your own needs, keep all other options as default.

0 3
Package Installation

After installing STM32CubeMX , it is just an empty shell. To generate the project we need, we need to install the corresponding software package. The installation steps are as follows:

It is worth noting that the default installation location of the software package is not in the software installation directory, but in the system disk ( C drive). If you need to modify it, you can refer to the steps below to modify it:





MDK-ARM




I have been using MDK to develop microcontrollers, so I plan to continue using it this time. For specific installation methods, you can search " MDK-ARM installation" on Baidu, and you can find very detailed installation steps. I will not repeat them again. You can download the software from the MDK official website, or from the Baidu download link I provided, with the extraction code: m7kl . The official website download depends on your mood, and the download speed is not very ideal. You can find a way to download from Baidu Netdisk (such as: PanDownload ).

After installing MDK , you also need to install the software support package for the STM32L5 series microcontroller: Keil.STM32L5xx_DFP.1.1.0.pack , which can also be downloaded from the MDK official website. It is also available in my network disk.






ST-Link Driver




The debugger on the NUCLEO-L552ZE-Q development board is ST-Link V2-1 . Since I have been using V2 before , I need to install a newer driver so that the computer can recognize the device. Similarly, the versions that can be downloaded in the community are relatively old. You can download them from the official website. www.st.com Search: stsw-link009, stsw-link007


This is the end of the development environment construction. If everything goes well, the next issue will start the STM32L552 programming journey.



Latest articles about

 
EEWorld WeChat Subscription

 
EEWorld WeChat Service Number

 
AutoDevelopers

About Us Customer Service Contact Information Datasheet Sitemap LatestNews

Room 1530, Zhongguancun MOOC Times Building,Block B, 18 Zhongguancun Street, Haidian District,Beijing, China Tel:(010)82350740 Postcode:100190

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号