📜 ⬆️ ⬇️

An overview of the ST Nucleo developer platform using the example of Nucleo-F401RE

ST Nucleo evaluation boards:

image

It is an open, inexpensive and easily expandable debugging development platform with a wide choice of special expansion cards for the entire line of 32-bit STM32 microcontrollers of the ARM Cortex-M3 and Cortex-M4 architecture.
')
image

«ST Nucleo» boards allow you to choose from various combinations of performance, power consumption, and architectural features of the microcontroller. The platform allows you to quickly, conveniently and easily explore the features of the architecture and programming of the microcontroller, test your ideas, create prototypes with any microcontroller of the STM32 family.

image

The platform board is divided into two parts, the programmer and the evaluation board. If desired, the user can cut the board that does not affect the functionality of the platform.

The STlink-v2.1 programmer has a SWD connector on CN4 pins (see picture above), which allows you to use the programmer regardless of the evaluation board for all STM32 MKs, for this it is enough to disconnect the board from the programmer by the microcontroller by removing the jumpers from the CN2 pin and in order not to to lose, they can be put on the GND CN11 and GND CN12 pins, the ground pins, which in turn on the back of the board are already wearing spare jumpers. It is worth noting that STLink version 2.1 is implemented on the platform. As in version 2.0, in addition to the SWD (CN4) debug programming port, virtual COM -> Usart (CN3) has the feature of defining as default Flash media, which is a very useful option for newbies. that can program the microcontroller by sending a binary firmware file (in this firmware version, not more than 20Kb) to this carrier, for example, in an online development environment such as Mbed. Also, the programmer has a separate Usart connector (CN3 connector, RX and TX pins), which is unfairly missed out of the public view, realizing data exchange with a PC via virtual COM, which saves money on a separate device such as the CP2102, which costs about 300 rubles separately. shipping cost of the Nucleo evaluation platform.

image

The Nucleo evaluation board line supports connections to the Arduino and ST Morpho connectors, which make it easy to extend the functionality of the platform. Connectors provide connectivity to peripheral devices and shields from the widespread Arduino ecosystem, allowing developers to conveniently and easily add special features and scale their design. ST also offers specialized X-NUCLEO-IDB04A1 , X-NUCLEO-IHM01A1 , X-NUCLEO-IKP01A , X-NUCLEO-NFC01A1, and other expansion cards — proprietary shields that support features such as Bluetooth® LE or Wi- Fi®, GPS, audio recording gain, MEMS microphones, proximity sensors and wireless control.

In the first photos, the evaluation boards had the quartz X2 and X3 needed to redefine the frequency of the data bus, microprocessor and peripheral interfaces; users were disappointed at their absence when buying Nuleo boards.
In an official statement in response to dissatisfied feedback from users about their absence on the final product, the representative of ST said:

Photos were taken from prototypes, and it is assumed that the internal RTC generator will be sufficient for most tasks, if desired, the user can independently install external quartz

(yeah, for example X2 - smd !!?).

On this note, I would like to note that the Nucleo boards, although they represent the entire family of STM32 microcontrollers, but only the younger models, in the case with 64 legs of the MK. This decision is a bit contrary to the desire of the average person to have more and better, but on the other hand, it is worth understanding that the Nucleo product is oriented to be an accessible and simple evaluation platform for developers and designed specifically to support mbed-enabled, which gives a decent advantage to the absence of such stuffing as on Discovery boards, It is assumed that the target audience does not need as many peripherals and hardware of the microcontroller as on the Discovery boards. Somewhere in what they are right about, and in what they are missing the Russian market, they do not control the price of their product from official suppliers, who have overstated the price (it was assumed that the platform would cost $ 11, but in Russia it can only be purchased from 750 rubles + shipping cost, which is twice the recommended price).

The Nucleo lineup is part of the ARM mbed ™ , a popular and dynamic project in Europe, an online toolkit for quickly and easily creating an ARM-based product.

image

Thanks to mbed-enabled support, developers can use the open source Mbed platform, online development tools and infrastructure from mbed.org. It is worth noting the convenience and ease of use of this resource, or rather, I would say it is not just a resource, it’s the developer’s social networks, where users share their libraries, sample code and projects. The resource has everything you need for a quick start and work with an evaluation board, a forum where users share their accumulated experience and help each other solve problems in debugging code, a large selection of libraries for working with almost all the microcontroller peripherals and expansion cards, the FAQ section and the opportunity ask the question to both users and the representative of the manufacturer, to communicate between users and much more.

image

The online compiler https://mbed.org/compiler , an integral part of this resource, which will relieve the headache of many novice developers with setting up the development environment and the compiler, giving the opportunity not to go into all the details of the STM32 architecture.

The director of the IoT platforms division of ARM, Simon Ford, stated:
“The mbed-enabled hardware of the STM32 Nucleo provides ST users with access to the enhanced mbed-software ecosystem, development tools and the community that support the development of a new wave of intelligent electronic products.”


What kind of fee to choose for yourself is difficult to answer since everyone has their own needs, someone plans to develop a certain device or use a certain family of microcontrollers (for example, cheap or low-consuming), but I, having no experience, took the most productive fee available at the time of purchase for training Nucleo-F401RE based on STM32F401RE, many users did the same, who took several versions at once with microcontrollers of different purposes, someone bought all the available models.

To date, the line is represented by 9 models, the older of which the STM32 Nucleo-F411RE differs from the widespread in Europe and the STM Nucleo-F401RE just available in Russia with a large amount of RAM (128 Kb against 96Kb) with a higher processor frequency (100MHz against 84MHz) , a large number of hardware-supported interfaces.

MKCPU FPUFlashRam12bit ADCtimersI2CUSARTsSPIsSdioI2s
F40184MHz512Kb96Kb10ch.ten33four+N / A
F411100MHz512Kb128Kb16ch.ten33five+five


The STM32 Nucleo-F030R8, STM32 Nucleo-F103RB, STM32 Nucleo-F401RE and STM32 Nucleo-L152RE boards are already available for order in Russia, as well as apm-F072RB; L053R8 are available for order from abroad, at a price of $ 10.32 per unit.

PS Ready new post

Source: https://habr.com/ru/post/230651/


All Articles