STM32F4--PWM control LED flickering (breathing lamp)
1, Experimental principle
Analysis: the clock is 84Mhz, the frequency is 84, the ARR is set to 500, the clock obtained by the counter is 84M/84=1 Mhz, and the counting time is 0.5ms In the main function, the modification time I set is 2ms once. As shown in the figure, set PWM1 mode, and the output polarity low level is valid. That is, when t ...
Posted by ttmt on Tue, 08 Mar 2022 13:58:08 +0100
[uCOS] uCOS II system startup and clock
All ideas come from this blog: [chuangkehai] [operating system principle and embedded UCOS-II teaching video collection] [one week series] And µ C/OS-II tutorials
Analysis of startup process of UCOS II system
In embedded system, startup is divided into hardware startup and software startup. For example, there are many ARM cores.
Har ...
Posted by Jean-Yves on Sat, 05 Mar 2022 08:15:00 +0100
Manual compilation of StarRocks-2.0 in ARM environment
1. Background
Since the official version of rockdoc is available in the cloud environment, rockdoc has to be used as the real-time image of the company's own version, but it is not installed in the cloud environment. According to the release of StarRocks official website, ARM environment is supported in version 2.0, so it starts to scratch the ...
Posted by dpsd on Sun, 20 Feb 2022 09:19:05 +0100
STM32 learning from scratch -- detailed explanation of CAN communication code
STM32 learning from scratch @EnzoReventon
Detailed explanation of CAN communication code
Related links:
STM32 learning from scratch - physical layer of CAN communication protocol CAN bus specification v2 0 version Introduction to CAN bus Zhou Ligong - Chinese version of CAN protocol
reference material: [wildfire EmbedFire] practical guide f ...
Posted by kante on Wed, 09 Feb 2022 22:35:14 +0100
Mounting process of ubi root file system under SigmaStar SSD202 openwrt system
For the introduction of UBI, please refer to the official documents
http://www.linux-mtd.infradead.org/doc/ubifs.html
The following is a brief introduction. UBIFS relies on the kernel UBI subsystem and runs on MTD devices. UBI can manage its own partitions in applications
For an introduction to SSD202, please refer to another blog post
At ...
Posted by Nymphetamine on Tue, 08 Feb 2022 19:13:41 +0100
STM32 MDK off chip FLASH download algorithm -- Based on QSPI (W25Q32)
preface
The chip STM32H750 is used in a recent project. Its on-chip flash is only 128KB in size (although it is said on the Internet that it actually has 2MB as H743, this method is not used for insurance). Because the project uses RTOS, LWIP, TLS, etc., and the generation program is relatively large, W25Q32 (4MB in size) is added as off chip ...
Posted by Keith Scott on Fri, 04 Feb 2022 06:09:23 +0100
QT embedded Linux arm porting
1, Environmental preparation
Compilation environment: Ubuntu 20 . 04 (Download address: https://ubuntu.com/download/desktop)
QT Source code( QT5.9.5 Download address: https://download.qt.io/archive/qt/5.9/5.9.5/)
Cross compiler( arm-2014.05)
2, Compilation preparation
1.decompression qt Source code
2.Configure the path of the cross compiler ...
Posted by designxperts on Tue, 01 Feb 2022 20:59:03 +0100
STM32 notes: high precision pulse width meter dual input capture + DMA mode
This paper introduces how to use STM32F107VC(Waveshare Open107V experimental board) to realize high-precision pulse width meter (duty cycle).
Development environment:
IDE: STM32CubeIDE 1.8
Firmware library: stm32cube_ FW_ F1_ V1. eight point four
Function generation: RIGOL DG5072 function signal generator generates 0-3.3V square wave, 10KHz ...
Posted by sellfisch on Tue, 01 Feb 2022 14:12:47 +0100
dbus -- message and message bus
Message and message bus
Application a is connected to the message bus, which obtains a well-known common name (recorded as connection a). In application a, object A1 provides interface I1, and interface I1 has method M1. When application B is connected to the message bus, it is required to call method M1 of interface I1 of object A1 on connect ...
Posted by gothica on Mon, 31 Jan 2022 23:59:42 +0100
STM32_ Basic introduction_ NVIC interrupt priority management
Continue to pay attention to Ajie's online update of nanny notes ~ ~ adhere to the daily shift
Reference: STM32 Chinese reference manual V10 - Chapter 9 interrupts and events
catalogue
1, NVIC interrupt priority grouping
Interrupt priority packet register
Describe the difference between preemption priority and response priority:
Interru ...
Posted by gregor63 on Sun, 30 Jan 2022 16:32:55 +0100