stm32 programming

Discover stm32 programming, include the articles, news, trends, analysis and practical advice about stm32 programming on alibabacloud.com

Stm32 Usart Serial Port

This paper takes USART1 as an example to describe the programming process of serial port interruption. 1, first to tell about the application of the string in the mouth of some of the library files involved. First of all, for STM32 Peripheral library file application programming, MISC.C and STM32F10X_RCC.C are sure to be added to. And then there's the peripherals

Rongchu STM32 Single-chip microcomputer with J-link download unrecognized solution

The problem is as follows:Follow the normal steps to use KEIL5 to Rongchu stm32 download program, swd download method prompts no cortex-m SW device Found,jtag way hint no cortex-m device found in Jtag chainReason:The Jtag interface arrangement of Rongchu STM32 MCU is not standard JTAG cabling methodWorkaround:Wiring yourself in JTAG or SWD's wiring mode10 feet of the Itag interface, 3, 4 feet (Trst correspo

STM32 Architecture Related

Sort out the underlying structure associated with STM32 to help digest understandingFirst several pictures (the main reference stm3210x series)1. Chip structure Composition diagram:2.STM32 Internal structure:3.CORTEX-M3 Module Structure diagram:4.STM3210X Internal structure:Bridge:four active units:M3 Core Icode Bus (i-bus), Dcode Bus (d-bus), System bus (S-bus), DMA (DMA1, DMA2, Ethernet DMA)Four passive u

Independent watchdog of stm32

In stm32 The module comes with two guard dogs: Independent guard dog (iwdg) and window guard dog (wwdg) The independent watchdog of stm32 is driven by a dedicated 40 kHz low-speed clock. Even if the main clock fails, it stillValid. Note that the independent watchdog clock is an internal RC clock, so it is not accurate to 40 kHz,In the range of 30 ~ A variable clock between 60 kHz is calculated at a frequen

After the stm32 USB program changes bulk EP to a dual-buffer mechanism, the outbound data reception speed starts from kb/s,

When I tested my own USB driver the day before yesterday, I found that the out transmission rate from the host to the stm32 (from the host to the device) was only kb/s, and it was truly dizzy. After research, we found that it is the relationship between the pipe maxtransfersize parameter set in the driver. Originally, we set 64 to only 65535 kb/s, and set it to according to the driver values of other USB devices, test the USB out speed, reaching kb/s,

STM32 Study Notes sorting (2) External interruptions

I have been learning STM32 for almost a year. Now I am working on the STM32 platform. I will summarize the basic knowledge of STM32 when the workload is relatively small a year ago, in the case of no accident, you will be able to continuously release complete notes. During the course, you will primarily follow the wild fire tutorial, and then sort out the appropr

Stm32 Nvic Interrupt Management implementation [direct Operation Register]

This article transferred from: http://www.ichanging.org/stm32_NVIC.htmlThe CORTEX-M3 supports 256 midrange, which contains 16 core interrupts and 240 external interrupts. The STM32 has only 84 interrupts, including 16 core interrupts and 68 unshielded interrupts.There are only 60 interrupts on the stm32f103 and 68 interrupts on the f107. Interrupts are a very basic feature of stm32, learning to use interrup

Ucos Real-time Operating system learning notes-porting of operating systems in STM32

Using the Ucos real-time operating system is at school when the Mentor research project. At that time, the Internet to find the operating system porting tutorial and application tutorial according to gourd painting scoop, the function of implementation is just, not very deep to study this thing. Later work, idle to bored on the study of this only thousands of lines of code of the operating system, and not all the code to see, just read some of the content. Oneself still presumptuous try to write

What is the difference between the standard channel and the injection channel of stm32 ADC?

From: http://bbs.ednchina.com/BLOG_ARTICLE_225912.HTM Each ADC module of stm32 can switch to different input channels and perform conversion through an internal analog multi-channel switch. Stm32 is particularly added to multiple group conversion modes. After the program is configured, It can automatically sample and convert multiple analog channels one by one. There are two ways to divide the conversion

STM32 Flash Memory Distribution Introduction

Summary:This article takes Stm32f103rbt6 as an example to introduce some problems of on-chip Flash (Embedded Flash), including flash size (memory map), block size, page size, register. This knowledge is helpful for writing flash drivers.First, how to see the size of flash1.1 By modelModel will be printed on the MCU surface, can be obtained by observation, my is STM32F103RBT6 (the following analysis based on this model), the control of the STM32 produc

