STM32F103 minimum system intelligent control (register Implementation)
1, Hardware preparation
1. Preparation before learning: the whole project is developed in C language, so it needs to have a good foundation of C language. Here I will briefly explain that in C language, the three points of general linked list, function pointer and file class ...
Posted by ir4z0r on Mon, 23 May 2022 16:13:15 +0300
1, Implementation principle
The code generated automatically by MX is extracted from the following part
/*stm32f1xx_it.c*/
//sysTick interrupt function
void SysTick_Handler(void)
{
/* USER CODE BEGIN SysTick_IRQn 0 */
/* USER CODE END SysTick_IRQn 0 */
HAL_IncTick();
/* USER CODE BEGIN SysTick_IRQn 1 */
/* USER CODE END SysTick_I ...
Posted by krispykreme on Thu, 19 May 2022 18:40:39 +0300
1, Foreword
Although H743 has provided a lot of internal RAM, my friends who read this article must understand that even the most generous internal RAM is useful, so we need to expand ram. At this time, there are two options, SDRAM or SRAM, which can be used. I will use two bloggers to bring their configuration processes respectively!
The ...
Posted by sub7av on Wed, 18 May 2022 01:28:58 +0300
situation analysis
A junior old fried dough stick. When I was a freshman, I applied to stay in school in time for the 19-year national competition. After the self-study (rowing) started in January, I visited with my teammates about the preparation of other teams and went home happily. (I didn't buy any materials). Due to the epidemic, the pro ...
Posted by beeman000 on Sun, 15 May 2022 10:41:59 +0300
foreword
Related instructions:
Development board: CT117E-M4(STM32G431RBT6) Development environment: CubeMX+Keil5 Involved topics: the second real question of the 13th Blue Bridge Cup Embedded Provincial Competition Winners of the first round:
CubeMX configuration, main function code and description:
1. CubeMX configuration (the s ...
Posted by jibosh on Sun, 15 May 2022 06:21:47 +0300
I2C bus
1 Introduction
1.1 Introduction to I2C bus
The I2C (Inter-Integrated Circuit) bus is a two-wire serial bus developed by PHILIPS, which is used to connect microcontrollers and their peripheral devices. It is a serial bus composed of data line SDA and clock line SCL, which can send and receive data. Two-way transmission is performed be ...
Posted by lanbor on Sat, 14 May 2022 12:49:37 +0300
STM32RCT6+RC522+OLED, swipe the card to display the card number
Only so much has been done for the time being, and it will continue to be updated later
This article mainly provides ideas, detailed code can leave a message email, I will send it one by one.
preparation
Prepare the picture on the left c Documents
Tip: the followin ...
Posted by Nicolas T on Fri, 13 May 2022 22:13:49 +0300
Yesterday, I completed the binding of C functions and Python, which can realize the function of calling C through Python. For specific articles, please refer to:
https://blog.csdn.net/suolong123/article/details/108982925
The next task is to implement calling Python functions in C language.
My idea is that by registering a Python function ...
Posted by jdsflash on Thu, 12 May 2022 20:48:03 +0300
brief introduction
Recently, a small project used the Fuchs remote control (SBUS protocol used) to realize the simple control of the car (mobile, lighting, different working modes, etc.) through each channel of the remote control. I'd like to share a little experience with you. There are many materials on SBUS online. This article is more ...
Posted by mega77 on Mon, 09 May 2022 07:51:53 +0300
There are four dac chips, two ad5762 and two ad5764 on an analog board. Finally, the hardware spi of mcu is used for daisy chain communication. It can be seen that after the spi sdo of mcu enters the sdin of u29 ad5762, the sdo of u29 ad5762 enters the sdi of u57 ad5762, and so on. Finally, from the sdo of u69 ad5764 into the sdin of mcu, a ...
Posted by markl999 on Thu, 05 May 2022 10:08:13 +0300