3149 views|12 replies

931

Posts

3

Resources
The OP
 

【NUCLEO-L552ZE Review】+ Unboxing and Building a Development Platform [Copy link]

 

1. Unboxing

Fortunately, I got the opportunity to evaluate the STM32L552. After receiving the express, I couldn't wait to open the package and start testing. The following figure is the outer packaging of the development board:

The development board is beautifully packaged, just like a big manufacturer. Unpacking the blow-molded box reveals the true appearance of the development board:

The box description clearly marks the pins of the expansion header for easy testing, and there are corresponding pin headers on the back for development testing using Arduino (see the blue part in the expansion pin description in the above picture).

Use USB to connect the power supply to test, the red, blue and green LED lights light up in a cycle:

This post is from stm32/stm8

Latest reply

ST new product NUCLEO-L552ZE-Q (Cortex-M33) Summary post: https://bbs.eeworld.com.cn/thread-1152571-1-1.html   Details Published on 2020-12-21 14:45

赞赏

1

查看全部赞赏

 

931

Posts

3

Resources
2
 

2. Establishment of development platform

Start STM32CubeMX to build a test project. It took some time to wait for the download:

After about ten minutes, I entered the settings interface:

Search for the STM32L552ZE development board from the development board list and double-click it to enter the configuration interface:

Select Yes in the Initialize all peripherals with their default Mode? prompt to use the default peripheral initialization mode:

In the next interface that asked "Do you want to start a new project with TrustZone activated?", I didn't pay attention at first and chose Yes. Later, I read other related posts in other forums and some forum users said I should choose No. I took a quick look and it seemed that this was to set up a security zone, putting important code in a protected area to prevent it from being stolen or attacked:

Then enter the settings interface:

I did a simple setup, enabled I2C, UART, and SPI, and then tried to generate the project framework, but encountered difficulties when upgrading the pack. It was always downloading successfully:

According to past experience, it is usually easier to upgrade the pack package in the morning, so I gave up for the time being and tried to compile the test code first.

The first thing to test is of course the LED on and off. There are three LEDs, red, blue and green, on the development board for testing. From the chip diagram of STM32CubeMX, we can find the corresponding pins:

LED_RAD PA9
LED_BLU PB7
LED_GRE PC7
USER_KEY PC13

So I wrote a code that used three different ways to cycle through the LEDs. The code compiled successfully, but when I was ready to download it, I ran into a problem - I couldn't connect to the ST-LINK:

I checked the Debug tab, but there is no ST-Link option in the drop-down menu. However, I can download it normally in my other projects. Could it be that different development boards have different ST-LInk drivers and need to be installed separately?

This post is from stm32/stm8
 
 

931

Posts

3

Resources
3
 

3. Installation of ST-Link driver failed

This morning I woke up at 6am and turned on my computer to upgrade the pack, but it still failed to download. Three device upgrades were not completed:

I searched for related posts on multiple forums and found that some forum users had the same problem as me, but I don't know how they solved it in the end. I also downloaded the driver uploaded by the forum user and installed it:

Although the installation is successful, there is still no ST-LINK option in KEIL:

At this point, the review is stuck here. It seems that the three device packs need to be upgraded before continuing the review.

This post is from stm32/stm8
 
 

1942

Posts

2

Resources
4
 

This is your evaluation from 0 to 1, not bad!

This post is from stm32/stm8

Comments

Thank you for the compliment, but the ST-LINK driver problem has not been solved yet, and I cannot download the burning program yet.  Details Published on 2020-12-16 15:45
 
 
 

931

Posts

3

Resources
5
 
w494143467 posted on 2020-12-16 13:14 This is a review from 0 to 1, not bad!

Thank you for the compliment, but the ST-LINK driver problem has not been solved yet, and I cannot download the burning program yet.

This post is from stm32/stm8

Comments

I think it is related to Keil. I'm looking for the problem in this area. Is it because the project does not load this STlink?   Details Published on 2020-12-16 16:38
 
 
 

1942

Posts

2

Resources
6
 
hujj posted on 2020-12-16 15:45 Thank you for the compliment, but the ST-LINK driver problem has not been solved yet, and the burning program cannot be downloaded yet.

I think it is related to Keil. I'm looking for the problem in this area. Is it because the project does not load this STlink?

This post is from stm32/stm8

Comments

There are two possible reasons: one is that Keil still has 3 device packs that have not been upgraded; the other is that my Keil version is 5.25, but STM32CubeMX shows 5.27 when I set it up. I am preparing to upgrade Keil and try again.  Details Published on 2020-12-16 17:24
 
 
 

931

Posts

3

Resources
7
 
w494143467 posted on 2020-12-16 16:38 It seems to be related to Keil. Look for problems in this regard. Is it because the project does not load this STlink?

There are two possible reasons: one is that Keil still has 3 device packs that have not been upgraded; the other is that my Keil version is 5.25, but STM32CubeMX shows 5.27 when I set it up. I am preparing to upgrade Keil and try again.

This post is from stm32/stm8

Comments

You can use CubeMX to generate Keil program V5.0 without upgrading Keil  Details Published on 2020-12-16 18:54
 
 
 

1942

Posts

2

Resources
8
 
hujj posted on 2020-12-16 17:24 Now I guess there are two possible reasons: one is that Keil still has 3 device packs that have not been upgraded; the other is my Keil version...

You can use CubeMX to generate Keil program V5.0 without upgrading Keil

This post is from stm32/stm8

Comments

I have thought about this, but there is only option V5.27 in CubeMX, and it cannot be modified.  Details Published on 2020-12-17 09:19
 
 
 

931

Posts

3

Resources
9
 
w494143467 posted on 2020-12-16 18:54 You can use CubeMX to generate Keil program V5.0 without upgrading Keil

I have thought about this, but there is only option V5.27 in CubeMX, and it cannot be modified.

This post is from stm32/stm8
 
 
 

931

Posts

3

Resources
10
 
This post was last edited by hujj on 2020-12-17 14:40

It turned out to be a version problem. After downloading and installing Keil V5.30, I was able to connect to ST_LINK and download and burn normally.

This post is from stm32/stm8
 
 
 

931

Posts

3

Resources
11
 

However, when creating a project with CubeMX, be sure to select No when selecting the safe area (as shown below):

Otherwise an error will occur during downloading:

This post is from stm32/stm8
 
 
 

7462

Posts

2

Resources
12
 

Thanks for sharing!

This post is from stm32/stm8
 
Personal signature

默认摸鱼,再摸鱼。2022、9、28

 
 

1w

Posts

204

Resources
13
 

ST new product NUCLEO-L552ZE-Q (Cortex-M33)

Summary post: https://bbs.eeworld.com.cn/thread-1152571-1-1.html

This post is from stm32/stm8
Add and join groups EEWorld service account EEWorld subscription account Automotive development circle
 
Personal signature

玩板看这里:

https://bbs.eeworld.com.cn/elecplay.html

EEWorld测评频道众多好板等你来玩,还可以来频道许愿树许愿说说你想要玩的板子,我们都在努力为大家实现!

 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list