basically the same). There are a lot of chips are similar, the unbelief of friends can try.Well, the return to today's topic, about the STM32F4 series Chip development, more details, please look down.based on the principle of free sharing, easy to learn knowledge of mobile phones, regularly share technical knowledge on the platform. If you feel that the content you share is useful to you, and if you want to learn more about it, please use the search "embedddeveloper" or scan the QR code below
, their SPWM waveform parameter table is actually the same, but also the difference of 120 degrees.The SPWM waveform parameter table is actually the corresponding pulse width in each triangle wave period. Three-phase motor/brushless motor Control ExampleSingle-chip microcomputer CCU6 output u+/u-; V+/v-and w+/w-are driven to connect to the IGBT.Real-time change of cycle and pulse width, can achieve the purpose of frequency conversion, and adjust the output power, thereby controlling the motor s
When we write the program, some of the device timing is not allowed to interrupt interrupt, this time we need to execute a certain program, the first all the interrupts are closed, after the execution, and then open.Because the version of the library function of stm32f407 is different, so the function of shutting down the total interrupt is not the same, which brings some problems to our developers, so what should we do at this time?In fact, in the Keil
Reprinted please indicate the source: http://blog.csdn.net/icyfox_bupt
Documentation:Http://url.cn/30W8lo
Hello everyone, I am a fox. I learned SCM together in the school lab. Now I will share some of my learning experience with you. As I learn more, I will continue to improve. Hope myArticleIt will help you.
The lab usesCOrtex m3 lm3s811 model.
I wanted to upload the driver library, schematic diagram, and internal principles to Baidu Library. The result was not allowed to be uploaded
// ================================================ ========================================// Title:// Solve the problem that mdk4.02 has no J-LINK// Author:// Norains// Date:// Wednesday 09-December-2009// Environment:// Keil MDK 4.0.2// ================================================ ========================================
After installing mdk4.0.2, you want to use the J-LINK to debug the cortex core, you will find that the option does not have
1. Development Tools KeilThe development of St Chip tool has many, the official also provides (STVP), the author here does not comment which tool is good, which one tool is bad, only wants to say, each has each good, you use which one sees your own choice. The author habitually uses Keil (mdk-arm), therefore, the recommendation is also Keil.About Keil (Mdk-arm) contains support package download and installa
project files of Keil and a CFG folder, which contains some configuration code. This score is based on your preferences.
Refreshing a lot .. Haha .. Si is used to store the source insight project file.2. Configure the system clock.When we get a new single-chip microcomputer, I/O port control is often the first requirement, that is, the flow lamp. But there is another key thing that needs to be clearly identified at the very beginning is the various
It is found that the compiler provided by Keil sometimes has optimization problems and runs completely different from those not optimized. Previously I used GCC and now I naturally want to use GCC again.
Match 1: Keil + GCC + ulink2
This type of introduction is also much, mainly a link script, startCodeIf you have any questions about how to configure ide options, You can Google them.
Combination 2: emide
solves the problem of serial port garbled characters.However, there is a very strange problem. We can see that the system clock is 48 MHz during Keil debugging, and the conversion through registers is also a bit confusing!Hua Ge reminded that the RCC debugging interface of Keil is prepared for stm32, and the special frequency of gd32 may be inaccurate.In fact, the key lies in the 29 BITs. Due to its existe
other hardware resources in the simulator are basically completely compatible with the 51 series single-chip microcomputer. The simulation master program is stored in the specified space of the simulator chip, and a special address segment is used to store the simulation master program, the simulation master program controls the correct operation of the simulator just like the operating system of a computer.The simulator and the computer's host computer software (that is,
Volatile is intended to have two types of statements: 1. "transient" and 2. "changeable ".
Both of them are feasible. But what does volatile mean? An example is given (taking Keil-C and A51 as examples ).
The example is from Keil fqa). After reading the example, you should understand the meaning of volatile. If you still don't understand it, you have
Read it again.
Example 1.
Void main (void){Volatile int
Intermittent learning a lot of things, there are 51, AVR, ARM, PLC, C\c++, C #, TB, MC, Mql4, Linux .... And so on, near spoon or swallowed, even hungry wolf-like flutter into the inside, slowly accumulation and understanding, a lot of knowledge points have perceptual understanding, more or less understand some, perhaps for memory, will these knowledge point collation collection, is to do a phase of the nature of the summaryAlso very welcome the experts of various industries or the great God can
source, Therefore, MDK provides different rl-tcpnet library files for different hardware running platforms. The approximate steps are as follows:I. Join the Rl-tcpnet library to the projectThe Rl-tcpnet Library "Tcp_cm3.lib" for CORTEX-M3 can be found under the MDK installation directory "Keil\arm\rv31\lib\". Add to your project on it, no special case http://www.chinamaofa.com/use internal RAM for TCP/IP libraries to improve efficiency.Two. Drive for
platform. such as Keil Software, compiled on the Keil, but run on a microcontroller, typical cross-compilation. Before compiling the embedded operating system kernel and applications, you must install the cross-compilation tool first.Click to download[Edit] Open terminal to Ubuntu OS, select Applications (APP), Accessories (attachment), Terminal (terminal). The shell terminal interface looks like this.File
Contact SCM has a few years of time, has been focused on how to write some applications on a single chip microcomputer, how to start the knowledge of little, ashamed ashamed ... Today, I have to tidy up a bit, deepen the understanding of the SCM, such as why the definition of the data area of the variable restart the initial value of 0.
When the MCU is powered on, it will execute startup. The instructions for the A51 file, I analyzed the instructions in this file in a project where I did the fol
Many software, such as EditPlus, after generating some type of file, it will automatically generate its backup files, if you do not want to back up the file, you can open the menu bar tool-> parameters to select the-> file, the "Save automatically create backup file" before the check off on the line, Other software such as CAD, Keil and other software can also cancel the default backup file through the relevant settings
the meaning of bak file
Many
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.