Girls in the end it is appropriate to programmers? !

The world's first female programmer
as a rookie class people the STM32, STM32 I first came into contact with, in fact, and then began studying psychology microcontroller 51 is the same. A loss, does not she? However, the normal way to learn nothing more than reading a book, then hit the code, finally burning program, there are problems to check, and then continue to burn, I doubt I'm going to become attempting workers. Because in my mind, and only these jobs was "burning" inextricably linked. Even when attempting a dedicated *** The work is my life's dream. OK, not McCain. I hope that by writing the log to me as a rookie in question STM32 learning in the record, while I as a warning, avoid those broken things not necessary.

  1. STM32 learning to do basic
    principle, it should be needed, however, we can find a lot of people is without foundation. For example, our lab turned out to be a senior management professional, but now quite **, soft and hard all directions. If you and a lot of people committed to making some achievements in the technical field, as you have to keep in mind: You can no longer say give yourself a wayward chunk of time to learn the system, unrealistic. More often, the case is: What you need to find the corresponding "part of the knowledge" when knocking code, and then thoroughly understand and solve current problems. That's it.
  2. STM32 need to learn what basic
    theory, require digital circuits, analog circuits, C language programming foundation, the microcontroller can be a little better, so will be able to adapt to the idea of the STM32 development program. But of little help, and this is the reason I want to write "On the clock problem". And my situation is all learned, but you see, just learned it. Digital and analog circuits on this course, I also can not remember anything. Fortunately, our laboratory, the technical aspects of the book has never lacked.
  3. STM32 learning you have a requirement for sex
    in general, women would ask this question. I have asked, so you'll know why I can become "Friends of Women" was. Joke joke friends. In fact, no girls have inherent advantages in this respect, attentive, a little transformation, which is synonymous with serious attitude. Moreover, the world's first programmer women. Come on, do not female students was Joseph! ! !

  4. Get to the
    novice the STM32, usually for a very tangled issue. I am also, so-called "clock issue." When we dedicated STM32 programming, will painfully discover this fact: whether you should be doing, you first need to do a thing it is to enable clock. And every time the clock may still different. You will ask: Why To enable clock? Why can every time the clock is not the same? Why did not these 51 single ghost?
    When learning the microcontroller 51, is substantially less than the contact I / O direction and the concept of a peripheral clock, I / O read want to enter directly, to the output directly assigned serial port, the AD conversion, and the like are also external interrupt like use to use, the clock need not be configured separately. In this beginner indeed a lot of convenience, there is no need to set mess can make chips run up, but the attendant is called the power consumption. But as a beginner, who is also his mother pipe ah this? Let the program up and running already let too excited to sleep a few nights. He said this is not appropriate, but in fact, many chip manufacturers do not consider this issue.
    But as more integrated electronic products, power consumption and heat more and more serious, very helpless chip makers are beginning to think of ways to avoid this problem, and the most direct way of thinking of course, is how many features with just how much function is enabled, each peripheral clock switch are set, so that the user can be accurately controlled, the equipment does not require closed, power saving purposes. If that is not completely closed, reduce chip power consumption as much as possible, so there have been so many clocks and IO configurations. To put it plainly, the clock's function is like a small switch, what should you register on the first turn on the corresponding switch, namely: the clock can cope.
    In fact, there is also relates to a clock-gating technology, which in turn involves the synchronization circuit, we all know (you all know by default) in the synchronization circuit always has a clock control. I will not go into details here, if you are like me, a OCD patients, please go back to looking through a book called "Digital Electronic Technology" book, you will be able to find the answer, believe me.
    Here you can almost understand why STM32 program needs to continue to enable clock, because by default these are disable the clock. You have to use it, of course, need to enable the. If we do not understand, I want to scold: the register is a D flip-flop, and only sent the clock, the trigger can be rewritten value, so register to work. But, in a 51 MCU clock system package everything, in the STM32, we make it clear division of labor, so that everyone carry out their duties, in fact, there is a benefit, not each peripheral needs the system clock frequency so high, is like: which company will make the underlying code to do the job as CEO.
    This is my opinion a little talk from the perspective of a novice, not very professional, but the share of tangled at least make just beginning to learn dropped a lot.

Guess you like

Origin blog.51cto.com/14355585/2406414