6077 views|8 replies

131

Posts

2

Resources
The OP
 

[NUCLEO-L4R5ZI Review]——Unboxing Experience [Copy link]

This post was last edited by Veiko on 2018-1-2 18:35
1. Unboxing&Product display&Overall experience
Picture1 Front packaging photo
Picture2 NUCLEO-64 I am very happy to receive the STM32L4R5 Nucleo-144 board sent by eeworld on New Year's Day (I silently thought that this is a New Year's Day gift from the forum ten times). After opening the layers of protective packaging, the naked board as shown in the picture above appeared in front of me. It still looks as simple and elegant as Nucleo-64 (in fact, some units have been added, such as the User_USB interface). NUCLEO-144 looks more elegant overall, and because it continues NUCLEO's consistent "short-circuit" style, it is quite flexible to use. To test different functions, you only need to use a 0Ω resistor to short-circuit the corresponding jumper or directly solder it. One of the more user-friendly aspects of NUCLEO product packaging is that, at the bottom of each package is a resource introduction (2MBytes of Flash...2MBytes of Flash...2MBytes of Flash; 640Kbytes of SRAM...640Kbytes of SRAM...640Kbytes of SRAM...; important resources are mentioned three times) ,The board we received this time is no exception.,The left side of the above picture has given a brief description of the resources of the board.,After disassembling the development board, I found that the part covered by the development board was the pin distribution diagram of the board.,In this way, when developing, you don’t need to turn the board over again, you can just look at this picture.:
Figure3 NUCLEO-144Pin distribution diagram
At the same time, turn the paper over, and the back also explains the brief process of starting to use the development board and the resource reference website,It can be said that it can basically allow people with a certain embedded foundation to "foolishly" start learning or using it.
Figure4 Instructions for use of the development board
As far as I can remember, all the previous NUCLEO development boards used the Mini-USB interface. Although it is very convenient now, all the smart phones (Android) now use the Micro-USB interface. And the NUCLEO development board is not equipped with a USB cable.So users have to prepare their own Mini-USB cables. This change seems to be in line with the expectations of most "ordinary young people" - I have an Android phone data cable, and my development board must have a Micro-USB interface. And the selection of Micro-USB materials is also very particular, showing the differences in details among major manufacturers.
2. Detailed introduction of onboard resources
3. Simple power-on test
For those who have used NUCLEO development boards before, this is not difficult. You only need to install the corresponding driver (ST-Link V2-1 driver) is enough. At the same time, if you want to use the virtual serial interface, it is best to install the virtual serial driver in advance. Then you only need an Android mobile phone data cable to connect the development board to your computer for program download and simulation. The project development using NUCLEO-144 will be described in detail in the following posts (including the test of the low power consumption part). Here we will only perform a simple power-on test. The board has a flashing light program by default. After connecting with the Android data cable, the status of the entire development board is as follows:
nucleo-l4r5zi_sch_pcb.zip (3.3 MB, downloads: 29, 售价: 1 分芯积分)
USBLC6-2SC6资料.txt (1.05 KB, downloads: 4, 售价: 1 分芯积分)
Thank you eworld again for allowing me to complete the first step of the plan on New Year's Day. This year I will be tossed by MCU again; Now I have completed the first step of the plan when applying, and the subsequent project development and testing plan will be completed in about 3 weeks. Thank you !
This post is from stm32/stm8

Latest reply

Happy New Year, New Year and New Look  Details Published on 2018-1-1 22:58
Personal signature每个人心中都一片待开发的天空!
 

131

Posts

2

Resources
From 7
 
