stm32f407 Application Note-Experience before using

Source: Internet
Author: User

These days using the STM32F4 series of CPU design projects, the performance is very powerful, arm and DSP two core one, known as DSC.

After designing the hardware, we started to design the software with two directions: one is to use the library function and the other is to use the real-time operating system. Other direct registers of the software to avoid the writing, repeating the wheel makes no sense.

Here are some usage experiences: (referencing a development board manufacturer)

As the most popular ARM Cortex M4 processor, STM32F4 is being used by more and more companies because of its powerful function, which can replace DSP and other features. Learning Stm32f4 More and more friends, beginners, may think stm32f4 difficult to learn, before may have only learned 51, or even 51 have not learned, a see stm32f4 so many registers, on the Meng.

In fact, everything begins difficult, as long as mastered the method, learn stm32f4, or very simple, here we summarize learning stm32f4 several points: 1, a practical development board. This is the basis of the experiment, there is a development board in the hand, anything can be seen intuitively. But the development Board is not much, more words even oneself do not know which to learn, think this also can also, that also good, that is this study half a day, that study half a day, the result learns a sibuxiang. It is better to mindedness, to finish one learning another.

2, three references, "stm32f4xx Chinese Reference Manual", "Stm32f3 and F4 series Cortex M4 kernel Programming Manual" and "Cortex M3 and M4 authoritative guide". "Stm32f4xx Chinese Reference Manual" is the official information of ST out, Stm32f4 detailed introduction, including the STM32F4 of various register definitions and functions, is one of the necessary information for learning STM32F4. The "Stm32f3 and F4 series Cortex M4 kernel Programming Manual" is a supplement to the Stm32f4xx Chinese reference Manual, a lot of information about the Cortex M4 kernel (registers, etc.) can be found in this document, the document is also the official information of ST, specifically for ST's Cortex M4 products. Finally, the Cortex M3 and M4 authoritative guide is a detailed introduction to the Cortex M4 kernel, with a simple example, which is a good reference for friends who want to learn more about Cortex M4 kernel.

3, master the method, diligent and understanding. Stm32f4 not ghosts and goblins, do not fear, stm32f4 learning and ordinary single-chip computer, the basic method is:

A) master the Clock tree chart (see "Stm32f4xx Chinese Reference manual" Figure 13). Any single-chip computer, must be clock-driven, clock is the power of SCM, STM32F4 is no exception, through the clock tree, we can know, various peripheral clock how to come? What are the restrictions? In order to clarify the idea, easy to understand.

b) More thinking, more hands-on. The so-called practice makes perfect, first must be ripe, can skillfully. How familiar? This depends on everyone's own hands, a lot of practice, light to see/say, is nothing too much use, many people ask me, stm32f4 so many registers, how to remember AH? The answer is: do not need to remember all. Study STM32F4, not exam-oriented education, do not need to test, do not need you recite. You just need to know these registers, in which place, when used, you can quickly find, you can.

Completely can turn the book, can check the information, can copy, do not need to memorize. Mastering the method of learning is far more important than mastering the content of learning. After familiarity, it should be further thought, that is, the so-called coincidence. We provide dozens of routines for everyone to learn, followed by the routine walk, nothing is familiar with the process of STM32F4, only further thinking, to better grasp the STM32F4, also known as the extrapolate. Routines are dead, people are alive, so, on the basis of the routine, free to play, to achieve more of the other functions, and summarize the law, for the future study/use to lay a solid foundation, so that can be handy. Therefore, the study must be done by oneself, the light watch the video, the light reading document, is not possible. For a simple example, you watch the video, teach you how to cook, and for a few minutes you'll think you've learned it.  In fact you can test it yourself, can you really cook it? Opportunities are always reserved for those who are prepared, and only if they are prepared more often will they seize the opportunity.

As long as the above three points are done, learning STM32F4 basically will not have much problem. If you encounter problems, you can in our Technical forum: open-source Electronic network: www.openedv.com Questions, Forum STM32 Plate already has more than 3W themes, many questions have been mentioned by netizens, so you can search the forum first, many times, you can directly find the answer. Forum is a good place to share the exchange, is a can let everyone learn from each other, improve the platform, so there is time, you can go to see more. In addition, many of ST's official release of all the materials (chip documents, user manuals, application notes, firmware library, errata manuals, etc.), everyone can be downloaded to www.stmcu.org this place. You can also keep an eye on it, ST will put the latest information on this site.


This article is from the "Sun Guodong" blog, make sure to keep this source http://qtlinux.blog.51cto.com/3052744/1835025

stm32f407 Application Note-Experience before using

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.