2029 views|3 replies

931

Posts

3

Resources
The OP
 

【NUCLEO-L552ZE Review】+ Various lighting patterns [Copy link]

The first step of the test is to light up the LED light, which has almost become an unchanging step. I was going to post the lighting and unboxing together, but I encountered the problem of not being able to recognize ST_LINK. I tried every possible way to repeatedly install the drivers I could find, including installing the so-called ST-LINK family bucket, but it was all a nephew holding a lantern to illuminate his uncle. Finally, I searched for a post in the ST32 community. The poster had the same problem and finally solved the problem by upgrading the Keil version. Before this, I also suspected that it might be a problem with the version being too low, because when using CUbeMX to generate the project framework, the option when selecting IDE is V5.27, and it cannot be modified, and I am using V5.25. Today, I downloaded and installed the V5.30 version and checked it again. ST-LINK was clearly visible. It turned out to be a problem with the version being too low.

Version upgraded to V5.30:

Check the download options again, ST-LINK is clearly visible:

After solving the ST-LINK driver burning problem, I encountered a new problem when trying to download:

But I know the cause of the problem, because when I created the first test project, I selected Yes when selecting the safe area. According to the experience of netizens, I should select No (see the figure below). I re-created a test project and it was OK:

Lighting up the LED is a relatively simple problem. I set a global variable, increment it by 1 through the SysTick interrupt handler, and then implement the timing processing in the main loop. The code is as follows:

  while (1)
  {
	  if(ms>499){
	      ms = 0;
		  ledn++;
		  if(ledn>6){
		      ledn = 1;
			  ledm++;
			  if(ledm>2){
			      ledm = 0;
			  }
		  }
		  switch (ledm){
		      case 0:
				  if(ledn%2 == 0)
				      LED_On(0);
				  else
					  LED_Off(0);
				  break;
			  case 1:
				  LED_Off(0);
				  if(ledn > 0)
					  LED_On(ledn);
				  break;
			  case 2:
				  LED_On(0);
				  if(ledn > 0)
					  LED_Off(ledn);
				  break;
			  case 3:
				  break;
			  
		  }
	  }

Here are some pictures from the test:

Here is the recorded animation:

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
 

1942

Posts

2

Resources
2
 

I'm glad to see that my brother finally solved it! Haha

This post is from stm32/stm8

Comments

This model of board was reviewed in the STM32 community at the beginning of the year, so you can refer to the previous netizens' review posts to learn from their experience and avoid detours.   Details Published on 2020-12-17 19:12
 
 

931

Posts

3

Resources
3
 
w494143467 posted on 2020-12-17 16:34 I am very happy to see that my brother finally solved it! Haha

This model of board was reviewed in the STM32 community at the beginning of the year, so you can refer to the previous netizens' review posts to learn from their experience and avoid detours.

This post is from stm32/stm8
 
 

1w

Posts

204

Resources
4
 

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