Build a new project directly in KEIL4 using Stm32 library version 3.5 _stm32

Recently learning Stm32, just by querying a lot of information, as well as countless times to make mistakes and solve, finally know how to build a new project and configuration; 1, first create a new folder to pick a name, for example, each began to learn stm32 the first light, we will be led for the folder name bar, and then double-click the LED folder, in the new four folders, named Lib, Cmsis, user, and

stm32--Program Encryption

Original address:: https://blog.csdn.net/zhangxufei/article/details/52353527 Related articles 1, about STm32 encryption "turn"----https://blog.csdn.net/sinat_36568888/article/details/52984056 2, STM32 chip burning write and encryption decryption----https://wenku.baidu.com/view/5de150dc3186bceb19e8bb2a.html 3, STM32 's unique ID can be modified! The decryption fo

LWIP Study notes--stm32 enc28j60 transplant and Getting started

0. PrefaceLast year (2013) The LWIP related code was collated and "Bare Ben" succeeded on STM32. There has been no time to go into the finishing, here to borrow blog to summarize. lwIP's transplant process is a lot of detail, and it's impossible to explain one by one in detail to the individual parts only donuts."The main points of this article""1" lwIP porting without operating system, LWIP version number 1.4.1.The "2" MCU is Stm32f103ve and the NIC

After the stm32 USB program changes bulk EP to a dual-buffer mechanism, the outbound data reception speed starts from kb/s.

After the stm32 USB program changes bulk EP to a dual-buffer mechanism, the speed of receiving out data is increased from kb/s.When I tested my own USB driver the day before yesterday, I found that the out transmission rate from the host to the stm32 (from the host to the device) was only kb/s, and it was truly dizzy. After research, we found that it is the relationship between the pipe maxtransfersize para

About STM32 's I2S communication Philips Protocol and MSB Protocol

Recently, a project to use the codec chip to do voice acquisition and output, the driver is used stm32f405 I2S interface. Prior to not in-depth knowledge of i2s, but probably know that it is a bus for the transmission of audio data. Originally thought there is no difficult, actually use down actually also did not feel has anything special. But still in the process of use to put yourself in a hole.Codec chip model is MAX9867, the main applications are mobile phones and hearing aids and the like.

STM32 Three: Download the standard Peripherals Library

For STM32 programming, the first is to operate the register directly, as described in the previous section, and the other option is to use the standard peripherals Library, which is provided by the official provider. In fact, there is nothing to say, supposedly since it is the official peripheral library, should be directly on the official website can be downloaded, it may be the original, but I have to pr

Porting the STM32 firmware library in IAR (ewarm)

I. Description of the transplant environment(1), WIN10 system(2), IAR (ewarm) 7.7(3), STM32 standard firmware library 3.5.0 http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/ Stm32-embedded-software/stm32-standard-peripheral-libraries/stsw-stm32054.htmlSecond, the transplant procedure(1), first establish a C language of the mai

Basic Script interpreter ported to STM32

this article from http://blog.csdn.net/hellogv/ . References must be indicated by source! The last time I talked about Lua porting to STM32. This time, the basic script interpreter is ported to STM32.Running basic scripts on STM32, the same can be combined with wearable devices. It is also possible to learn the MCU's entry tool as a beginner, but the premise is t

Stm32--adc

Stm32--adcTenet: The learning of technology is limited and the spirit of sharing is limitless.First, ADC IndicatorsThere are 18 channels to measure 16 external and 2 internal signal sources. The A/D conversion of each channel can be performed in a single, continuous, scan or discontinuous mode; the results of the ADC can be left-aligned or right-aligned in a 16-bit data register, and the analog watchdog feature allows the application to detect whether

STM32 Interrupt Control process

For STM32 Speaking (or the Timer2 case .), the external interrupt channel position 28 (number 35th priority) is TIME2 to the external device, but the TIME2 itself can cause an interruption of the interrupt source or event, such as Update event (overflow/underflow), input capture, output match, DMA request, etc. All TIME2 interrupt events are the interrupt request to the STM32 kernel through a TIME2 interru

Total Pages: 15 1 .... 4 5 6 7 8 .... 15 Go to: Go

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.