STM32 register water lamp
catalogue
1, GPIO port initialization
(1) Register
(2) Enable clock
2, Code
(1) main.c
(2) Wiring:
3, Burning program
4, Experimental results
1, GPIO port initialization
(1) Register
STM32 assigns different addresses to different registers. Find the address in stm32 Chinese reference manual.
Find the starting ad ...
Added by fredanthony on Fri, 22 Oct 2021 08:44:37 +0300
STM32F103 register mode turns on the LED water flow lamp
STM32F103 register mode turns on the LED water flow lamp
1, GPIO port initialization
You need to check the stm32 user manual here Download link https://pan.baidu.com/s/1Q0jdfFsd39dN2aUyjaMXUw Extraction code zxwn
1. Clock configuration
GPIOA, B and C ports are used in this experiment. All three ports belong to APB2 bus 1. Find the clock ...
Added by phpdev12 on Thu, 21 Oct 2021 19:17:10 +0300
Principle analysis and pin reuse of NXP i.MX6 GPIO
Project scenario:
Reuse the GPIO pin on the overlooking electronic TW-IMX6DL-EVM development board and share its principle.
Compilation environment and development package: host: Ubuntu 18.04 Cross compiler: arm linux gnueabihf GCC Development board: TW-IMX6DL-EVM Linux: Linux-4.1.15
Note: all commands in this article refer to the path of ...
Added by chriztofur on Tue, 12 Oct 2021 08:38:43 +0300
Arduino SimpleFOC Library - Introduction - 002
Motor driver settings
The library supports the processing of BLDC driver BLDCDriver3PWM and BLDCDriver6PWM classes, as well as the processing of stepping driver StepperDriver4PWM classes.
BLDCDriver3PWM Class object:
Number of pins of phase A, B and Cenable pin number (optional)
#include <Arduino.h>
#include <SimpleFOC ...
Added by harrisonad on Sat, 02 Oct 2021 20:43:13 +0300
Raspberry pie GPIO operation based on python: input and output, interrupt, serial port, PWM, basic operation
First, learn about the GPIO distribution of raspberry pie. You can get the GPIO distribution by entering gpio readall.
The error of Oops - unable to determine board type... model: 17 may be due to the version of wiringPi,
Enter the following command to upgrade the wiringPi v ...
Added by xxxxxx on Sat, 18 Sep 2021 17:41:15 +0300
LED for driving frame
1, What is a drive frame
1. Who wrote the driver (1) Drive development engineer (2) Kernel maintainer
2. Driver programming collaboration requirements (1) The interface should be standardized. Don't make a mess. There are several sets of interfaces (2) Minimize the difficulty of driving developers
3. What is the driver framework (1) The ...
Added by Spitfire on Wed, 15 Sep 2021 01:29:51 +0300