Low threshold DIY oscilloscope and CH32 oscilloscope are fully compatible with STM32, ADC+DMA+TIM+USB, and only one minimum system board is required

preface You can't play electronics without an oscilloscope, and you can't go whoring with a school oscilloscope after graduation. As the saying goes: no conditions create conditions. If there is no oscilloscope, create an oscilloscope. It sounds tall, but it's not difficult. There are many open source oscilloscopes on the Internet, the m ...

Added by chrille112 on Fri, 07 Jan 2022 03:12:31 +0200

[STM32H7] Chapter 9 RTX5 task runs in privileged or non privileged mode

Forum original address (continuously updated): [anfulai] RTX5 kernel tutorial, which adopts CMSIS-RTOS V2 packaging layer, has been updated and released to Chapter 9 (2021-12-27) - STM32H7 - tough guy embedded Forum - Powered by Discuz! Chapter 9} RTX5 tasks run in privileged or non privileged mode The tutorial in this chapter explains an imp ...

Added by gerrydewar on Thu, 06 Jan 2022 11:42:30 +0200

When you click the mouse, STM32CubeMX reads the data of DS18B20 temperature sensor, and the serial port prints and displays it

summary The title of all the work to be done in this paper basically includes reading the temperature value of the temperature sensor, and then printing it to the serial assistant through the serial port; A lot of bloggers' great God's tutorial I always follow the steps to make the program do not report errors and detect the sensor's condition ...

Added by chris270 on Thu, 06 Jan 2022 03:53:12 +0200

Stm32 hardfault and search method of memory overflow

STM32 memory structure 1. Key points 1.1 two storage types: RAM and Flash Ram is readable and writable. On the memory structure of STM32, RAM address segment distribution [0x2000_0000, 0x2000_0000 + RAM size) Flash is read-only. On the memory structure of STM32, the flash address field [0x0800_0000, 0x2000_0000) 1.2 six types of stored d ...

Added by weezil on Thu, 06 Jan 2022 03:45:13 +0200

5, ♥ ☆ smart Bracelet based on STM32 √★☆

5, ♥ ☆ smart Bracelet based on STM32 √★☆ 💙💙 Introduction With the development of society, people's material living standards are improving day by day, and people are paying more and more attention to their health. As a measuring instrument, the pedometer can calculate the number of walking steps and the energy consumed, ...

Added by crackfox on Tue, 04 Jan 2022 21:47:30 +0200

Using DMA mode, SPI drives the ST7789H2 LCD screen on Aliyun Things

preface 1: Driver reference from https://blog.csdn.net/BearPi/article/details/104311705.: 2: This is one of my records. I don't realize many functions. I just move a piece of video memory opened up in memory to the screen by DMA. 3: I didn't do anything during DMA handling, just gave him a delay to finish. In practical application, the semapho ...

Added by MikeUK on Tue, 04 Jan 2022 06:56:58 +0200

STM32 -- EXTI external interrupt

The notes of the article are from the video of the Automation Association of Jiangke University I Interrupt system Interrupt: during the operation of the main program, a specific interrupt trigger condition occurs, causing the CPU to suspend the currently running program and process the interrupt program. After completion, it returns to the o ...

Added by dizzy1 on Tue, 04 Jan 2022 05:46:22 +0200

STM32 serial communication link list receives variable length data frames

Data frame description STM32 data register is usartx - > Dr register It can be seen that only [8:0] bits of the DR register can be used, and the 8th bit is used for parity, that is, the DR register can only accept 8 bits, i.e. 1 byte of data at a time. An inappropriate analogy For example, a basket (DR register) can only hold 8 (bit) items, ...

Added by bmbc on Tue, 04 Jan 2022 01:50:18 +0200

Spent a few days sorting out the C language knowledge points in STM32. Beginners must watch the old bird review

A junior partner of SCM asked me to recommend C language books. Because the basis of C language is relatively poor, I want to learn C language again and learn SCM again. I had this idea when I first learned SCM before. In fact, C language can be learned while learning MCU. In some routines of learning MCU, if you encounter C language knowledg ...

Added by cubik on Tue, 04 Jan 2022 01:28:13 +0200

C + + Learning Log: detailed explanation of C + + constructor

stay C++ In, there is a special member function with the same name as the class name and no return value. It does not need to be explicitly called by the user (nor can the user), but is automatically executed when the object is created. This special member function is the Constructor. In< Access rights of C + + class members and class encap ...

Added by tartou2 on Mon, 03 Jan 2022 15:41:27 +0200