From: STM32 external interrupt experiment - EXTI Author: three speed sub20 Released on: October 19, 2020 13:51:42 website: https://blog.csdn.net/weixin_44234294/article/details/109154934
Introduction to STM32 external interrupt
Each IO of STM32 can be used as an external interrupt Interrupt input port, which is also the strengt ...
Posted by lajocar on Wed, 09 Mar 2022 11:26:05 +0100
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 ...
Catalogue of series articles
Preparing for the Blue Bridge Cup (3) -- actual combat of the embedded provincial competition of the 8th Blue Bridge Cup Preparing for the Blue Bridge Cup (2) -- actual combat of the embedded provincial competition of the seventh Blue Bridge Cup Preparing for the Blue Bridge Cup (1) -- actual combat of the embedded ...
Posted by brmcdani on Tue, 08 Mar 2022 13:11:16 +0100
1.STM32 introduction notes (02): Keil5 installation - SPL standard peripheral driver library environment construction and new project template tutorial (SPL library function version) 2.STM32 introduction notes (02): GPIO working principle - GPIO general and AFIO multiplexing function I/O (SPL library function version) ...
Posted by orbitalnets on Tue, 08 Mar 2022 10:29:46 +0100
The main purpose of this paper is to establish the communication connection between STM32 and Dynamixel steering gear, develop the control framework of upper computer lower computer steering gear, issue instructions in the upper computer, the lower computer executes the outer loop of steering gear force control, and the stee ...
Posted by PhilGDUK on Sat, 05 Mar 2022 02:06:01 +0100
This program design is based on embedded development board CT117E,stm32f103RBT6. If you don't understand the code of which module, you can click my blog to see the writing ideas of each module.
1, Test questions
2, Modules needed
The code is as follows: LED c:
The project needs to add a card reader device without transplanting USB routines. An external chip (CH9350) is directly used, which is very stable without driving;I only use one of the functions of this chip: the conversion of HID data from USB to serial port data, the lower computer mode used, and many other functions. See the manual for detai ...
Posted by bagnallc on Fri, 04 Mar 2022 11:45:39 +0100
CMake is a more advanced compilation and configuration tool than make. It can generate corresponding Makefile or vcproj projects according to different platforms and compilers. By writing cmakelists Txt, you can control the generated Makefile to control the compilation process.
We often use the Makefile automatically generated by CMa ...
Posted by Boozi on Fri, 04 Mar 2022 10:08:17 +0100
STM32 analog IIC + color recognition TCS34725
1, Hardware parameters
1. Parameters and interfaces
VCC3.3/5V power supply positiveGNDPower groundSDAI2C data inputSCLI2C clock input
2, Communication protocol
1.IIC sequence diagram
It is known from the I2C sequence diagram that I2C communication, I2C communication, a data line and a clock li ...
Posted by pinxxx on Thu, 03 Mar 2022 19:17:20 +0100