This post was last edited by Veiko on 2018-1-5 19:23 Sleep mode test: Use 3.3V to power the chip. The connections on the board to be disconnected are: SB131,SB130,SB172, R40,R39,SB134,SB135,SB142,SB143,SB197,JP4,SB132,SB124: All unused pins are set as analog inputs to reduce power consumption:
Figure 1 Pin configuration when Cube generates code
Actual measurement result: 522.7uA@3.3V@SYS_CLK=4MHz in sleep mode:
Code: power.7z (3.79 MB, downloads: 1, 售价: 1 分芯积分)
SleepMode:263uA @ 3.3V @ SYS_CLK=100K
Project files: power sys_clk=100k.7z (7.58 MB, downloads: 1, 售价: 1 分芯积分)
StopMode_0: SYS_CLK=4MHz,VDD=3.3V,I=236uA
  1. int main(void) { LL_Init(); SystemClock_Config(); MX_GPIO_Init(); /* USER CODE BEGIN 2 */ SCB->SCR |= 0x04; PWR->CR1 &= ~(0x00000007ul); //PWR->CR1 |= 0x01; while (1) { __WFI(); } }
复制代码
In fact, the current is only about 235.5uA (the actual value measured by the three jumper caps used for simulation is taken later)!!! StopMode_1: SYS_CLK=4MHz,VDD=3.3V,I=82.5uA int main(void){ LL_Init(); SystemClock_Config(); MX_GPIO_Init(); /* USER CODE BEGIN 2 */ SCB->SCR |= 0x04; PWR->CR1 &= ~(0x00000006ul); PWR->CR1 |= 0x01; while (1) { __WFI(); } }[/code]
StopMode_2:SYS_CLK=4MHz,VDD=3.3V,I=2.84uA
  1. int main(void) { LL_Init(); SystemClock_Config(); MX_GPIO_Init(); /* USER CODE BEGIN 2 */ SCB->SCR |= 0x04; PWR->CR1 &= ~(0x00000005ul); PWR->CR1 |= 0x02; while (1) { __WFI(); } }
复制代码
StandbyMode:SYS_CLK=4MHz,VDD=3.3V,I=0.145uA
  1. int main(void) { LL_Init(); SystemClock_Config(); MX_GPIO_Init(); /* USER CODE BEGIN 2 */ SCB->SCR |= 0x04; PWR->CR1 &= ~(0x00000004ul); PWR->CR1 |= 0x03; while (1) { __WFI(); } }
复制代码
My multimeter is too inferior. I am afraid that the error will be too big if I measure lower value, which will mislead everyone. So I will not continue to measure in shutdown mode. But from the above results, it can be seen that it is basically consistent with the description in ST manual. Therefore, we can conclude that ST's L4+ is too powerful. People with weak heart can use it a lot. It will make you feel better all of a sudden,Finally, I will upload a chip manual. Everyone can go to Section 6.3.5 to see the test parameter indicators related to energy consumption. It is very good!!! 【芯片手册】STM32L4R5ZI.pdf (5.52 MB, downloads: 25)





This post is from stm32/stm8
 
Personal signature每个人心中都一片待开发的天空!
 

131

Posts

2

Resources
From 8
 
This post was last edited by Veiko on 2018-1-8 18:08 USB Example [JoyStickMouse] Step 1: Modify the circuit jumper According to the schematic diagram, when the USB interface is the device end, remove SB198 and SB200, and connect them to SB199 and SB201. See the figure below for details: In the past, it was convenient to use the USB library provided by ST to develop USB. Today I found out that there is a more convenient one. Cube integrates the USB library. For STM32L4R5, there are Host and Device libraries. Here is a demonstration of the function of JoyStickMouse. Basically, all the codes are generated by clicking in Cube, and then the main loop is slightly modified (USB status judgment and data sending are added) and it will be OK: UM1734 - STM32Cube USB device library.pdf (1.14 MB, downloads: 0, 售价: 1 分芯积分) USB_HID(JoyStickMouse).7z (3.81 MB, downloads: 1, 售价: 1 分芯积分) Of course, for STM32 series chips with USB interface, the USB function is quite powerful, with many endpoints. The routine only has EP0RX, EP0TX, and EP1. If necessary, you can make a USB composite device (such as 2 or 3 USB to serial/USB mouse + USB keyboard + USB to serial). I won’t go into more details here, and there are more than a dozen materials from predecessors on the Internet. . .

This post is from stm32/stm8
 
Personal signature每个人心中都一片待开发的天空!
 

131

Posts

2

Resources
From 9
 
It has been a while since I updated. Today I updated a relatively simple program: the routine of using I2C1 of STM32L4R5ZI to read and write AT24C08 through DMA. The pins are PG13 and PG14. Since the PG port is used, VDDIO2 must be turned on. Please refer to the reference manual of STM32L4R5ZI and the LL library instructions for operation. For details, you can also see the code of my I2C initialization part. Another thing to pay attention to is the initialization of DMA. When initializing DMA1 of l4R5, not only the peripheral clock of DMA1 must be turned on, but also the DMAMUX1 clock must be turned on. I won’t say much. The car is about to start, so get in the car quickly. The code was written in a hurry, mainly to realize the function. There may be a small part of redundant code. Please check it yourself. Anyway, there is no problem with the function. It is very useful: sexy: stm32l4r5读写AT24c08(DMA方式).7z (3.8 MB, downloads: 7)
This post is from stm32/stm8
 
Personal signature每个人心中都一片待开发的天空!
 
 

131

Posts

2

Resources
2
 
This post was last edited by Veiko on 2018-1-4 11:43 Example: (1) SPI slave data transmission (Keil 5 project) STM32L5R5ZI_SPI1_Slave_Send.7z (3.79 MB, downloads: 3, 售价: 1 分芯积分)
This post is from stm32/stm8
 
Personal signature每个人心中都一片待开发的天空!
 
 

131

Posts

2

Resources
3
 
Building project release
This post is from stm32/stm8
 
Personal signature每个人心中都一片待开发的天空!
 
 

131

Posts

2

Resources
4
 
This post was last edited by Veiko on 2018-1-2 09:22 Summary: lol
This post is from stm32/stm8
 
Personal signature每个人心中都一片待开发的天空!
 
 

2774

Posts

8

Resources
5
 
Happy New Year, New Year and New Look
This post is from stm32/stm8

Comments

Thank you, and have fun together!  Details Published on 2018-1-2 09:34
 
 
 

131

Posts

2

Resources
6
 
strong161 posted on 2018-1-1 22:58 Happy New Year, a new year and a new atmosphere
Thank you, and have fun together!
This post is from stm32/stm8
 
Personal signature每个人心中都一片待开发的天空!
 
 

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