Mainstream 32-bit MCU Raiders serial: Why learn STM32?

Why study STM32?

Let's first list a few of the questions that you ask the most, and then we will go through some discussion with the questions.

First question 1: Is it good for a single-chip computer or a direct learning STM32?

A: 1) First of all, let's talk about the purpose. The ultimate goal of your study is to be able to develop products or become project managers. Currently, the MCUs on the market are basically in C language. There are very few projects developed with assembly ( recommended here) An STM32 development board: the eBox-SPARK development board, which makes the programming development of STM32 as simple as Arduino programming: http://z.elecfans.com/30.html )

2) The hardware interface is the same in this link: learning 51 MCU and learning STM32 are the same, mainly depends on whether the data on the market is sufficient, it is to call the hardware interface, control I / O, complete the corresponding function

Mainstream 32-bit MCU Raiders serial: Why learn STM32?

3) In this part of the software, STM32 is stronger than 51 MCU: Why do you say this? Learning STM32 comes with an official library, and the source code of this library is open; but 51 single-chip does not, that is, when you do a specific project, the speed of developing projects with STM32 will be faster than using 51 microcontrollers. It's quick, easy, and has fewer bugs.

4) This library of ST is specially built by the ST official team. It has been carefully tested in detail. For example, you need to support the USB flash drive function of the processor. For 51, you may need to find it online. A driver, and then ported to 51 MCU, the disadvantage is that the port itself is more tired, more troublesome, and some code may not be verified, it is difficult to ensure that there is no BUG; and STM32 is the official recommended source code These features have long been available, so using the STM32 development project is very easy, enjoyable, assured, and less buggy.

5) Considering the selection: The price/performance ratio of STM32 is better than that of single-chip microcomputer. Although the single-chip microcomputer is very cheap, it is about 5 yuan on the market, and the cheapest of STM32 is more than 10 yuan, but if it is more cost-effective, STM32 is still very To be stronger than 51 single-chip, why? Because STM32 is the main frequency of 72MHZ, and 51 MCU is more than 10M. With the increase of future product functions, the requirements are getting higher and higher. It is possible that the speed and performance of 51 MCUs can not meet the demand, and STM32 is strong enough. You can delay this problem, make your product cycle life longer, and you can have other new requirements to be flexible, because STM32 is fully capable.

Question 2: How can STM32 get started quickly?

A: First of all, it is best to have a basic electronic foundation. If you only have a pure software foundation, you should lay a solid foundation for C language, then get a development board and learn to supplement hardware and electronics.

Because the software background goes to the theoretical hardware, it is very boring, and the effect is not necessarily ideal; then you need a comparative board at this time, the board is big and small, the function is more or less, it is not so important, here The most important thing is to be rich in information and rich in information. It is the best. I got a board from the STM32 Shenzhou series from my colleagues. It took about a week or two to get started. Here are some of the features I extracted about that board. You can check out:

Feature 1: Each development board of the STM32 Shenzhou series has a very detailed hundreds of pages of instruction manuals. There are many enthusiasts who report that there is no manual or manual in the development board. The manual is not detailed. It is useless after getting the hand. If you can't start it, then you can consider the development board of STM32 Shenzhou series. The manual of Shenzhou IV is near. More than 700 pages, whether from the principle or the code are very worth reading.

How can STM32 get started quickly?

Feature 2: The routine code that comes with the development board is very good, easy to understand and easy to port. Many development board code is difficult to read, not standardized, and some even use register-implemented code, very readable, and not easy to reuse in new real projects, and STM32 Shenzhou series of development boards, all Using ST's dedicated library implementation, the library code is all open source, the library is to encapsulate the underlying register part of the code into a function, incorporating the architectural concept of the software design, want to track the hardware implementation of the underlying driver, follow the corresponding function See all the original code, so you can choose to see the register version to see the register version. If you want to see the function library version, there is a function library version, no matter the actual project, for learning, the best of both worlds! ! !

Feature 3: Because the series of Shenzhou series is full, technical support and technology further expand the space. Many separate development board technical support is not good at all, and even if the technical support is good, but you want to go deeper and learn, it is very difficult; to form a complete series of STM32 Shenzhou series is worth considering and choosing, because The series includes 103RBT, VCT, VET, ZET, and 107VCT, 207, 4XX series and other series of development boards, no matter how difficult you are to learn, then dragging the knowledge, or how good, absolutely not afraid of less information! No information! ! ! Moreover, each series can also learn from each other and depend on each other. There are many masters of each design, and everyone communicates with each other to generate more updated collisions and materials.

Feature 4: Rich hardware information. The hardware resources and related materials are much more than similar development boards, because the series is a board designed and maintained by the organization, not a separate personal hobby. This organization is at the forefront and constantly collects knowledge in the industry. Validation and implementation on the Shenzhou series, so the data will be more and more.

Feature 5: The network interface of the board is especially strengthened. Many STM32 development boards do not take into account the network port and wireless 2.4G (WIFI) and 315M communication routines. With the increasing popularity of embedded devices in the network, Ethernet and wireless networks are essential for embedded devices. One link, even if some embedded devices do not need a network port, but as a design for providing a development board, it is necessary to consider the routines, code, and explanations of the network port to make an advance preparation for each development enthusiast. Design, and these interfaces Shenzhou series have code that has been run directly and detailed explanation, we get relevant information, mutual reference.

Electric Fence

Electric Fence,Wireless Electric Fence,Best Electric Dog Fence,Wireless Fence For Small Dogs

Elite-tek Electronics Ltd , https://www.aetertek.ca

This entry was posted in on